platform/core/context/context-provider.git
8 years agoCustom types are modified 46/84746/1
Somin Kim [Mon, 22 Aug 2016 07:25:55 +0000 (16:25 +0900)]
Custom types are modified

Change-Id: I9c895c1a879e057bc8cda5fbda0d0ecff26b38a9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoEnable MyPlace detector 81/83581/2
Mu-Woong Lee [Fri, 12 Aug 2016 00:47:06 +0000 (09:47 +0900)]
Enable MyPlace detector

Change-Id: Ibafac614bbce3f86a4152283d929d5e04318ff90
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] User consent starts/stops UserPlaces engine. 95/82995/3
Marcin Masternak [Tue, 9 Aug 2016 11:31:50 +0000 (13:31 +0200)]
[my-place] User consent starts/stops UserPlaces engine.

Change-Id: I54e8525e127efa5713e415beebb99d8775805a8c
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] VisitDetector memory fix. 94/82994/1
Marcin Masternak [Mon, 8 Aug 2016 12:50:08 +0000 (14:50 +0200)]
[my-place] VisitDetector memory fix.

Change-Id: I11bc198e8223eda2a91548cba4b98dc78832eda5
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] User consent transfer from client (location-setting) to internal db and... 95/82795/1
Marcin Masternak [Fri, 5 Aug 2016 16:41:04 +0000 (18:41 +0200)]
[my-place] User consent transfer from client (location-setting) to internal db and back.

Change-Id: Ic5fd8833347c3c2c67ca4970b61fcdb9760c80e8
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] PlaceRecognitionProvider::isSupported() implementation. 24/82624/1
Marcin Masternak [Thu, 4 Aug 2016 10:09:18 +0000 (12:09 +0200)]
[my-place] PlaceRecognitionProvider::isSupported() implementation.

Change-Id: I53e7246cc8b9b54c1ca070e29ec7fbd47a916e1d
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] UserPlaces facade refactoring to static methods. 23/82623/1
Marcin Masternak [Thu, 4 Aug 2016 09:06:20 +0000 (11:06 +0200)]
[my-place] UserPlaces facade refactoring to static methods.

Change-Id: Ie0e3edd970cf4e9cb2d6de424a8c776d811ac103
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] DatabaseManager usage refactoring. 22/82622/1
Marcin Masternak [Thu, 4 Aug 2016 09:03:50 +0000 (11:03 +0200)]
[my-place] DatabaseManager usage refactoring.

Change-Id: If5a72b53d053882277866989502d5c96d24924f5
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agosensor: add queryRaw function for pedometer 29/79929/1
kibak.yoon [Wed, 13 Jul 2016 12:09:43 +0000 (21:09 +0900)]
sensor: add queryRaw function for pedometer

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Ie63d52845004d08a3bc57be448368cd65b60a991

8 years agoApplying C++ coding style to app inactive detector 82/66682/2
Somin Kim [Wed, 20 Apr 2016 05:31:41 +0000 (14:31 +0900)]
Applying C++ coding style to app inactive detector

Change-Id: Ibe7fd394872d14c113f332843b589834e374d140
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agosensor: ignore anchor & interval of queries if the provider does not support them 11/78711/1
Mu-Woong Lee [Wed, 6 Jul 2016 12:23:08 +0000 (21:23 +0900)]
sensor: ignore anchor & interval of queries if the provider does not support them

Change-Id: I214e6344ea56a2b20204e72c721f765d889b5c25
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.9.4 83/78683/1
Mu-Woong Lee [Wed, 6 Jul 2016 11:55:54 +0000 (20:55 +0900)]
Version 0.9.4

Change-Id: I4eba093b69cf7516d6ef7d9e0678fbab2a73d4c2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: add option parameter checking routine 63/78663/1
Mu-Woong Lee [Wed, 6 Jul 2016 10:42:48 +0000 (19:42 +0900)]
sensor: add option parameter checking routine

