platform/core/context/context-provider.git
7 years agoMerge branch 'devel/tizen_3.0' into tizen 29/94429/1 accepted/tizen/common/20161031.122044 accepted/tizen/ivi/20161101.005041 accepted/tizen/mobile/20161101.004948 accepted/tizen/wearable/20161101.005018 submit/tizen/20161031.062309
Mu-Woong Lee [Mon, 31 Oct 2016 01:57:17 +0000 (10:57 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  [my-place] Forgotten data to detected places database add.
  [my-place] Make PlacesDetector pure static.
  [my-place] PlacesDetector::detectPlaces() fix.
  [my-place] Submodules dynamic loading bug fix (utils static library).
  hardcoded so files path fix
  Battery Stats Algorithm modified to include CPU Usage of both background and foreground app events Applied code review comments and coding rules, and bug fixes
  Remove the macro for the hard-coded so file path
  Version 0.9.7

Change-Id: I15bf69e7449b4c1ccd5803539935cdf9769058c0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years ago[my-place] Forgotten data to detected places database add. 06/94406/1
Marcin Masternak [Fri, 28 Oct 2016 15:13:32 +0000 (17:13 +0200)]
[my-place] Forgotten data to detected places database add.

Change-Id: I6df5a35b1ea04c4d820bd04460bc0b668749e6ad
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
7 years ago[my-place] Make PlacesDetector pure static. 18/94018/1
Marcin Masternak [Wed, 26 Oct 2016 17:29:07 +0000 (19:29 +0200)]
[my-place] Make PlacesDetector pure static.

Change-Id: Iaaef19e42b8af8480acae24f1dd397ae7ac16ed6
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
7 years ago[my-place] PlacesDetector::detectPlaces() fix. 17/94017/1
Marcin Masternak [Wed, 26 Oct 2016 17:14:46 +0000 (19:14 +0200)]
[my-place] PlacesDetector::detectPlaces() fix.

Change-Id: I6849d1ace7f4d27bc74ab645149805e23a63d7b4
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
7 years ago[my-place] Submodules dynamic loading bug fix (utils static library). 16/94016/1
Marcin Masternak [Wed, 26 Oct 2016 17:13:53 +0000 (19:13 +0200)]
[my-place] Submodules dynamic loading bug fix (utils static library).

Change-Id: I872e137d3f44c4093ee0a0cecb0448e636601f79
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
7 years agohardcoded so files path fix 15/94015/1
Marcin Masternak [Wed, 26 Oct 2016 16:31:24 +0000 (18:31 +0200)]
hardcoded so files path fix

Change-Id: I0265a54487111e6e10bbc435f01531a691b81bab
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
7 years agoBattery Stats Algorithm modified to include CPU Usage of both background and foregrou... 78/89078/14
Kunal [Thu, 29 Sep 2016 06:53:56 +0000 (15:53 +0900)]
Battery Stats Algorithm modified to include CPU Usage of both background and foreground app events
Applied code review comments and coding rules, and bug fixes

Change-Id: I264d5b8350da9b6322b5fcbccb265130ffa9b86d
Signed-off-by: Kunal <kunal.chawla@samsung.com>
7 years agoRemove the macro for the hard-coded so file path 56/92256/3
Marcin Masternak [Fri, 14 Oct 2016 10:59:42 +0000 (12:59 +0200)]
Remove the macro for the hard-coded so file path

Change-Id: I2450e87001b3d64858e3f91b64e1ac6491336698
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoVersion 0.9.7 43/92243/1
Mu-Woong Lee [Fri, 14 Oct 2016 06:14:29 +0000 (15:14 +0900)]
Version 0.9.7

Change-Id: Ie7ecfb0eed82c059f2b1ad9d5b9c9e348a15df6c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 83/89983/1 accepted/tizen/3.0/ivi/20161011.043749 accepted/tizen/3.0/mobile/20161015.032629 accepted/tizen/3.0/wearable/20161015.081825 accepted/tizen/common/20160928.164044 accepted/tizen/ivi/20160929.001926 accepted/tizen/mobile/20160929.001811 accepted/tizen/wearable/20160929.001936 submit/tizen/20160928.054547 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Mu-Woong Lee [Wed, 28 Sep 2016 02:47:31 +0000 (11:47 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Remove unnecessary build macros
  [my-place] Small SVACE fixes.
  Fix coding rule violations

Change-Id: Icad585e348fc3edfd840ea33160fa85a2386a2b0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove unnecessary build macros 99/89899/1
Mu-Woong Lee [Tue, 27 Sep 2016 10:22:15 +0000 (19:22 +0900)]
Remove unnecessary build macros

Change-Id: I5848f82f9426e6d5f26302dabb3e9294d0a9e034
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years ago[my-place] Small SVACE fixes. 63/88463/1
Marcin Masternak [Wed, 14 Sep 2016 15:31:21 +0000 (17:31 +0200)]
[my-place] Small SVACE fixes.

Change-Id: Iceb1c004934a013021a0bae5bcaa8b3ad726b41c
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
7 years agoFix coding rule violations 52/87752/2
Somin Kim [Fri, 9 Sep 2016 08:44:00 +0000 (17:44 +0900)]
Fix coding rule violations

Change-Id: Ifed0d9c3accdb5f1de3957591fa86ce9d85708e7
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 59/87359/1 accepted/tizen/common/20160907.154907 accepted/tizen/ivi/20160908.044443 accepted/tizen/mobile/20160908.044333 accepted/tizen/wearable/20160908.044416 submit/tizen/20160907.123648
Mu-Woong Lee [Wed, 7 Sep 2016 12:26:13 +0000 (21:26 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.6
  Per app battery usage (Only foreground app duration considered - based on HEART cpu db)
  Custom types are modified
  Enable MyPlace detector
  [my-place] User consent starts/stops UserPlaces engine.
  [my-place] VisitDetector memory fix.
  [my-place] User consent transfer from client (location-setting) to internal db and back.
  [my-place] PlaceRecognitionProvider::isSupported() implementation.
  [my-place] UserPlaces facade refactoring to static methods.
  [my-place] DatabaseManager usage refactoring.
  sensor: add queryRaw function for pedometer

Change-Id: Ie0d60eacc2445f279289be32f022692655b3ca1b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoVersion 0.9.6 53/87353/1
Mu-Woong Lee [Wed, 7 Sep 2016 12:18:33 +0000 (21:18 +0900)]
Version 0.9.6

Change-Id: I5282c2984a524aa14bf9a067a3b5510ec076f179
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoPer app battery usage (Only foreground app duration considered - based on HEART cpu db) 71/86771/13
Somin Kim [Fri, 2 Sep 2016 20:52:55 +0000 (05:52 +0900)]
Per app battery usage (Only foreground app duration considered - based on HEART cpu db)

Change-Id: I857e83ae8a20796865a056bd11106fa3254c54d9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 years agoMerge branch 'devel/tizen_3.0' into tizen 51/79051/1 accepted/tizen/common/20160708.141017 accepted/tizen/ivi/20160709.015006 accepted/tizen/mobile/20160709.014939 accepted/tizen/wearable/20160709.014956 submit/tizen/20160708.084014
Mu-Woong Lee [Fri, 8 Jul 2016 03:51:55 +0000 (12:51 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Applying C++ coding style to app inactive detector
  sensor: ignore anchor & interval of queries if the provider does not support them
  Version 0.9.4
  sensor: add option parameter checking routine
  sensor: add HeartRate recorder

Change-Id: I9a1537bdd7648514f4ed8e004e00ae9156efdfe0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 59/78259/1 accepted/tizen/common/20160705.170009 accepted/tizen/ivi/20160705.045045 accepted/tizen/mobile/20160705.045104 accepted/tizen/wearable/20160705.045029 submit/tizen/20160705.023110
Mu-Woong Lee [Tue, 5 Jul 2016 02:29:48 +0000 (11:29 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor: fix the group-by statements of SQL queries to split the timeline properly

Change-Id: I3c893cf2539208e22d1c4ffedcf20dfacea69748
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 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>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 02/78102/1
Mu-Woong Lee [Mon, 4 Jul 2016 09:07:17 +0000 (18:07 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Modified item definition format
  Version 0.9.3
  sensor: update app uninstall event dbus signal
  sensor: try to record one tuple per one minute to reduce the pedometer DB table size
  sensor: re-sample pressure data and perform lazy insertions to reduce DB overhead
  sensor: align recording request json format with sensor api
  sensor: cascade its recording requests if an app is uninstalled
  sensor: set the maximum retention period (1 month)
  sensor: remove necessity of dynamic_cast in SleepLogger
  sensor: add the sensor recorder for sleep monitor
  sensor: define sleep monitor & hrm record table names
  sensor: rename SensorProxy::start() and stop() to listen() and unlisten()
  sensor: change SensorProxy::isRunning() to a public member
  sensor: split the time-related functions into TimeUtil class
  sensor: reorganize the folder structure

Change-Id: Ifb8a525437899c6abae2ef061a14ea715249f7e7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 03/76903/1 accepted/tizen/common/20160628.141454 accepted/tizen/ivi/20160628.065910 accepted/tizen/mobile/20160628.065924 accepted/tizen/wearable/20160628.065848 submit/tizen/20160628.050740
Mu-Woong Lee [Tue, 28 Jun 2016 01:18:14 +0000 (10:18 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Disable app usage logging on Wearable profile
  custom: fix the package id json key
  wifi: wifi monitoring is not initiated automatically
  Add sensor recorder provides (pedometer & pressure supported)
  Remove ProviderTypes.h

Change-Id: Ib41b8c63f6d2920cdaa585c82313e5f9bac785e0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 27/76327/1 accepted/tizen/common/20160627.191153 accepted/tizen/ivi/20160623.121119 accepted/tizen/mobile/20160623.121022 accepted/tizen/wearable/20160623.121103 submit/tizen/20160622.045445
Mu-Woong Lee [Thu, 23 Jun 2016 11:17:55 +0000 (20:17 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  [my-place] Dynamic loading of PlacesDetector library.
  Modified custom table, column name as camel case
  Re-establish custom provider
  [my-place] Move getting places from db feature to UserPlaces facade.
  [my-place] Dynamic loading of VisitCateger library.
  [my-place] Refactoring: Tizen C++ convention - File names chenge.
  [my-place] Refactoring: Code separation.

Change-Id: Iae89b119d2f8be7970d1cbd95d1aa82898926ee0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 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

7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 94/73294/1
Somin Kim [Tue, 7 Jun 2016 10:47:59 +0000 (19:47 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.0
  Update build dependency w.r.t. the change of context-common
  [my-place][places)detector] Refactor getting location from visit json.
  [my-place] Locations accuracy in visit and places fix.
  [my-place] Output JSON places fix.
  [my-place] Refactoring: hide internal methods to private.
  [my-place] Debug files paths fix.
  [my-place] Extend Place Wifi AP's list by network names.
  [my-place][places_detector] Refactor getting place from Json.
  [my-place][visit_detector] Put Wifi network names into database.
  [my-place][wifi_logger] Extend last scans pool expand by network name.
  [my-place] Tizen coding convention - Omit brackets ("{", "}") in one-line "if" statements.
  [my-place] Move shared definitions to context-common.
  [my-place] Move shared types to context-common.
  [my-place] Hide internal UserPlaces engine methods.
  [my-place] Move Place print2Stream to DebugUtils
  [my-place] Extend WifiLogger of network name (ESSID) logging.
  [my-place] Testing possibilities fix / simplification.
  Support build on Tizen 2.3.1 & Tizen 2.4
  [my-place] Update WifiLogger to use WifiWrapper instead the Wifi Native API directly

Change-Id: Ic1045a8fe439369ee4aecd577dac6301d0d0d76c
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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 agoMerge branch 'devel/tizen_3.0' into tizen 99/69799/1 accepted/tizen/common/20160517.174100 accepted/tizen/ivi/20160517.032909 accepted/tizen/mobile/20160517.033215 accepted/tizen/wearable/20160517.033005 submit/tizen/20160517.020001
Somin Kim [Tue, 17 May 2016 01:32:16 +0000 (10:32 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  [my-place] SVACE issues fix (usage of localtime, gmtime -> XX_r versions).
  Remove memory leak
  Update WifiStateProvider to use WifiWrapper instead the Wifi Native API directly
  Add WifiWrapper class to support multiple callbacks in one process
  Make the geofence event provider not unloadable
  Rename the factory functions 'create' to 'CreateProvider'

Change-Id: Iea1f50a94183255096e2115d14fa0285381de072
Signed-off-by: Somin Kim <somin926.kim@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 agoMerge branch 'devel/tizen_3.0' into tizen 77/68177/1 accepted/tizen/common/20160504.125333 accepted/tizen/ivi/20160503.093127 accepted/tizen/mobile/20160503.093032 accepted/tizen/wearable/20160503.093107 submit/tizen/20160503.015801
Mu-Woong Lee [Tue, 3 May 2016 01:51:14 +0000 (10:51 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0: (34 commits)
  Version 0.8.0
  Add the missing trigger template for wifi state
  Mark contacts, headphone, message providers as non-unloadable.
  Switch to gmodule from linux dl functions
  Temporally disable my-place detector before merging into tizen branch
  Break the direct dependency to media-content from the media stats provider
  Remove daily timer of the social stats logger
  Fix the linking issue of libctx-prvd-social-stats.so to _contacts_phone_log
  Add comments on the subscribe/unsubscribe functions of PlaceRecognitionProvider
  Implement getPrivilege() functions
  Re-implement 'create' functions to support dynamic loading
  Align the lib directory path with the header path
  Add a header file for listing so file names & trigger templates
  Split the .a file into .so files
  Code cleanup: merge geofence-related macros into ProviderTypes.h
  Code cleanup: update provider class names
  Code cleanup: merge activity-related macros into ProviderTypes.h
  Code cleanup: merge common, system, social types into one provider types header
  Code cleanup: activity providers
  Separate util functions in BasicProvider to the namespace ctx::util
  ...

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
src/device/CMakeLists.txt

Change-Id: I87ae2cd629eea79987652728efc7ea4f71a18fe1

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>