platform/core/context/context-provider.git
7 years agoFix svace issue(Initialize member variables) 94/113594/2 accepted/tizen/3.0/common/20170214.180512 accepted/tizen/3.0/ivi/20170214.042026 accepted/tizen/3.0/mobile/20170214.041856 accepted/tizen/3.0/wearable/20170214.042138 submit/tizen_3.0/20170213.085643
Somin Kim [Wed, 8 Feb 2017 07:19:52 +0000 (16:19 +0900)]
Fix svace issue(Initialize member variables)

Change-Id: I7871a45aeadfb4b7fc48aed99563bfb041007332
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoAdd defence code for duration calculation when time manually changed 29/111429/1 accepted/tizen/3.0/common/20170123.132201 accepted/tizen/3.0/ivi/20170123.095907 accepted/tizen/3.0/mobile/20170123.095834 accepted/tizen/3.0/wearable/20170123.095851 submit/tizen_3.0/20170123.051812
Somin Kim [Thu, 19 Jan 2017 06:22:11 +0000 (15:22 +0900)]
Add defence code for duration calculation when time manually changed

Change-Id: I0f575e97cfc7fbd8f2e6e56a7f637898945f6073
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoAdd a cache for application display types 48/110548/1 accepted/tizen/3.0/common/20170118.131024 accepted/tizen/3.0/ivi/20170118.041320 accepted/tizen/3.0/mobile/20170118.041234 accepted/tizen/3.0/wearable/20170118.041304 submit/tizen_3.0/20170117.044420
Mu-Woong Lee [Tue, 17 Jan 2017 04:13:30 +0000 (13:13 +0900)]
Add a cache for application display types