Change-Id: I67c79fb520762290631e32688fbfe45be60d3892
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: add HeartRate recorder 43/78643/1
Mu-Woong Lee [Wed, 6 Jul 2016 09:24:09 +0000 (18:24 +0900)]
sensor: add HeartRate recorder

Change-Id: Ib3e0ce16e34c5429715cd6095eed3de2f31ffed7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: fix the group-by statements of SQL queries to split the timeline properly 03/78203/1
Mu-Woong Lee [Mon, 4 Jul 2016 12:29:11 +0000 (21:29 +0900)]
sensor: fix the group-by statements of SQL queries to split the timeline properly

In SQL, deviding an integer by an integer produces an integer.
The integers need to be casted into real.

Change-Id: I71d407f94fb00503a67255e4935df405e766d757
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModified item definition format 65/78065/3
Somin Kim [Mon, 4 Jul 2016 07:14:52 +0000 (16:14 +0900)]
Modified item definition format

Change-Id: Ie0aee0745a6de15062ee6969843056b64f806216
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.3 68/77868/1
Mu-Woong Lee [Fri, 1 Jul 2016 10:00:40 +0000 (19:00 +0900)]
Version 0.9.3

Change-Id: Iaeebaecaa0a964abaed8a655751244a2f353035a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: update app uninstall event dbus signal 66/77866/1
Mu-Woong Lee [Fri, 1 Jul 2016 09:59:38 +0000 (18:59 +0900)]
sensor: update app uninstall event dbus signal

Change-Id: I4bfa66dae349d07d5e3bcc33b3fbbeb8c929bba1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: try to record one tuple per one minute to reduce the pedometer DB table size 21/77821/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:46:33 +0000 (15:46 +0900)]
sensor: try to record one tuple per one minute to reduce the pedometer DB table size

Change-Id: I546bb46802bc51b9e0b7dab491638228e1c12003
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: re-sample pressure data and perform lazy insertions to reduce DB overhead 20/77820/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:46:14 +0000 (15:46 +0900)]
sensor: re-sample pressure data and perform lazy insertions to reduce DB overhead

Change-Id: I77250bda622784e3adc522b41b90755105fb220a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: align recording request json format with sensor api 19/77819/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:45:58 +0000 (15:45 +0900)]
sensor: align recording request json format with sensor api

Change-Id: Ief0236c20797bdd14fa327cbd3a085c93ff1a0bc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: cascade its recording requests if an app is uninstalled 18/77818/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:45:42 +0000 (15:45 +0900)]
sensor: cascade its recording requests if an app is uninstalled

Change-Id: I17f2c453896107721cad74b6136b16f4eaf0ba4d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: set the maximum retention period (1 month) 17/77817/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:45:00 +0000 (15:45 +0900)]
sensor: set the maximum retention period (1 month)

Change-Id: Id37d909394ad1db7b8aafad4f673f7e9ef326f67
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: remove necessity of dynamic_cast in SleepLogger 16/77816/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:44:31 +0000 (15:44 +0900)]
sensor: remove necessity of dynamic_cast in SleepLogger

Change-Id: I8d9579b7650ebcdaffeab3808968db065a35e97f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: add the sensor recorder for sleep monitor 53/77453/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:20:10 +0000 (10:20 +0900)]
sensor: add the sensor recorder for sleep monitor

Change-Id: Ifc16ed955e9bce1284de202c1983626a68a4c675
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: define sleep monitor & hrm record table names 52/77452/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:19:55 +0000 (10:19 +0900)]
sensor: define sleep monitor & hrm record table names

Change-Id: I4b867daf235c28f1108c5b7e757fb373794d813c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: rename SensorProxy::start() and stop() to listen() and unlisten() 51/77451/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:19:41 +0000 (10:19 +0900)]
sensor: rename SensorProxy::start() and stop() to listen() and unlisten()

start() and stop() are being used by logger classes with different meanings,
thus it would be better to rename them to avoid ambiguity.

