platform/core/context/context-service.git
7 years agoAdd missing dbus privilege checking rules 35/127835/1 accepted/tizen/unified/20170502.041159 submit/tizen/20170502.023020 tizen_4.0.m1_release
Mu-Woong Lee [Tue, 2 May 2017 02:26:58 +0000 (11:26 +0900)]
Add missing dbus privilege checking rules

Change-Id: I8a01a928bf0d2db1ce3242e2a59b174855a5eae3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 04/127404/1 accepted/tizen/unified/20170428.032558 submit/tizen/20170427.071620
Mu-Woong Lee [Thu, 27 Apr 2017 07:04:59 +0000 (16:04 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Change the creation order of the services

Change-Id: I2c862e7bfbb410a8eccb30cf60f71b35f6045a03
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoChange the creation order of the services 55/126955/1
Mu-Woong Lee [Tue, 25 Apr 2017 10:38:45 +0000 (19:38 +0900)]
Change the creation order of the services

Change-Id: I856a3667f6f9976e82b9b38500cff9d3c5e58fbd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 80/126180/1 accepted/tizen/unified/20170420.155902 submit/tizen/20170420.102501
Somin Kim [Thu, 20 Apr 2017 09:52:49 +0000 (18:52 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Version 1.0.1
  Fix typo in agent conf file
  Fix svace issue
  Add compile options to suppress verbose messages and enable colored diagnostics

Change-Id: Icde62fd60353a988fe5b9eda39867c0cf3a6bd7b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoVersion 1.0.1 66/126166/1
Somin Kim [Thu, 20 Apr 2017 09:13:11 +0000 (18:13 +0900)]
Version 1.0.1

Change-Id: Iaf2a5d1769ba2fd096b418632aec68cd199055fd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoFix typo in agent conf file 11/126111/2
Somin Kim [Thu, 20 Apr 2017 06:48:25 +0000 (15:48 +0900)]
Fix typo in agent conf file

Change-Id: I65c8a6d60201fd62956c69490f52fe62844eed51
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoFix svace issue 08/126108/1
Somin Kim [Thu, 20 Apr 2017 06:42:48 +0000 (15:42 +0900)]
Fix svace issue

Change-Id: Icda8de107e6c5f80fa266930b4966895fc6b0694
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoAdd compile options to suppress verbose messages and enable colored diagnostics 70/125270/1
Mu-Woong Lee [Fri, 14 Apr 2017 09:18:35 +0000 (18:18 +0900)]
Add compile options to suppress verbose messages and enable colored diagnostics

Change-Id: Icd64cc069336202e1b910c687b14ecd0b792076c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 25/124725/1 accepted/tizen/unified/20170414.163532 submit/tizen/20170413.031950
Mu-Woong Lee [Wed, 12 Apr 2017 07:59:00 +0000 (16:59 +0900)]
Merge branch 'devel/tizen' into tizen

This applies the newly implemented context framework service daemons.

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
packaging/context-service.service

Change-Id: I1893080c8f3d4930a0144593820ed195eeb72491

7 years agoDisable data monitoring/logging features in the legacy context-service 01/124601/1
Mu-Woong Lee [Wed, 12 Apr 2017 01:56:33 +0000 (10:56 +0900)]
Disable data monitoring/logging features in the legacy context-service

Change-Id: Ib6f577c83e574f370cca7b8c3a401f29833485e4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix warnings detected from static analysis 34/124234/1
Mu-Woong Lee [Tue, 11 Apr 2017 02:01:15 +0000 (11:01 +0900)]
Fix warnings detected from static analysis

Change-Id: Icf15e17a3fc8f08d55734ce6cfb51200f3ada511
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoIntegrate the legacy context-service into the agent service (2/2) 89/122089/2
Mu-Woong Lee [Thu, 30 Mar 2017 07:05:37 +0000 (16:05 +0900)]
Integrate the legacy context-service into the agent service (2/2)

This patch integrates the legacy contextd logic into contextd-agent.

Change-Id: I5a8c8372dcab37b6ee1f96dbdf6b28e12436f8fb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix the build script typos 10/123310/1
Mu-Woong Lee [Wed, 5 Apr 2017 07:32:38 +0000 (16:32 +0900)]
Fix the build script typos

Change-Id: I2007e1abec9fef0a0873edcdab4ababce5848dd8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd handlers for uncaught exceptions and new failures 04/123204/4
Mu-Woong Lee [Wed, 5 Apr 2017 02:19:40 +0000 (11:19 +0900)]
Add handlers for uncaught exceptions and new failures

Change-Id: I864ba0ddb05aaa8c1b21527a80a9f05cbf27861a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agodbus:policy:remove unused directive 36/122736/1
sanghyeok.oh [Mon, 3 Apr 2017 08:21:05 +0000 (17:21 +0900)]
dbus:policy:remove unused directive

Change-Id: I1784bef86cc0d819dd74b37e79ddb15310311394
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoIntegrate the legacy context-service into the agent service (1/2) 88/122088/1
Mu-Woong Lee [Thu, 30 Mar 2017 06:59:32 +0000 (15:59 +0900)]
Integrate the legacy context-service into the agent service (1/2)

This patch just copies the legacy code files from Tizen 3.0 context-service.

Change-Id: Ie615be0baaf8997c895eb42a537722a1f28f6267
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove dbus connection setting for Timer 17/121917/1
Mu-Woong Lee [Wed, 29 Mar 2017 10:25:39 +0000 (19:25 +0900)]
Remove dbus connection setting for Timer

Change-Id: I4d7a1722abbc443ccdee7b074c12762eb62760d4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoReplace PathUtil.h with ServerUtil.h 21/121721/1
Mu-Woong Lee [Tue, 28 Mar 2017 13:10:37 +0000 (22:10 +0900)]
Replace PathUtil.h with ServerUtil.h

Change-Id: I7d002f2a818a3e7281fe291ad5782576120097ec
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoUpdate dbus conf files 87/121687/1
Mu-Woong Lee [Tue, 28 Mar 2017 11:25:42 +0000 (20:25 +0900)]
Update dbus conf files

Change-Id: I7e81e9abec3c3fbc4605b0bd0992f2bf73a0e96c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoChange the dbus signal listening to monitor new user activation 41/121241/1
Mu-Woong Lee [Mon, 27 Mar 2017 09:32:55 +0000 (18:32 +0900)]
Change the dbus signal listening to monitor new user activation

Unlike the previous "UserNew" signal, "UserSessionStartupFinished" is called
when the user session is actually ready, i.e., the necessary directories are mounted.

Change-Id: I39894c7602698e65c0ab2a75a940885311556710
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSwitch to multi-user.target service 13/121013/1
Mu-Woong Lee [Mon, 27 Mar 2017 05:11:14 +0000 (14:11 +0900)]
Switch to multi-user.target service

Change-Id: I2c181dc9996a78208e4c9ee7bfe05ea8bb266eee
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd build & packaging script of context-agent 59/119659/2
Mu-Woong Lee [Sun, 19 Mar 2017 15:30:16 +0000 (00:30 +0900)]
Add build & packaging script of context-agent

context-agent will be a user-level assistant service of the main
context-service daemon.

Change-Id: I74db377718ecd9883c3cb75bef556f32d02cc4d3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd include directory setting w.r.t. context-common 58/119658/1
Mu-Woong Lee [Sun, 19 Mar 2017 15:01:56 +0000 (00:01 +0900)]
Add include directory setting w.r.t. context-common

Change-Id: I164a08b582621d4ebb923b998963b3d8ea0047c7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd job-scheduler service 55/119255/1
Mu-Woong Lee [Thu, 16 Mar 2017 06:41:26 +0000 (15:41 +0900)]
Add job-scheduler service

Change-Id: I38dcd315450223013d9804479b2c41f2e026c4d6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSync with the renamed packages of app-history & sensor-recorder 22/119222/1
Mu-Woong Lee [Thu, 16 Mar 2017 04:58:07 +0000 (13:58 +0900)]
Sync with the renamed packages of app-history & sensor-recorder

Change-Id: I285aaf1a0376cb5dbc613043434e887934bd819e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove single-threading option 63/118963/1
Mu-Woong Lee [Wed, 15 Mar 2017 03:32:51 +0000 (12:32 +0900)]
Remove single-threading option

Change-Id: Ibfb15fdcdfab0fa4c21d9b14a5ebf708520f5495
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd a short delay to the active user checking process to be sure that child mainloops... 83/118783/1
Mu-Woong Lee [Tue, 14 Mar 2017 05:05:44 +0000 (14:05 +0900)]
Add a short delay to the active user checking process to be sure that child mainloops are running

Change-Id: Iaeda8f61209a14ad57204bb196bbcd208c0233a6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoEnable app-history service 93/117393/1
Mu-Woong Lee [Mon, 6 Mar 2017 03:45:08 +0000 (12:45 +0900)]
Enable app-history service

Change-Id: Idc6d78341a44bd4c98891fe21738b2df5be4d8cc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSelectively stop and restart the individual service when the active user changes 58/117258/2
Mu-Woong Lee [Fri, 3 Mar 2017 11:07:23 +0000 (20:07 +0900)]
Selectively stop and restart the individual service when the active user changes

Change-Id: I2a59124125ba4b6b20612f525aa56d93c1d78e80
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoChange the service restart option to on-failure 50/115550/1
Mu-Woong Lee [Mon, 20 Feb 2017 09:44:34 +0000 (18:44 +0900)]
Change the service restart option to on-failure

Change-Id: I09b44f38c8d2f7db496d9807d7ad9975800a8823
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSwitch to single-threading if only one service is supported 49/115549/1
Mu-Woong Lee [Mon, 20 Feb 2017 09:28:18 +0000 (18:28 +0900)]
Switch to single-threading if only one service is supported

Change-Id: If650d3f9a51cf13725de1f987820d97b51006519
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoApply updated class names 26/115526/1
Mu-Woong Lee [Mon, 20 Feb 2017 08:14:42 +0000 (17:14 +0900)]
Apply updated class names

Change-Id: Iffc175e76e976f2798eccd8c5fe7662b78724162
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoChange the service restart option to 'on-failure' 04/115504/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170221.135103 accepted/tizen/ivi/20170221.230113 accepted/tizen/mobile/20170221.230025 accepted/tizen/unified/20170309.032839 accepted/tizen/wearable/20170221.230055 submit/tizen/20170221.022813 submit/tizen_unified/20170308.100406
Mu-Woong Lee [Mon, 20 Feb 2017 07:39:06 +0000 (16:39 +0900)]
Change the service restart option to 'on-failure'

Change-Id: I146036ca88f88fecb9b68f0602e94dfbab60d173
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agocontext-service terminates in its own mainloop, not in the signal handler 74/115474/1
Mu-Woong Lee [Mon, 20 Feb 2017 06:07:07 +0000 (15:07 +0900)]
context-service terminates in its own mainloop, not in the signal handler

Change-Id: Id77b88750434f9ecd174efb9a47ea203a5133a56
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoCleanup the build script 39/115439/1
Mu-Woong Lee [Mon, 20 Feb 2017 03:44:07 +0000 (12:44 +0900)]
Cleanup the build script

Change-Id: Ib6e4acfe8ccf6f42f2f417a750d32b67dbc5918a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoConvert the ServiceLoader class to static 49/113949/1
Mu-Woong Lee [Thu, 9 Feb 2017 10:29:18 +0000 (19:29 +0900)]
Convert the ServiceLoader class to static

Change-Id: I98c7546f1158acf9fc9c9b5f61bb14f47710cdd3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSet the User:Group to service_fw:service_fw 97/113697/1
Mu-Woong Lee [Wed, 8 Feb 2017 10:39:39 +0000 (19:39 +0900)]
Set the User:Group to service_fw:service_fw

Change-Id: I639bc928ce0e67e4d74fa56840cc7fd9406ca857
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd the initial implementation of Tizen 4.0 context-service 38/113138/1
Mu-Woong Lee [Mon, 6 Feb 2017 07:55:19 +0000 (16:55 +0900)]
Add the initial implementation of Tizen 4.0 context-service

Change-Id: I911a10d551f35f0c916e976a2ad5f63c36534500
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove legacy code from Tizen 3.0 74/113074/1
Mu-Woong Lee [Mon, 6 Feb 2017 03:58:20 +0000 (12:58 +0900)]
Remove legacy code from Tizen 3.0

Change-Id: I0b95bfa0318b5e594002b56916e8599850b10720
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 58/108158/1 accepted/tizen/common/20170103.135719 accepted/tizen/ivi/20170103.225224 accepted/tizen/mobile/20170103.225142 accepted/tizen/wearable/20170103.225210 submit/tizen/20170103.072008
Mu-Woong Lee [Tue, 3 Jan 2017 07:11:41 +0000 (16:11 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Remove profile build dependencies
  Do not deinit the alarm-service during the daemon runs
  Enable HRM recording for Mobile

Change-Id: I98f27fc1a2ae25dfda2d90c74ce99c46f4c3d374
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove profile build dependencies 24/108124/1
Mu-Woong Lee [Tue, 3 Jan 2017 05:55:00 +0000 (14:55 +0900)]
Remove profile build dependencies

Change-Id: I021909ada2d5e46b29de449d9a5e484f1ea70754
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDo not deinit the alarm-service during the daemon runs 11/107711/2
Mu-Woong Lee [Thu, 29 Dec 2016 09:37:52 +0000 (18:37 +0900)]
Do not deinit the alarm-service during the daemon runs

Change-Id: I732023be8e4bed2b2c9740ed2276bd9ea6fcce90
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoEnable HRM recording for Mobile 68/107668/1
Mu-Woong Lee [Thu, 29 Dec 2016 06:27:16 +0000 (15:27 +0900)]
Enable HRM recording for Mobile

Change-Id: I788849bf94cafa1f3b9f128e1e4f6122ee7f937c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 46/102146/1
Somin Kim [Mon, 5 Dec 2016 05:35:04 +0000 (14:35 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Version 0.9.9

Change-Id: Ieffc20ad32edff8bf88f8b3e66b57083beec86c3
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoVersion 0.9.9 30/102130/1
Somin Kim [Mon, 5 Dec 2016 05:10:15 +0000 (14:10 +0900)]
Version 0.9.9

Change-Id: I02fd4e2d18c78578badaa7d5d8fb93a7be549af5
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 85/101885/1
Mu-Woong Lee [Fri, 2 Dec 2016 09:36:10 +0000 (18:36 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Rename 3.0 upgrade script

Change-Id: Ib3a9f5de5838da0bafde41b07103c0f828d4e47f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRename 3.0 upgrade script 75/101875/1
Somin Kim [Fri, 2 Dec 2016 09:21:42 +0000 (18:21 +0900)]
Rename 3.0 upgrade script

Change-Id: I463570e03f7cccde95e5a4a0b8f45ff849ff1b9d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 30/94430/1 accepted/tizen/common/20161031.122056 accepted/tizen/ivi/20161101.005042 accepted/tizen/mobile/20161101.004951 accepted/tizen/wearable/20161101.005020 submit/tizen/20161031.062309
Mu-Woong Lee [Mon, 31 Oct 2016 01:58:06 +0000 (10:58 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Rearrange launch order to safely control the case that the DB file is not accessible
  Decide the path of the provider so files at compile time, w.r.t, the target architecture
  Version 0.9.7
  Modified to use new internal rule style
  Internal rule conversion

Change-Id: I30f3e98fa76b6f7611bd7d0ed9c1cd690f83ca7a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRearrange launch order to safely control the case that the DB file is not accessible 26/93726/1
Mu-Woong Lee [Tue, 25 Oct 2016 11:44:24 +0000 (20:44 +0900)]
Rearrange launch order to safely control the case that the DB file is not accessible

Change-Id: I7832bcf2455c2129cd1a06925bf730eae8f1759b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoDecide the path of the provider so files at compile time, w.r.t, the target architecture 58/92258/1
Mu-Woong Lee [Fri, 14 Oct 2016 06:56:11 +0000 (15:56 +0900)]
Decide the path of the provider so files at compile time, w.r.t, the target architecture

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

Change-Id: Ie4e7aa15f91c0cdbd6cc07f8fea13ec530520995
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoModified to use new internal rule style 84/89684/6
Somin Kim [Mon, 26 Sep 2016 10:17:38 +0000 (19:17 +0900)]
Modified to use new internal rule style

Change-Id: I8bb8a454e7d6602d0c0c5f3f3d5e5ccbb0e2bc77
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoInternal rule conversion 84/87984/2
Somin Kim [Mon, 12 Sep 2016 11:27:18 +0000 (20:27 +0900)]
Internal rule conversion

Change-Id: If14deb1249bde0ec3c526e69326798fb2a78d116
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 84/89984/1 accepted/tizen/3.0/ivi/20161011.043932 accepted/tizen/3.0/mobile/20161015.032931 accepted/tizen/3.0/wearable/20161015.082205 accepted/tizen/common/20160928.164051 accepted/tizen/ivi/20160929.001929 accepted/tizen/mobile/20160929.001817 accepted/tizen/wearable/20160929.001938 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:58 +0000 (11:47 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Return an error instantly if the subject string is empty
  Remove legacy code for supporting Tizen 2.x

Change-Id: Ib0c689172edb983cccd1afa4f6faac4de7623fc9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoReturn an error instantly if the subject string is empty 71/89971/1
Mu-Woong Lee [Wed, 28 Sep 2016 02:21:40 +0000 (11:21 +0900)]
Return an error instantly if the subject string is empty

Change-Id: I425062f22b8d91a9a51cd5b68d29fdffe1a8bfe9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove legacy code for supporting Tizen 2.x 01/89901/1
Mu-Woong Lee [Tue, 27 Sep 2016 10:24:34 +0000 (19:24 +0900)]
Remove legacy code for supporting Tizen 2.x

Change-Id: Iee2b92329714a519b71ba0298a9aa75d53ded0ec
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 58/87358/1 accepted/tizen/common/20160907.154910 accepted/tizen/ivi/20160908.044447 accepted/tizen/mobile/20160908.044357 accepted/tizen/wearable/20160908.044421 submit/tizen/20160907.123648
Mu-Woong Lee [Wed, 7 Sep 2016 12:24:32 +0000 (21:24 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.6
  Subscribed to battery statistics logger
  Add 'PATH' environment variable to the upgrade script
  Upgrade script
  Use modified names of keys & types' definition
  Enable MyPlace detector

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
scripts/context-service_upgrade.sh

Change-Id: I2e28d70cb0208c005d77aeced5c246e7b763aaf0

7 years agoVersion 0.9.6 54/87354/1
Mu-Woong Lee [Wed, 7 Sep 2016 12:18:54 +0000 (21:18 +0900)]
Version 0.9.6

Change-Id: I83fb1632403de301bc3882fc7750e0ef83bd2084
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSubscribed to battery statistics logger 14/81314/5
Somin Kim [Mon, 22 Aug 2016 07:26:45 +0000 (16:26 +0900)]
Subscribed to battery statistics logger

Change-Id: I25ae59e42ec1787d9905d8a07db12d75682e7ea1
Signed-off-by: Kunal Chawla <kunal.chawla@samsung.com>
7 years agoAdd 'PATH' environment variable to the upgrade script 87/86987/1
Mu-Woong Lee [Tue, 6 Sep 2016 01:23:41 +0000 (10:23 +0900)]
Add 'PATH' environment variable to the upgrade script

Change-Id: Ic372ea8143d15bafb09c3d5b83c5dd7d1334d1ba
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoUpgrade script 76/85976/1 accepted/tizen/common/20160830.150016 accepted/tizen/ivi/20160830.061312 accepted/tizen/mobile/20160830.061258 accepted/tizen/wearable/20160830.061305 submit/tizen/20160829.100638
Somin Kim [Tue, 30 Aug 2016 02:38:01 +0000 (11:38 +0900)]
Upgrade script

Change-Id: I589c213e1fc689e3b7aa0635abdf4f85e8390637
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit 0a0f41d18eb310787d7a44e33b71b9b0839b7609)

7 years agoUpgrade script 69/85969/1
Somin Kim [Tue, 30 Aug 2016 02:38:01 +0000 (11:38 +0900)]
Upgrade script

Change-Id: I589c213e1fc689e3b7aa0635abdf4f85e8390637
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoUse modified names of keys & types' definition 47/84747/1
Somin Kim [Mon, 22 Aug 2016 07:26:45 +0000 (16:26 +0900)]
Use modified names of keys & types' definition

Change-Id: Ic03c7ec1e9b81ceb2af2798bcd1cf00fd59810ca
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoEnable MyPlace detector 82/83582/1
Mu-Woong Lee [Fri, 12 Aug 2016 00:47:57 +0000 (09:47 +0900)]
Enable MyPlace detector

Change-Id: I007c6c8a2bd8922676e21750aeb20e8445eb25d7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 52/79052/1 accepted/tizen/common/20160708.141020 accepted/tizen/ivi/20160709.015009 accepted/tizen/mobile/20160709.014941 accepted/tizen/wearable/20160709.014958 submit/tizen/20160708.084014
Mu-Woong Lee [Fri, 8 Jul 2016 03:52:33 +0000 (12:52 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.4
  Fix to return proper errors in case of sync-read failures

Change-Id: Ib4cca588629dea956937454c9b6cec1c3cbade97
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoVersion 0.9.4 85/78685/1
Mu-Woong Lee [Wed, 6 Jul 2016 11:56:29 +0000 (20:56 +0900)]
Version 0.9.4

Change-Id: I25871d4d5876333c3b715c1e419c94e7c63d05da
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix to return proper errors in case of sync-read failures 32/78432/1
Mu-Woong Lee [Tue, 5 Jul 2016 12:00:57 +0000 (21:00 +0900)]
Fix to return proper errors in case of sync-read failures

Change-Id: Ie53157c3e7ff84194ba636de130a255bf4ae805f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 96/77896/1 accepted/tizen/common/20160705.170013 accepted/tizen/ivi/20160705.045047 accepted/tizen/mobile/20160705.045107 accepted/tizen/wearable/20160705.045032 submit/tizen/20160705.023110
Mu-Woong Lee [Fri, 1 Jul 2016 11:25:04 +0000 (20:25 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.3
  policy: enable heart-rate sensor recording provider
  Remove unnecessary depenencies
  Enable sleep monitor recording

Change-Id: Ie03802b04fe68095e8741da4d0f0f48dfa2e8949
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoVersion 0.9.3 02/77802/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:55:03 +0000 (15:55 +0900)]
Version 0.9.3

Change-Id: I8d3babe2b4101ee2b81b63b07f1495dd448e5a56
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agopolicy: enable heart-rate sensor recording provider 96/77796/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:36:54 +0000 (15:36 +0900)]
policy: enable heart-rate sensor recording provider

Change-Id: I9b7887c1119c3eb496922c3efc1e280f3518c2de
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoRemove unnecessary depenencies 91/77791/1
Mu-Woong Lee [Fri, 1 Jul 2016 06:30:28 +0000 (15:30 +0900)]
Remove unnecessary depenencies

Change-Id: I66ca8e1cd3094ed25ea772383f11723f26854048
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoEnable sleep monitor recording 46/77446/1
Mu-Woong Lee [Thu, 30 Jun 2016 01:14:22 +0000 (10:14 +0900)]
Enable sleep monitor recording

Change-Id: Ifb8ec15cbab3df00f41fb7941067d9e406d92ad9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 04/76904/1 accepted/tizen/common/20160628.141457 accepted/tizen/ivi/20160628.065912 accepted/tizen/mobile/20160628.065927 accepted/tizen/wearable/20160628.065851 submit/tizen/20160628.050740
Mu-Woong Lee [Tue, 28 Jun 2016 01:19:54 +0000 (10:19 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Enable profile-featuring for PolicyManager
  Simplify PolicyManager by adding a map for subscription requests
  Fix build errors w.r.t. the changes in context-common

Change-Id: I87235fe05e08114e063eab1b09182f5ce9bbe0d4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoEnable profile-featuring for PolicyManager 46/76746/1
Mu-Woong Lee [Mon, 27 Jun 2016 06:32:34 +0000 (15:32 +0900)]
Enable profile-featuring for PolicyManager

Change-Id: I231a7ba42620b0af7d3ae74b332a578af1c51893
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoSimplify PolicyManager by adding a map for subscription requests 12/76712/1
Mu-Woong Lee [Mon, 27 Jun 2016 04:29:06 +0000 (13:29 +0900)]
Simplify PolicyManager by adding a map for subscription requests

Change-Id: Id0bde1e18f634c52683cb99c86064d3e5562a8a0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix build errors w.r.t. the changes in context-common 07/76707/1
Mu-Woong Lee [Mon, 27 Jun 2016 04:02:52 +0000 (13:02 +0900)]
Fix build errors w.r.t. the changes in context-common

Change-Id: Ie7d245bbedbb0ff0c79833bbd2d2e676d64417c5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen_3.0' into tizen 28/76328/1 accepted/tizen/common/20160627.191157 accepted/tizen/ivi/20160623.121120 accepted/tizen/mobile/20160623.121024 accepted/tizen/wearable/20160623.121106 submit/tizen/20160622.045445
Mu-Woong Lee [Thu, 23 Jun 2016 11:19:01 +0000 (20:19 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Modified trigger table, column names as camel case
  Re-establish custom provider - Policy manager subscribes custom manager

Change-Id: Icdfd40a65dc83fec1a6c3223dd15571a5f7a9ba5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoModified trigger table, column names as camel case 03/75503/1
Somin Kim [Mon, 20 Jun 2016 06:36:48 +0000 (15:36 +0900)]
Modified trigger table, column names as camel case

Change-Id: Ide0ec52484dd32e78b2f3ce23dcbece8d04c915e
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
7 years agoRe-establish custom provider 23/73723/3
Somin Kim [Thu, 9 Jun 2016 08:49:57 +0000 (17:49 +0900)]
Re-establish custom provider
- Policy manager subscribes custom manager

Change-Id: I28c97765b5f03897e842f65c0cb6e450c46c58ae
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 95/73295/1
Somin Kim [Tue, 7 Jun 2016 10:48:45 +0000 (19:48 +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
  Add TRIGGER_SUPPORT build feature for turning on/off the trigger
  Add SYSTEM_SERVICE & LEGACY_SECURITY build features to support Tizen 2.x

Change-Id: I1f269b159936a1fb6e381ba58dff411a481135d3
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.9.0 78/73278/1
Somin Kim [Tue, 7 Jun 2016 10:26:12 +0000 (19:26 +0900)]
Version 0.9.0

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

Change-Id: Ic53ab4d5f5ea2d0103ffb1694dddecaaaff036f0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd TRIGGER_SUPPORT build feature for turning on/off the trigger 28/71328/1
Mu-Woong Lee [Wed, 25 May 2016 05:24:39 +0000 (14:24 +0900)]
Add TRIGGER_SUPPORT build feature for turning on/off the trigger

Change-Id: If844a8c1f27cf8ec70d80be99457550ace3e8e1c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd SYSTEM_SERVICE & LEGACY_SECURITY build features to support Tizen 2.x 13/71213/2
Mu-Woong Lee [Tue, 24 May 2016 11:42:26 +0000 (20:42 +0900)]
Add SYSTEM_SERVICE & LEGACY_SECURITY build features to support Tizen 2.x

Change-Id: If0c3f53eb925ffec6f41b80433b806cc0849e489
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 68/70868/1 accepted/tizen/common/20160526.145758 accepted/tizen/ivi/20160524.004531 accepted/tizen/mobile/20160524.004502 accepted/tizen/wearable/20160524.004444 submit/tizen/20160523.074005
Mu-Woong Lee [Mon, 23 May 2016 05:53:21 +0000 (14:53 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.8.1
  Add DBus methods for privilege checking of client apps
  Cynara configuration applied(cache size)

Change-Id: Ia551b2f796b0ff5e9ed4b7d12b65892e32f5aed5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.8.1 63/70863/1
Mu-Woong Lee [Mon, 23 May 2016 05:49:57 +0000 (14:49 +0900)]
Version 0.8.1

Change-Id: Iaf2a4cd1f17a71139b0ab4edaee78ea4711f9f7b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd DBus methods for privilege checking of client apps 32/70732/2
Mu-Woong Lee [Fri, 20 May 2016 08:24:26 +0000 (17:24 +0900)]
Add DBus methods for privilege checking of client apps

As Cynara does not support client side privilege checking, three new DBus methods for checking app launch, call, notification privileges are added.

Change-Id: I2f065e70e48a213e60be3b74f65fec17f2bdc9b3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCynara configuration applied(cache size) 31/70131/2
Somin Kim [Wed, 18 May 2016 08:18:25 +0000 (17:18 +0900)]
Cynara configuration applied(cache size)

Change-Id: Ia96aee1741e1525f52257e2163b1e35453e4e55c
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 00/69800/1 accepted/tizen/common/20160517.174103 accepted/tizen/ivi/20160517.032910 accepted/tizen/mobile/20160517.033216 accepted/tizen/wearable/20160517.033006 submit/tizen/20160517.020001
Somin Kim [Tue, 17 May 2016 01:33:46 +0000 (10:33 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Remove memory leak - Release enabled rule instances
  Rename the provider libraries' factory symbol to 'CreateProvider'

Change-Id: Ibdd1b8b32a166f70a76f50c5e911a76df424973d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove memory leak 20/69620/2
Somin Kim [Mon, 16 May 2016 06:51:22 +0000 (15:51 +0900)]
Remove memory leak
- Release enabled rule instances

Change-Id: I0316530fe72395623fd287d6529ef6fb7aa9a01e
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRename the provider libraries' factory symbol to 'CreateProvider' 24/69024/2
Mu-Woong Lee [Wed, 11 May 2016 07:10:26 +0000 (16:10 +0900)]
Rename the provider libraries' factory symbol to 'CreateProvider'

The former symbol 'create' has some symbol conflict issues w.r.t. the geofence manager library.

Change-Id: Ie38e8c8a776a9f5c7ae1ce1c7ae3a184634d3ee7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 23/68823/1 accepted/tizen/common/20160510.141215 accepted/tizen/ivi/20160510.070714 accepted/tizen/mobile/20160510.070709 accepted/tizen/wearable/20160510.070603 submit/tizen/20160510.043636
Somin Kim [Tue, 10 May 2016 04:29:12 +0000 (13:29 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Fix is_supported() to skip privilege check

Change-Id: Ie0d543127880be933046e8c8801f5176609df3a4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoFix is_supported() to skip privilege check 16/68816/2
Somin Kim [Tue, 10 May 2016 02:39:31 +0000 (11:39 +0900)]
Fix is_supported() to skip privilege check

Change-Id: Ieec122141862d5535dcd8f4712afbe476e08107c
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 32/68332/1 accepted/tizen/common/20160504.153330 accepted/tizen/ivi/20160504.114841 accepted/tizen/mobile/20160504.114438 accepted/tizen/wearable/20160504.114608 submit/tizen/20160504.014504
Mu-Woong Lee [Tue, 3 May 2016 11:45:55 +0000 (20:45 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Check null when TemplateManager is destroyed

Change-Id: I63eec4d9e7e50b127068ca559b8774e8523b6d9a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCheck null when TemplateManager is destroyed 64/68264/1
Somin Kim [Tue, 3 May 2016 07:07:55 +0000 (16:07 +0900)]
Check null when TemplateManager is destroyed

Change-Id: I41ca5f871ceb03d8e4639b6ce4827131dbc3826d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 78/68178/1 accepted/tizen/common/20160504.125342 accepted/tizen/ivi/20160503.093129 accepted/tizen/mobile/20160503.093036 accepted/tizen/wearable/20160503.093109 submit/tizen/20160503.015801
Mu-Woong Lee [Tue, 3 May 2016 01:51:49 +0000 (10:51 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0: (21 commits)
  Version 0.8.0
  Check if item is supported before template request
  Prevent unloading non-unloadable providers
  Switch to gmodule from linux dl functions
  Implement PolicyRequest::getClient() member function
  Monitor WiFi state continuously
  Add some missing self-destruction scheduling points of ProviderHandler
  Each provider handler is self-destructed if there is no remaining request
  Disable launch-time loading of social stats logger & place detector
  Add PolicyManager for enabling usage loggers at launch time
  Apply on-demand loading of provider objects
  Add library file list loader & statis trigger template loader
  Apply launch-time loading routine for providers
  Modify notification action behavior related to sound, vibration
  Update License text
  Disable TV profile build explicitly
  Replace runtime-info and system-settings APIs with vconf to reduce memory consumption
  Remove the lazy creation routine for context providers
  Replace types_internal.h with Types.h
  Replace db_manager with DatabaseManager
  ...

Change-Id: I4a7b8421576fadc7897cd2f5907fa34c6ba307a6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.8.0 72/68172/1
Mu-Woong Lee [Tue, 3 May 2016 01:33:26 +0000 (10:33 +0900)]
Version 0.8.0

Change-Id: Ia505598bc25ac80f66d9708d335d3a38781987ec
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCheck if item is supported before template request 00/68100/1
Somin Kim [Mon, 2 May 2016 08:18:42 +0000 (17:18 +0900)]
Check if item is supported before template request

Change-Id: I27d14eebf3adbc6a2946a8c7a92392f0dd4fc2fa
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoPrevent unloading non-unloadable providers 98/67798/1
Mu-Woong Lee [Thu, 28 Apr 2016 08:59:23 +0000 (17:59 +0900)]
Prevent unloading non-unloadable providers

Change-Id: Ieaabddfac925042e8097a17c326c9262fe39329c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSwitch to gmodule from linux dl functions 55/67755/2
Mu-Woong Lee [Thu, 28 Apr 2016 07:31:05 +0000 (16:31 +0900)]
Switch to gmodule from linux dl functions

Change-Id: I09541f9cf01581796a6b724287e4e7b6a1953b76
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>