Somin Kim [Thu, 22 Dec 2016 05:36:58 +0000 (14:36 +0900)]
[battery-stats] Remove expired log & Version 0.9.11
Change-Id: I95508ae62154f37c88a02d5748c46580776e6ef3
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Wed, 21 Dec 2016 15:05:36 +0000 (00:05 +0900)]
[battery-stats] Request heart db sync
Change-Id: I1e76bfa2ef8f64322f80eb61339445a15b604ae9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Wed, 21 Dec 2016 12:30:46 +0000 (21:30 +0900)]
[battery-stats] modified to provide data while charging
Change-Id: Ib3c0e62bdda97bec3dc7960da376bd1dc235d9d9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Mon, 19 Dec 2016 10:31:12 +0000 (19:31 +0900)]
Remove build warnings of sensor logger
Change-Id: I95c406121642eb614a8745f31df0c216e541edc6
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Mon, 19 Dec 2016 08:45:08 +0000 (17:45 +0900)]
Fix svace issue
Change-Id: I05d65c71448a150f1cf7c15ed7c58dd946201343
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Sat, 17 Dec 2016 04:49:46 +0000 (20:49 -0800)]
Merge "Improvement in battery statistics algorithm Spread battery consumption of an open app across all the battery percentages it was open." into devel/tizen
Somin Kim [Fri, 16 Dec 2016 11:24:08 +0000 (20:24 +0900)]
Changed battery usage normalization logic & Version 0.9.10
Change-Id: Ic27d93caf1322276d93da199cf19d5fc9cc9aae3
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Kunal [Fri, 16 Dec 2016 03:41:44 +0000 (12:41 +0900)]
Improvement in battery statistics algorithm
Spread battery consumption of an open app across all the battery percentages it was open.
Change-Id: Iff189f4968154d480fc46ab5fcc311507c86e99b
Signed-off-by: Kunal <kunal.chawla@samsung.com>
Kunal [Mon, 12 Dec 2016 11:58:26 +0000 (20:58 +0900)]
Writing last battery infos periodically rather than just at end
To ensure no loss of info in case of sudden shutdown
Change-Id: Ifc2d3f18acab5d99c3ffe53578b17dcfbb91cb1b
Signed-off-by: Kunal <kunal.chawla@samsung.com>
Kunal [Fri, 9 Dec 2016 08:14:00 +0000 (17:14 +0900)]
Fixed to compare pid, instead of using cpu time difference, when an app is re-launced.
Change-Id: Ib2c72bd5634d2555ccdf517985c6711e4818325c
Signed-off-by: Kunal <kunal.chawla@samsung.com>
Somin Kim [Mon, 5 Dec 2016 05:03:08 +0000 (14:03 +0900)]
Version 0.9.9
Change-Id: I83341de2ac6091d1b87fcf7e0a4ab1fb9c045f02
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Mon, 5 Dec 2016 04:42:13 +0000 (13:42 +0900)]
Modified RecentBetteryUsage to deliver UsedTime
Change-Id: I5a426ddbcf82351619a59e4edc6802f2f12ff5dd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Fri, 2 Dec 2016 10:07:28 +0000 (19:07 +0900)]
Fix svace issues (possible memory leaks)
Change-Id: Ic1fc5047424c0fb97f60c35bd262795d51c9315e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Wed, 30 Nov 2016 09:57:24 +0000 (18:57 +0900)]
Version 0.9.8
Change-Id: If35b39342b368903970ccb37b262035093d48188
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Kunal [Wed, 30 Nov 2016 08:49:13 +0000 (17:49 +0900)]
Added code to query HeartDB every 10 minutes
Change-Id: I62086cb8a5b1f92d5434956e9e5213477cb2910d
Signed-off-by: Kunal <kunal.chawla@samsung.com>
Somin Kim [Wed, 30 Nov 2016 06:37:54 +0000 (15:37 +0900)]
Modify recnet battery usage to return data after booting, if device never fully charged.
Change-Id: I01f9e9f62271094a6e10f4fec00eeba71fda1fb4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Wed, 30 Nov 2016 09:30:07 +0000 (01:30 -0800)]
Merge "Resolved a bug which gives negative battery values on process being killed and re-launched When an app is killed and re-launched,the CPU times are reset, the difference is negative, so checked for non-negative differences" into devel/tizen
Kunal [Wed, 30 Nov 2016 08:51:38 +0000 (17:51 +0900)]
Resolved a bug which gives negative battery values on process being killed and re-launched
When an app is killed and re-launched,the CPU times are reset, the difference is negative, so checked for non-negative differences
Change-Id: Ib1611fcb5ea05295990bd3f127a24abf7a2df5c4
Signed-off-by: Kunal <kunal.chawla@samsung.com>
Marcin Masternak [Tue, 29 Nov 2016 15:27:34 +0000 (16:27 +0100)]
[my-place] DEBUG_MODE simplification.
Change-Id: If9c1be9ff546b6fc15a5390dee704ff29d9eebd0
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
Marcin Masternak [Wed, 23 Nov 2016 17:40:10 +0000 (18:40 +0100)]
[my-place] Change db queries async -> sync.
Change-Id: Id7d450f23b050121529da41fef89574359c19ee9
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
Marcin Masternak [Wed, 23 Nov 2016 17:43:04 +0000 (18:43 +0100)]
[my-place] Change debug flag from TIZEN_ENGINEER_MODE to DEBUG_MODE.
Change-Id: I9744d8a8698807e9e42ee9a3203a05bbbc586cff
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
Mu-Woong Lee [Thu, 3 Nov 2016 10:12:00 +0000 (19:12 +0900)]
Merge branch 'devel/tizen' into tizen_3.0
* devel/tizen:
[my-place] Place Recognition engine support on.
[my-place] Table creations change to synchronous.
Change-Id: I21bd4d16d1d56917238f882d324f68496cce2ff3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Marcin Masternak [Wed, 2 Nov 2016 17:27:45 +0000 (18:27 +0100)]
[my-place] Place Recognition engine support on.
Change-Id: Ibb2d8dc50bc3f258bcab8e2861e90062acda8b65
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
Marcin Masternak [Wed, 2 Nov 2016 17:26:00 +0000 (18:26 +0100)]
[my-place] Table creations change to synchronous.
Change-Id: I672539d4e1c2eb5c936552c6842cdbdde148ca07
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
Mu-Woong Lee [Wed, 2 Nov 2016 04:28:58 +0000 (13:28 +0900)]
Merge branch 'devel/tizen' into tizen_3.0
* devel/tizen:
[4.0] Remove ExcludeArch and dead copmiler definitions
[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: I1981f49e4a597072191878ebc041a23b7fa7d6f4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
MyungJoo Ham [Tue, 20 Sep 2016 04:03:13 +0000 (04:03 +0000)]
[4.0] Remove ExcludeArch and dead copmiler definitions
If TV-profile should not include this package, it should be removed from
the ks file (meta-tv.git). As we are trying to merge build projects,
trying not to build for a specific profile will become meaningless soon.
Thus, the ExcludeArch statement in the specfile is useless and confuses
the system. So, it is removed.
CMakeLists.txt states as if there are code with compiler definitions of
"_MOBILE_" and "_WEARABLE". However, grep on the source code has revealed
that there are no such code. Therefore, these two definitions are deadcode.
We have not yet completely removed profile build dependencies.
There will be another patch following this soon from me.
Change-Id: I59025327e0ca933fd5599388b13939973a81081a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>