Change-Id: Iaeb1aea86997f0659a768a31d88d47a371bda653
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: change SensorProxy::isRunning() to a public member 50/77450/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:19:25 +0000 (10:19 +0900)]
sensor: change SensorProxy::isRunning() to a public member

Change-Id: Id92e10fa303ba779289f9e0d633f02d4fd93184b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: split the time-related functions into TimeUtil class 49/77449/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:19:02 +0000 (10:19 +0900)]
sensor: split the time-related functions into TimeUtil class

Change-Id: I27c72a76d55aa606b11e94f31a192586f2926e55
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor: reorganize the folder structure 48/77448/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:18:02 +0000 (10:18 +0900)]
sensor: reorganize the folder structure

Sub-folders for pedometer & pressure recorders are created.

Change-Id: Ic4adeb1d52b257f5228e4176886841ef88f95d4c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisable app usage logging on Wearable profile 44/76744/1
Mu-Woong Lee [Mon, 27 Jun 2016 06:31:35 +0000 (15:31 +0900)]
Disable app usage logging on Wearable profile

Change-Id: I883d8daa8cfb35daf77489a70e65d1b678871da9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocustom: fix the package id json key 43/76743/1
Mu-Woong Lee [Mon, 27 Jun 2016 06:31:02 +0000 (15:31 +0900)]
custom: fix the package id json key

Change-Id: I84f225136666b8c9faede8181c44623ea073dab0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agowifi: wifi monitoring is not initiated automatically 42/76742/1
Mu-Woong Lee [Mon, 27 Jun 2016 06:30:35 +0000 (15:30 +0900)]
wifi: wifi monitoring is not initiated automatically

Change-Id: I882ffdf3c1cb7a0281fa1909541e81952a068768
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd sensor recorder provides (pedometer & pressure supported) 13/76713/1
Mu-Woong Lee [Mon, 27 Jun 2016 04:33:19 +0000 (13:33 +0900)]
Add sensor recorder provides (pedometer & pressure supported)

Change-Id: Ib1177eb9b595b9b1bdc3b10f3b010b984c2cb6fc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove ProviderTypes.h 05/76705/1
Mu-Woong Lee [Mon, 27 Jun 2016 04:01:23 +0000 (13:01 +0900)]
Remove ProviderTypes.h

Change-Id: I84850a5d6429fb1d9eb04e09908b30da0bc67c3b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Modified custom table, column name as camel case" into devel/tizen_3.0
Mu-Woong Lee [Tue, 21 Jun 2016 02:13:56 +0000 (19:13 -0700)]
Merge "Modified custom table, column name as camel case" into devel/tizen_3.0

8 years ago[my-place] Dynamic loading of PlacesDetector library. 74/74074/2
Marcin Masternak [Fri, 10 Jun 2016 17:52:59 +0000 (19:52 +0200)]
[my-place] Dynamic loading of PlacesDetector library.

Change-Id: I7b007eef5e811a6c04d4f1b1aa120e94ae713657
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoMerge "[my-place] Move getting places from db feature to UserPlaces facade." into...
Mu-Woong Lee [Mon, 20 Jun 2016 09:03:10 +0000 (02:03 -0700)]
Merge "[my-place] Move getting places from db feature to UserPlaces facade." into devel/tizen_3.0

8 years agoModified custom table, column name as camel case 04/75504/1
Somin Kim [Mon, 20 Jun 2016 06:33:23 +0000 (15:33 +0900)]
Modified custom table, column name as camel case

Change-Id: Ifbab3383b3eb0580e8c993fea2af1075f7a6b24b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRe-establish custom provider 22/73722/6
Somin Kim [Thu, 9 Jun 2016 08:45:14 +0000 (17:45 +0900)]
Re-establish custom provider

Change-Id: I58f9f6e99f1d4b881cbcda57bfb80ced85a1147b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years ago[my-place] Move getting places from db feature to UserPlaces facade. 53/74053/1
Marcin Masternak [Fri, 10 Jun 2016 13:15:59 +0000 (15:15 +0200)]
[my-place] Move getting places from db feature to UserPlaces facade.

