Abhishek Vijay [Tue, 10 Apr 2018 05:57:18 +0000 (11:27 +0530)]
[Non-ACR][Change ListenStream Path]
Change-Id: I0b33c4e5308b4ffbe401ee702e6f189c0352d1b5
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
Abhishek Vijay [Tue, 3 Apr 2018 14:14:05 +0000 (19:44 +0530)]
[Contextd][Adding -z,relro options]
Change-Id: I875838967f9ddc468bd32dc297d01fd3f55af72f
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
Abhishek Vijay [Tue, 3 Apr 2018 09:57:17 +0000 (15:27 +0530)]
[Dbus/Cynara Policy Fix]
Change-Id: I4ef545d010786362d7a0baad31fb53224dee90b0
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
Somin Kim [Fri, 24 Nov 2017 01:52:57 +0000 (10:52 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Remove session-utils dependency(contextd-agent)
Change-Id: Idfa97ddcf929e28199903d93070f038978b9ff02
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 23 Nov 2017 09:00:39 +0000 (18:00 +0900)]
Remove session-utils dependency(contextd-agent)
Change-Id: Ie1aed58aaa00204fdee405aeb067e7a06d389fe4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Tue, 12 Sep 2017 09:40:43 +0000 (18:40 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Fix coding rule violations
Change-Id: Ie6a605d1a28271eda0bb8c7d0f0f86d6d2b545e5
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Mon, 11 Sep 2017 12:11:09 +0000 (21:11 +0900)]
Fix coding rule violations
Change-Id: I84b38c41e07dede8379d1a31f7f5dc350598a1da
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 31 Aug 2017 02:45:59 +0000 (11:45 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
RW script updated(drop unnecessary tables)
RW update script
SmackProcessLabel specified
Version 4.0.3: Rename ServerBase.* to MainLoop.* by following the Tizen naming rules
Fix memory leaks: ServiceRunner::~ServiceRunner deletes its service instance
context-agent requires session-utils
Version 4.0.2
Add defence code to handle socket read failure
agent daemon self-terminates when it is idle
Implement the agent daemon
Remove the legacy agent service implementation
Store the dbus connection while launching the service
Version 4.0.1
Cleanup non-class function names
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Conflicts:
packaging/context-service.spec
src/server/ServerMain.cpp
src/server/ServiceRunner.cpp
Change-Id: I00fc1b28d220b6a4785783ae29710f1d67881b3b
Somin Kim [Thu, 24 Aug 2017 09:18:15 +0000 (18:18 +0900)]
RW script updated(drop unnecessary tables)
Change-Id: I4626d3001166234115976f4e79779d839876c29d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit
35625fd230c98662504d622ba46a7dd8fb350f82)
Somin Kim [Thu, 24 Aug 2017 09:18:15 +0000 (18:18 +0900)]
RW script updated(drop unnecessary tables)
Change-Id: I4626d3001166234115976f4e79779d839876c29d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 17 Aug 2017 12:27:14 +0000 (21:27 +0900)]
RW update script
Change-Id: I2ac289e47bb1dcbae1b292cdd83bf49342b65476
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit
5532866353434bb7f4ee42919526e2dca5f38b16)
Somin Kim [Thu, 17 Aug 2017 12:27:14 +0000 (21:27 +0900)]
RW update script
Change-Id: I2ac289e47bb1dcbae1b292cdd83bf49342b65476
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Fri, 11 Aug 2017 07:35:30 +0000 (16:35 +0900)]
SmackProcessLabel specified
Change-Id: Iffec8a38b66692416fa466da166c541e2e83cca1
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit
e335fb195f49d5d98f87c68ff5f08162f7c139d8)
Somin Kim [Fri, 11 Aug 2017 07:35:30 +0000 (16:35 +0900)]
SmackProcessLabel specified
Change-Id: Iffec8a38b66692416fa466da166c541e2e83cca1
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Tue, 8 Aug 2017 08:17:58 +0000 (17:17 +0900)]
Version 4.0.3: Rename ServerBase.* to MainLoop.* by following the Tizen naming rules
Change-Id: Ib0ff13737207bd4c93536392d73c0a62e947122c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 7 Aug 2017 02:34:09 +0000 (11:34 +0900)]
Fix memory leaks: ServiceRunner::~ServiceRunner deletes its service instance
Change-Id: Icff41cd89140d58fd60ad6ea92fb939dcc2bf047
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 3 Aug 2017 04:33:28 +0000 (13:33 +0900)]
context-agent requires session-utils
Change-Id: Icf7ee16cc8a595749c0eb2bff17d3f9be5bbb87a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sun, 30 Jul 2017 08:08:46 +0000 (17:08 +0900)]
Store the dbus connection while launching the service
Change-Id: I64dd3781ddf584f441c08bb4406c9eeaf3ac377e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
(cherry picked from commit
8651f15591a87f0fd1113cf893b98ac2e9dbde87)
Mu-Woong Lee [Wed, 2 Aug 2017 03:50:14 +0000 (12:50 +0900)]
Version 4.0.2
Change-Id: I63e5aa6cae87d3a24317e2352d968a6e4999a356
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 1 Aug 2017 11:44:54 +0000 (20:44 +0900)]
Add defence code to handle socket read failure
Change-Id: Ic8e1f638d900c7d29804a93bcc1c09a80fde7f45
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 1 Aug 2017 10:34:52 +0000 (19:34 +0900)]
agent daemon self-terminates when it is idle
Change-Id: I483ae9f0ce613694967552928919e90a83ea1bca
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sat, 29 Jul 2017 09:59:44 +0000 (18:59 +0900)]
Implement the agent daemon
Change-Id: I7542bd9f11f899574d910d9d2adbab76e6fb18dd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sat, 29 Jul 2017 06:33:08 +0000 (15:33 +0900)]
Remove the legacy agent service implementation
Change-Id: I130ace0752ee8b275a40812e13be70cc075ee645
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sun, 30 Jul 2017 08:08:46 +0000 (17:08 +0900)]
Store the dbus connection while launching the service
Change-Id: I64dd3781ddf584f441c08bb4406c9eeaf3ac377e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
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)
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>