platform/core/context/context-service.git
6 years agoVersion 4.0.1 40/138540/1 accepted/tizen/unified/20170713.153438 submit/tizen/20170712.122138
Mu-Woong Lee [Wed, 12 Jul 2017 12:18:52 +0000 (21:18 +0900)]
Version 4.0.1

Change-Id: I49ec59cc8cdcedd196a9c90ebccb0cbf2059413d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
(cherry picked from commit 6a6ce75e6ec0a5ece3fa5fcdf5d5195064405925)

6 years agoCleanup non-class function names 35/138535/1
Mu-Woong Lee [Wed, 12 Jul 2017 10:21:47 +0000 (19:21 +0900)]
Cleanup non-class function names

Change-Id: Iadfd05a82e1e90a986d082672c42ab540f99a233
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
(cherry picked from commit f8caac8154f01ff1093c139d4063fec6bb9163f4)

6 years agoMerge branch 'devel/tizen' into tizen 75/137975/1 accepted/tizen/unified/20170711.180842 submit/tizen/20170710.122951
Mu-Woong Lee [Mon, 10 Jul 2017 12:24:22 +0000 (21:24 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Version 4.0.0r2
  Remove trailing bytes from the cmd string read from /proc/PID/cmdline
  Add IClient::getName() for getting the package id (or the executable path) of a client

Change-Id: I2fae9dbcb6b981168dc55ecba8a4ef9939040d1e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoVersion 4.0.0r2 69/137969/1
Mu-Woong Lee [Mon, 10 Jul 2017 12:05:57 +0000 (21:05 +0900)]
Version 4.0.0r2

Change-Id: Ibb4483d620149121a5c67f31932a1fac193dd63c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoRemove trailing bytes from the cmd string read from /proc/PID/cmdline 50/137950/1
Mu-Woong Lee [Mon, 10 Jul 2017 11:12:42 +0000 (20:12 +0900)]
Remove trailing bytes from the cmd string read from /proc/PID/cmdline

Change-Id: Ic9ddbec882746395311309c5574104bb2b51d8a6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoAdd IClient::getName() for getting the package id (or the executable path) of a client 15/137315/3
Mu-Woong Lee [Wed, 5 Jul 2017 07:43:07 +0000 (16:43 +0900)]
Add IClient::getName() for getting the package id (or the executable path) of a client

Change-Id: I2c8143e8c69767123efc08c8d4e1cdcb278227c4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoMerge branch 'devel/tizen' into tizen 12/136712/1 accepted/tizen/unified/20170705.162915 submit/tizen/20170705.022841
Mu-Woong Lee [Mon, 3 Jul 2017 04:19:52 +0000 (13:19 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Version 4.0.0 release 1
  Align with the subdivided IService interfaces
  ServiceRunner creates ServiceClient before IMethodCallHandler to pass the ServiceClient pointer to IMethodCallHandler
  Switch to single-threading
  ActiveUserMonitor subscribes signals from ServiceProxy, instead of using a timer

Change-Id: I5e6ab5a418c577ddaf989cd9c0ff2f604e8ea3cf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoVersion 4.0.0 release 1 88/136488/1
Mu-Woong Lee [Fri, 30 Jun 2017 03:02:47 +0000 (12:02 +0900)]
Version 4.0.0 release 1

Change-Id: I2001844afb17d08c19939984b613de9c250b7e77
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoAlign with the subdivided IService interfaces 00/136400/2
Mu-Woong Lee [Thu, 29 Jun 2017 09:20:35 +0000 (18:20 +0900)]
Align with the subdivided IService interfaces

Change-Id: I64b3b0857433e53fd6f8dc89ef16a38b197449c6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoServiceRunner creates ServiceClient before IMethodCallHandler to pass the ServiceClie... 70/136270/1
Mu-Woong Lee [Thu, 29 Jun 2017 02:01:09 +0000 (11:01 +0900)]
ServiceRunner creates ServiceClient before IMethodCallHandler to pass the ServiceClient pointer to IMethodCallHandler

Change-Id: Id209c3e9d260964b44125b4508acb6c59a004fd1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoSwitch to single-threading 95/135695/3
Mu-Woong Lee [Mon, 26 Jun 2017 02:58:57 +0000 (11:58 +0900)]
Switch to single-threading

Change-Id: I84c5a6ca7f78d9a220dc20218f870813f1eb298b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoActiveUserMonitor subscribes signals from ServiceProxy, instead of using a timer 48/135648/4
Mu-Woong Lee [Fri, 23 Jun 2017 11:59:51 +0000 (20:59 +0900)]
ActiveUserMonitor subscribes signals from ServiceProxy, instead of using a timer

Change-Id: I0a22f18f9553145feec9fb20b6a086351c0a71a5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoMerge branch 'devel/tizen' into tizen 88/134388/1 accepted/tizen/unified/20170630.083107 submit/tizen/20170616.104337
Mu-Woong Lee [Fri, 16 Jun 2017 07:09:56 +0000 (16:09 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Enable more compile warnings: -Wall & -Wformat=2
  Remove unused function IService::setService()

Change-Id: I98ac9198fa67e908787e1ed939e6c476f6022529
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoEnable more compile warnings: -Wall & -Wformat=2 82/134382/1
Mu-Woong Lee [Fri, 16 Jun 2017 07:04:21 +0000 (16:04 +0900)]
Enable more compile warnings: -Wall & -Wformat=2

Change-Id: I1cc553717234ab3bb1b0a33f3520dbf8c9ba8019
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoRemove unused function IService::setService() 71/134371/1
Mu-Woong Lee [Mon, 12 Jun 2017 07:12:45 +0000 (16:12 +0900)]
Remove unused function IService::setService()

Change-Id: I56dd57f5a6b1be7fd2e92e21fccfcbe495df11d5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
(cherry picked from commit f4e22d7ca2cb978f30e7926f615a987d1debc902)

6 years agoRemove unused function IService::setService() 23/133423/1
Mu-Woong Lee [Mon, 12 Jun 2017 07:12:45 +0000 (16:12 +0900)]
Remove unused function IService::setService()

Change-Id: I56dd57f5a6b1be7fd2e92e21fccfcbe495df11d5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoMerge branch 'devel/tizen' into tizen 99/133299/1 accepted/tizen/unified/20170609.204946 submit/tizen/20170609.130020
Mu-Woong Lee [Fri, 9 Jun 2017 12:56:38 +0000 (21:56 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Dependency cleanup: add service & client manipulation classes
  Rename the class Json to avoid symbol conflicts with Jsoncpp

Change-Id: I2ddf197183652f5738a7b3595d0da73e2524b1bb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoDependency cleanup: add service & client manipulation classes 40/133240/3
Mu-Woong Lee [Fri, 9 Jun 2017 09:40:02 +0000 (18:40 +0900)]
Dependency cleanup: add service & client manipulation classes

These classes were originally implemented in context-common.

Change-Id: Id26d5dd7321de8062ae7126607b66bf0a5119666
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoRename the class Json to avoid symbol conflicts with Jsoncpp 77/132977/1
Mu-Woong Lee [Thu, 8 Jun 2017 12:28:32 +0000 (21:28 +0900)]
Rename the class Json to avoid symbol conflicts with Jsoncpp

Change-Id: I7826f4420ee0fa4879ce2d9e25d1a61c5279bada
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoMerge branch 'devel/tizen' into tizen 70/132270/1 accepted/tizen/unified/20170605.150628 submit/tizen/20170602.043713
Mu-Woong Lee [Fri, 2 Jun 2017 04:27:29 +0000 (13:27 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Remove a misused 'deny own' rule from contextd-agent dbus conf
  Remove deprecated D-bus smack policies
  Add missing dbus privilege checking rules

Change-Id: Ib2efd7ccbe81cb615a345c615e0de42483eb4f58
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoRemove a misused 'deny own' rule from contextd-agent dbus conf 69/132269/1
Mu-Woong Lee [Fri, 2 Jun 2017 04:25:21 +0000 (13:25 +0900)]
Remove a misused 'deny own' rule from contextd-agent dbus conf

Change-Id: Ia3f9178113fc1fb455eec936069a42fe8124d96f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
6 years agoRemove deprecated D-bus smack policies 46/132246/1
Hyotaek Shim [Thu, 1 Jun 2017 23:37:38 +0000 (08:37 +0900)]
Remove deprecated D-bus smack policies

Change-Id: Id6eb2ff037f8abe737ba0af7a42d4abb22550b31
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRemove deprecated D-bus smack policies 34/132234/1
Hyotaek Shim [Thu, 1 Jun 2017 23:37:38 +0000 (08:37 +0900)]
Remove deprecated D-bus smack policies

Change-Id: Id6eb2ff037f8abe737ba0af7a42d4abb22550b31
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
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 agoAdd missing dbus privilege checking rules 34/127834/1
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>