Change-Id: I78f09213ac6e1cce4a56828bd0debb04d4c98941
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Dynamic loading of VisitCateger library. 41/73841/1
Marcin Masternak [Thu, 9 Jun 2016 15:29:02 +0000 (17:29 +0200)]
[my-place] Dynamic loading of VisitCateger library.

Change-Id: Ie3ea00d76a36aa1bedebfb130365aee10b886997
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Refactoring: Tizen C++ convention - File names chenge. 89/73789/1
Marcin Masternak [Thu, 9 Jun 2016 11:07:49 +0000 (13:07 +0200)]
[my-place] Refactoring: Tizen C++ convention - File names chenge.

Change-Id: I525b690a5dd41a17f70bea98e34274e6ee312e52
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Refactoring: Code separation. 50/73750/1
Marcin Masternak [Thu, 9 Jun 2016 10:12:17 +0000 (12:12 +0200)]
[my-place] Refactoring: Code separation.

Change-Id: Ib307b93b832f5011be8f9e88fcf407e55176d831
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoVersion 0.9.0 76/73276/1
Somin Kim [Tue, 7 Jun 2016 10:24:41 +0000 (19:24 +0900)]
Version 0.9.0

Change-Id: Ie05c8a2b749fb4431b060cc241534557d3f86cec
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoUpdate build dependency w.r.t. the change of context-common 86/72886/1
Mu-Woong Lee [Fri, 3 Jun 2016 01:51:46 +0000 (10:51 +0900)]
Update build dependency w.r.t. the change of context-common

Change-Id: I6eaa337dfc405eb00bb3a9fb9866e65435ea8f3b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place][places)detector] Refactor getting location from visit json. 03/72603/1
Marcin Masternak [Wed, 1 Jun 2016 18:16:07 +0000 (20:16 +0200)]
[my-place][places)detector] Refactor getting location from visit json.

Change-Id: Ifad943d5a0c8db5c188b5ff439986026add773a8
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Locations accuracy in visit and places fix. 02/72602/1
Marcin Masternak [Wed, 1 Jun 2016 18:14:15 +0000 (20:14 +0200)]
[my-place] Locations accuracy in visit and places fix.

Change-Id: I5dbfb12cada1fdc93454fbeaee2014c8430cd70f
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Output JSON places fix. 01/72601/1
Marcin Masternak [Wed, 1 Jun 2016 11:47:24 +0000 (13:47 +0200)]
[my-place] Output JSON places fix.

Change-Id: I66fd171c20ff6a3de47ec0c342e472578384c915
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Refactoring: hide internal methods to private. 97/72397/1
Marcin Masternak [Tue, 31 May 2016 18:09:57 +0000 (20:09 +0200)]
[my-place] Refactoring: hide internal methods to private.

Change-Id: Ifd0dd501b45055d1b61c9453bc9ccc5c5da928a1
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Debug files paths fix. 88/72388/1
Marcin Masternak [Tue, 31 May 2016 17:26:12 +0000 (19:26 +0200)]
[my-place] Debug files paths fix.

Change-Id: I8fd81cc6a303257c4692881ef4fb5a431741aca1
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Extend Place Wifi AP's list by network names. 87/72387/1
Marcin Masternak [Tue, 31 May 2016 17:25:05 +0000 (19:25 +0200)]
[my-place] Extend Place Wifi AP's list by network names.

Change-Id: I556f4dfaf238e482ca05bf4694068e123219f50e
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place][places_detector] Refactor getting place from Json. 54/72354/1
Marcin Masternak [Tue, 31 May 2016 14:19:44 +0000 (16:19 +0200)]
[my-place][places_detector] Refactor getting place from Json.

Change-Id: Ie67cf431797e68313348407fb03f9cd149d702de
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place][visit_detector] Put Wifi network names into database. 39/72339/2
Marcin Masternak [Tue, 31 May 2016 13:57:05 +0000 (15:57 +0200)]
[my-place][visit_detector] Put Wifi network names into database.