Change-Id: I4e49ae6e9161ac4d4db6f539499de249bb998243
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 27/107827/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.125201 accepted/tizen/3.0.m2/wearable/20170104.125754 accepted/tizen/3.0/common/20170102.062536 accepted/tizen/3.0/ivi/20170101.231221 accepted/tizen/3.0/mobile/20170101.231145 accepted/tizen/3.0/wearable/20170101.231203 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161229.105757
Mu-Woong Lee [Fri, 30 Dec 2016 05:55:25 +0000 (14:55 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  Sync with 2.3.2's sensor timestamp compensation

Change-Id: Ifa72c1701f9cb05055b2415b5216a046b475b762
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSync with 2.3.2's sensor timestamp compensation 87/107787/1
Mu-Woong Lee [Fri, 30 Dec 2016 01:41:16 +0000 (10:41 +0900)]
Sync with 2.3.2's sensor timestamp compensation

Change-Id: I5aef796e98e1159daa4d6ac3a226fc8e5dd13ef5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 29/107729/1
Somin Kim [Thu, 29 Dec 2016 10:53:17 +0000 (19:53 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  [battery-usage] add defence code for time changes & Version 0.9.13

Change-Id: Ia4694799a1916e53b7e14f486df003d8f8596a0d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years ago[battery-usage] add defence code for time changes & Version 0.9.13 62/107662/4
Mu-Woong Lee [Thu, 29 Dec 2016 05:52:42 +0000 (14:52 +0900)]
[battery-usage] add defence code for time changes & Version 0.9.13

Change-Id: I97470e5f0cb4d3b011e5d44060b8d50ce3527c33
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 53/107053/1 accepted/tizen/3.0/common/20161227.102140 accepted/tizen/3.0/ivi/20161227.010909 accepted/tizen/3.0/mobile/20161227.010831 accepted/tizen/3.0/wearable/20161227.010845 submit/tizen_3.0/20161226.100642
Somin Kim [Mon, 26 Dec 2016 08:35:14 +0000 (17:35 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  [battery-stats] Changed heart sync policy (after rebooting, fully charged ...) & Version 0.9.12

Change-Id: Ic004ac8abed91de67ec6dca232eceaddc246ce23
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years ago[battery-stats] Changed heart sync policy (after rebooting, fully charged ...) &... 29/107029/3
Somin Kim [Mon, 26 Dec 2016 07:22:42 +0000 (16:22 +0900)]
[battery-stats] Changed heart sync policy (after rebooting, fully charged ...) & Version 0.9.12

Change-Id: I72136a878c40bcd30942c218bc83c32b4a54e04c
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 11/106611/1 accepted/tizen/3.0/common/20161223.110542 accepted/tizen/3.0/ivi/20161223.081343 accepted/tizen/3.0/mobile/20161223.081246 accepted/tizen/3.0/wearable/20161223.081320 submit/tizen_3.0/20161222.085113
Somin Kim [Thu, 22 Dec 2016 07:42:43 +0000 (16:42 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  [battery-stats] Remove expired log & Version 0.9.11
  [battery-stats] Request heart db sync
  [battery-stats] modified to provide data while charging

Change-Id: I58249c72b55bb1aa297feb9a5875f1f316e2dde2
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years ago[battery-stats] Remove expired log & Version 0.9.11 72/106572/3
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>
7 years ago[battery-stats] Request heart db sync 56/106456/8
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>
7 years ago[battery-stats] modified to provide data while charging 08/106408/7
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>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 84/105784/1 accepted/tizen/3.0/common/20161221.180712 accepted/tizen/3.0/ivi/20161221.005522 accepted/tizen/3.0/mobile/20161221.005614 accepted/tizen/3.0/wearable/20161221.005428 submit/tizen_3.0/20161219.115913
Somin Kim [Mon, 19 Dec 2016 11:57:41 +0000 (20:57 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  Remove build warnings of sensor logger
  Fix svace issue
  Changed battery usage normalization logic & Version 0.9.10
  Improvement in battery statistics algorithm Spread battery consumption of an open app across all the battery percentages it was open.
  Writing last battery infos periodically rather than just at end To ensure no loss of info in case of sudden shutdown
  Fixed to compare pid, instead of using cpu time difference, when an app is re-launced.

Change-Id: I1349538f84e1dd68291035810b652cca71710a7d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoRemove build warnings of sensor logger 39/105739/1
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>
7 years agoFix svace issue 80/105680/1
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>
7 years agoMerge "Improvement in battery statistics algorithm Spread battery consumption of...
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

7 years agoChanged battery usage normalization logic & Version 0.9.10 09/105409/2
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>
7 years agoImprovement in battery statistics algorithm 04/105204/3
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>
7 years agoWriting last battery infos periodically rather than just at end 53/104153/6
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>
7 years agoFixed to compare pid, instead of using cpu time difference, when an app is re-launced. 27/103727/3
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>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 40/102140/1 accepted/tizen/3.0/common/20161207.194214 accepted/tizen/3.0/ivi/20161207.010603 accepted/tizen/3.0/mobile/20161207.010512 accepted/tizen/3.0/wearable/20161207.010549 submit/tizen_3.0/20161205.094941
Somin Kim [Mon, 5 Dec 2016 05:27:28 +0000 (14:27 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  Version 0.9.9
  Modified RecentBetteryUsage to deliver UsedTime
  Fix svace issues (possible memory leaks)

Change-Id: Ie484aba5146977897d0cffcffe302ee698c97809
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoVersion 0.9.9 25/102125/1
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>
7 years agoModified RecentBetteryUsage to deliver UsedTime 13/102113/2
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>
7 years agoFix svace issues (possible memory leaks) 99/101899/1
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>
7 years agoMerge branch 'devel/tizen' into tizen_3.0 33/101133/1 accepted/tizen/3.0/common/20161201.135221 accepted/tizen/3.0/ivi/20161201.031908 accepted/tizen/3.0/mobile/20161201.031828 accepted/tizen/3.0/wearable/20161201.031847 submit/tizen_3.0/20161130.121708
Mu-Woong Lee [Wed, 30 Nov 2016 09:58:47 +0000 (18:58 +0900)]
Merge branch 'devel/tizen' into tizen_3.0

* devel/tizen:
  Version 0.9.8
  Added code to query HeartDB every 10 minutes
  Modify recnet battery usage to return data after booting, if device never fully charged.
  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
  [my-place] DEBUG_MODE simplification.
  [my-place] Change db queries async -> sync.
  [my-place] Change debug flag from TIZEN_ENGINEER_MODE to DEBUG_MODE.

Change-Id: Idce7c557507d77488f42b9b06e08a921720a03a4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoVersion 0.9.8 32/101132/1
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>
7 years agoAdded code to query HeartDB every 10 minutes 04/101104/3
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>
7 years agoModify recnet battery usage to return data after booting, if device never fully charged. 68/101068/2
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>
7 years agoMerge "Resolved a bug which gives negative battery values on process being killed...
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

7 years agoResolved a bug which gives negative battery values on process being killed and re... 05/101105/1
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>
7 years ago[my-place] DEBUG_MODE simplification. 96/97296/3
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>
7 years ago[my-place] Change db queries async -> sync. 95/99695/1
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>
7 years ago[my-place] Change debug flag from TIZEN_ENGINEER_MODE to DEBUG_MODE. 94/99694/1
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>
8 years agoMerge branch 'devel/tizen' into tizen_3.0 77/95477/1 accepted/tizen/3.0/common/20161114.082332 accepted/tizen/3.0/ivi/20161104.103719 accepted/tizen/3.0/mobile/20161104.103649 accepted/tizen/3.0/wearable/20161104.103712 submit/tizen_3.0/20161103.101627 submit/tizen_3.0_common/20161110.084657
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>
8 years ago[my-place] Place Recognition engine support on. 08/95308/1
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>
8 years ago[my-place] Table creations change to synchronous. 07/95307/1
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>
8 years agoMerge branch 'devel/tizen' into tizen_3.0 27/94927/1 accepted/tizen/3.0/ivi/20161102.075459 accepted/tizen/3.0/mobile/20161102.075415 accepted/tizen/3.0/wearable/20161102.075445 submit/tizen_3.0/20161102.044607
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>
8 years ago[4.0] Remove ExcludeArch and dead copmiler definitions 11/88611/4
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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
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 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>
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 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>
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 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>
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 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>
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 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>
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>