Change-Id: Ia2c91e7f08a83f49f4afd9f4fc185c99e9bb3591
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place][wifi_logger] Extend last scans pool expand by network name. 03/72303/1
Marcin Masternak [Tue, 31 May 2016 10:10:18 +0000 (12:10 +0200)]
[my-place][wifi_logger] Extend last scans pool expand by network name.

Change-Id: Ic4308dabdcf224676e9474f2d238f083f7d5aa29
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Tizen coding convention - Omit brackets ("{", "}") in one-line "if" statem... 02/72302/1
Marcin Masternak [Tue, 31 May 2016 10:02:13 +0000 (12:02 +0200)]
[my-place] Tizen coding convention - Omit brackets ("{", "}") in one-line "if" statements.

Change-Id: I04ce028c825bd8d762554836ccca0e5828aabb07
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Move shared definitions to context-common. 32/72232/1
Marcin Masternak [Tue, 31 May 2016 08:11:35 +0000 (10:11 +0200)]
[my-place] Move shared definitions to context-common.

Change-Id: Idd0c2ac5652bf57988ee5bc5396ce7feaa95b560
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Move shared types to context-common. 37/71937/1
Marcin Masternak [Fri, 27 May 2016 17:39:35 +0000 (19:39 +0200)]
[my-place] Move shared types to context-common.

Change-Id: I3fbed99328a88246ce14922cdf2038f3ec4d04e8
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Hide internal UserPlaces engine methods. 36/71936/1
Marcin Masternak [Fri, 27 May 2016 17:35:38 +0000 (19:35 +0200)]
[my-place] Hide internal UserPlaces engine methods.

Change-Id: I63af99deaf288ebb3e8afb362e9c86ea36cf3f98
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Move Place print2Stream to DebugUtils 35/71935/1
Marcin Masternak [Fri, 27 May 2016 17:31:29 +0000 (19:31 +0200)]
[my-place] Move Place print2Stream to DebugUtils

Change-Id: I940190b13719fe1bc5283232b5bba9bc75bc326d
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Extend WifiLogger of network name (ESSID) logging. 06/70806/2
Marcin Masternak [Fri, 20 May 2016 16:52:40 +0000 (18:52 +0200)]
[my-place] Extend WifiLogger of network name (ESSID) logging.

Change-Id: I543ba3492dc8b77730873c44cfb878f8fc7f872f
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] Testing possibilities fix / simplification. 05/70805/2
Marcin Masternak [Fri, 20 May 2016 16:40:58 +0000 (18:40 +0200)]
[my-place] Testing possibilities fix / simplification.

Change-Id: I77e4e4870575190fe9014cd3416eb75bc62458ae
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoSupport build on Tizen 2.3.1 & Tizen 2.4 75/70975/1
Mu-Woong Lee [Mon, 23 May 2016 12:09:28 +0000 (21:09 +0900)]
Support build on Tizen 2.3.1 & Tizen 2.4

Change-Id: I1e1394a5c50a4c585e27520cb5c12bcbd674c61f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[my-place] Update WifiLogger to use WifiWrapper instead the Wifi Native API directly 91/70591/1
Marcin Masternak [Thu, 19 May 2016 15:39:08 +0000 (17:39 +0200)]
[my-place] Update WifiLogger to use WifiWrapper instead the Wifi Native API directly

Change-Id: I2329f9860eb5113210fdb854f2a85efb6d26aae8
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[my-place] SVACE issues fix (usage of localtime, gmtime -> XX_r versions). 28/69728/1
Marcin [Mon, 16 May 2016 11:15:50 +0000 (13:15 +0200)]
[my-place] SVACE issues fix (usage of localtime, gmtime -> XX_r versions).

Change-Id: I7ec8c72efaaedd627aec55ee170f759599c6e344
Signed-off-by: Marcin <m.masternak@samsung.com>
8 years agoMerge "Update WifiStateProvider to use WifiWrapper instead the Wifi Native API direct...
Mu-Woong Lee [Mon, 16 May 2016 10:59:58 +0000 (03:59 -0700)]
Merge "Update WifiStateProvider to use WifiWrapper instead the Wifi Native API directly" into devel/tizen_3.0

8 years agoMerge "Add WifiWrapper class to support multiple callbacks in one process" into devel...
Mu-Woong Lee [Mon, 16 May 2016 10:59:53 +0000 (03:59 -0700)]
Merge "Add WifiWrapper class to support multiple callbacks in one process" into devel/tizen_3.0

8 years agoRemove memory leak 22/69622/1
Somin Kim [Mon, 16 May 2016 07:16:48 +0000 (16:16 +0900)]
Remove memory leak

Change-Id: I3c03d25d1079d79b0d6f27dbc8975766e4b66198
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoUpdate WifiStateProvider to use WifiWrapper instead the Wifi Native API directly 11/69611/1
Mu-Woong Lee [Mon, 16 May 2016 06:24:19 +0000 (15:24 +0900)]
Update WifiStateProvider to use WifiWrapper instead the Wifi Native API directly

Wifi Native API does not support multiple sessions in one process.
The wrapper is a walkaround of this limitation.

Change-Id: I249294e6675446979a74a9877507e408cb1ff3ac
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd WifiWrapper class to support multiple callbacks in one process 93/69593/2
Mu-Woong Lee [Mon, 16 May 2016 04:50:50 +0000 (13:50 +0900)]
Add WifiWrapper class to support multiple callbacks in one process

Wifi Native API assumes single session in one process.
This wrapper walkarounds this limitation.

Change-Id: Ibd5227d9ce24a76f719d05a8a709b832afb5e2ed
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMake the geofence event provider not unloadable 46/69046/2
Mu-Woong Lee [Wed, 11 May 2016 08:29:23 +0000 (17:29 +0900)]
Make the geofence event provider not unloadable

The geofence event provider should not be unloaded, even if it is not used anymore.
Dynamically unloading it may cause some glib-related issues.

Change-Id: Iafa6251feac361742a2eae332f92b2d24a11f43c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRename the factory functions 'create' to 'CreateProvider' 29/69029/1
Mu-Woong Lee [Wed, 11 May 2016 07:23:27 +0000 (16:23 +0900)]
Rename the factory functions 'create' to 'CreateProvider'

It seems that the geofence manager library has a symbol conflict issue with 'create'.
This patch fixes this symbol conflict issue.

Change-Id: I2956abcd8c96b8a4b3d810d9f96f51a96a33c7ac
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.8.0 71/68171/1
Mu-Woong Lee [Tue, 3 May 2016 01:32:44 +0000 (10:32 +0900)]
Version 0.8.0

Change-Id: I401ba6c3f65e8f51c4c3786169f4283df4ffd87f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd the missing trigger template for wifi state 43/67943/1
Mu-Woong Lee [Fri, 29 Apr 2016 08:46:49 +0000 (17:46 +0900)]
Add the missing trigger template for wifi state

Change-Id: If0ef0b556b073618521a3baf01d8e72ab9ebe400
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMark contacts, headphone, message providers as non-unloadable. 99/67799/1
Mu-Woong Lee [Thu, 28 Apr 2016 08:59:52 +0000 (17:59 +0900)]
Mark contacts, headphone, message providers as non-unloadable.

These providers cause issues when loaded and unloaded multiple times...

Change-Id: I295eca8bc65a8f4f0b975249091554834b997840
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSwitch to gmodule from linux dl functions 79/67779/1
Mu-Woong Lee [Thu, 28 Apr 2016 08:00:44 +0000 (17:00 +0900)]
Switch to gmodule from linux dl functions

Change-Id: Ia754d27ff650ad393ca8a3ec6d958bb9ab793341
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoTemporally disable my-place detector before merging into tizen branch 94/67694/1
Mu-Woong Lee [Thu, 28 Apr 2016 05:23:53 +0000 (14:23 +0900)]
Temporally disable my-place detector before merging into tizen branch

Change-Id: I54b5252b14da02a70c89160ef14be0d77a04a64c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoBreak the direct dependency to media-content from the media stats provider 19/67619/2
Mu-Woong Lee [Wed, 27 Apr 2016 12:04:54 +0000 (21:04 +0900)]
Break the direct dependency to media-content from the media stats provider

If necessary, the provider dynamically load another so to use the media content API.

Change-Id: Id7f1fab0e956ee7702382328b981860f5fa6c9fc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove daily timer of the social stats logger 90/67590/1
Mu-Woong Lee [Wed, 27 Apr 2016 10:16:20 +0000 (19:16 +0900)]
Remove daily timer of the social stats logger

Call log mirroring only occurs when a client request is raised

Change-Id: Ifc79b00b1cd0ecd8a10004e94de6fd08dde0c88d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix the linking issue of libctx-prvd-social-stats.so to _contacts_phone_log 71/67571/1
Mu-Woong Lee [Wed, 27 Apr 2016 08:42:14 +0000 (17:42 +0900)]
Fix the linking issue of libctx-prvd-social-stats.so to _contacts_phone_log

Change-Id: Ia99de7ad9401f096419d75649178715b7b4d4efb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd comments on the subscribe/unsubscribe functions of PlaceRecognitionProvider 59/67559/1
Mu-Woong Lee [Wed, 27 Apr 2016 08:19:34 +0000 (17:19 +0900)]
Add comments on the subscribe/unsubscribe functions of PlaceRecognitionProvider

Change-Id: Ia6a36c2e11761e1e76ceedb528a5b7dc94f85366
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImplement getPrivilege() functions 28/67528/1
Mu-Woong Lee [Wed, 27 Apr 2016 07:17:21 +0000 (16:17 +0900)]
Implement getPrivilege() functions

Change-Id: I7fc00fe8c1542d4943376f92b7d36c7c926533e7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRe-implement 'create' functions to support dynamic loading 59/67259/2
Mu-Woong Lee [Tue, 26 Apr 2016 05:33:43 +0000 (14:33 +0900)]
Re-implement 'create' functions to support dynamic loading

Obsoluted trigger registration functions are removed.

Change-Id: I89b950d7b996653a8ae64e3c2f8e29df9619d164
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAlign the lib directory path with the header path 44/67244/1
Mu-Woong Lee [Tue, 26 Apr 2016 04:41:35 +0000 (13:41 +0900)]
Align the lib directory path with the header path

Change-Id: I3b8142d82f83e954ce74d28c96e6f7c1d07e3ff5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd a header file for listing so file names & trigger templates 20/67220/3
Mu-Woong Lee [Tue, 26 Apr 2016 02:10:01 +0000 (11:10 +0900)]
Add a header file for listing so file names & trigger templates

Change-Id: Ia73e288620653fdbec1e060a23c7a5b286a70b73
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSplit the .a file into .so files 66/66966/4
Mu-Woong Lee [Fri, 22 Apr 2016 09:04:14 +0000 (18:04 +0900)]
Split the .a file into .so files

Each .so provides create() function, and contextd will the function for each so.
Later, the create() will be updated to support on-demand loading of providers.

Change-Id: Icc9f204941500c5e9d95f39644d4001fba36c76b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCode cleanup: merge geofence-related macros into ProviderTypes.h 02/66902/1
Mu-Woong Lee [Fri, 22 Apr 2016 02:31:32 +0000 (11:31 +0900)]
Code cleanup: merge geofence-related macros into ProviderTypes.h

Change-Id: Ibb731bfdc6c34c6ba999c0798bda9c48142afc7c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCode cleanup: update provider class names 21/66821/1
Mu-Woong Lee [Thu, 21 Apr 2016 08:07:04 +0000 (17:07 +0900)]
Code cleanup: update provider class names

Change-Id: Icbfd404caae4cc3fedc13936fd3a9b18b850d63a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCode cleanup: merge activity-related macros into ProviderTypes.h 12/66812/1
Mu-Woong Lee [Thu, 21 Apr 2016 07:20:58 +0000 (16:20 +0900)]
Code cleanup: merge activity-related macros into ProviderTypes.h

Change-Id: I79350b4d5e3894a8b134357884dca6bc9c918033
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCode cleanup: merge common, system, social types into one provider types header 09/66809/1
Mu-Woong Lee [Thu, 21 Apr 2016 07:08:43 +0000 (16:08 +0900)]
Code cleanup: merge common, system, social types into one provider types header

Change-Id: I96e74636b9d2e4ce62a959f170e1e168d6ac1b2f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCode cleanup: activity providers 93/66793/1
Mu-Woong Lee [Thu, 21 Apr 2016 05:50:29 +0000 (14:50 +0900)]
Code cleanup: activity providers

Change-Id: I652e9847753c61b53b78bcce436bb90923e9c0b4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSeparate util functions in BasicProvider to the namespace ctx::util 90/66790/1
Mu-Woong Lee [Thu, 21 Apr 2016 05:31:05 +0000 (14:31 +0900)]
Separate util functions in BasicProvider to the namespace ctx::util

Change-Id: I42239d9277ae346dda1a3d4241d392d67c194587
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRename DeviceProviderBase as BasicProvider 75/66775/1
Mu-Woong Lee [Thu, 21 Apr 2016 05:07:49 +0000 (14:07 +0900)]
Rename DeviceProviderBase as BasicProvider

Change-Id: I0d7e97a0d988ce3d619585ad4cbfd81e08b9af85
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoUpdate License text & boilerplates 09/66709/1
Mu-Woong Lee [Wed, 20 Apr 2016 11:21:01 +0000 (20:21 +0900)]
Update License text & boilerplates

Change-Id: I54d0f60dbdd56d31d873d4a63b49c84a7a03a4c4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReorganize the directory structure of source files 56/66556/1
Mu-Woong Lee [Tue, 19 Apr 2016 11:02:53 +0000 (20:02 +0900)]
Reorganize the directory structure of source files

Source directories are roughly separated by their dependencies.
Later, the build script will be updated to produce one shared object per one directory, and a dynamic loading routine will be applied.

Change-Id: Iceaae6740cebc15a89ce0631f13b1254640b12c4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRefactor provider instance initialization routines 08/66308/10
Mu-Woong Lee [Mon, 18 Apr 2016 08:53:10 +0000 (17:53 +0900)]
Refactor provider instance initialization routines

Change-Id: I552e9278ebbfbc408ef76f6a5a5a913fa2d128f1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace the macro EXTAPI with SO_EXPORT 26/66326/1
Mu-Woong Lee [Mon, 18 Apr 2016 10:14:50 +0000 (19:14 +0900)]
Replace the macro EXTAPI with SO_EXPORT

Change-Id: Id4418789b8e408cd1cd30f6c412574f105e503f5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRename app inactive detector in C++ style 11/66111/2
Somin Kim [Fri, 15 Apr 2016 08:24:43 +0000 (17:24 +0900)]
Rename app inactive detector in C++ style

Change-Id: I6129687b83c38f6d9221d4bbeffff1f409384849
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoReplace types_internal.h with Types.h 00/66100/1
Mu-Woong Lee [Fri, 15 Apr 2016 07:27:17 +0000 (16:27 +0900)]
Replace types_internal.h with Types.h

Change-Id: I0c33aba00bd9194b6420cdac9d8ebdd47da3b423
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApplying Tizen C++ coding style to statistics context provider(except prediction) 69/65769/4
Somin Kim [Thu, 7 Apr 2016 01:12:25 +0000 (10:12 +0900)]
Applying Tizen C++ coding style to statistics context provider(except prediction)

Change-Id: If4cb6ec05b0775691d5c82df3e6ce9dc8a2dba7d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>