INSUN PYO [Wed, 3 Feb 2021 00:47:14 +0000 (09:47 +0900)]
Change systemd-devel package name
Change-Id: I88cbb9d222d2a1721fc9088c362712b1df8ef6d5
Kichan Kwon [Tue, 13 Aug 2019 05:14:13 +0000 (14:14 +0900)]
Remove OS upgrade script
Change-Id: I3bee154956c3eba7829d97c744807e3d77ea8184
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Randeep Singh [Wed, 21 Aug 2019 10:42:56 +0000 (10:42 +0000)]
Merge "Dbus configuration changes" into tizen
Yunmi Ha [Tue, 20 Aug 2019 07:03:04 +0000 (07:03 +0000)]
Revert "tizen: Add additional unit for "unified" user session"
This reverts commit
4643f56973dda0d0555206b3b4028967eab1127e.
We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.
Change-Id: I5f5a75a214b86200247dc94796d131b10884c1af
sanghyeok.oh [Wed, 7 Aug 2019 08:12:15 +0000 (17:12 +0900)]
Dbus configuration changes
tizen_wearable(r800)
Jan 25 02:56:14 localhost dbus[2525]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.135" (uid=202 pid=3078 comm="/usr/sbin/coord ") interface="org.tizen.context.SensorRecorder" member="IsSupported" error name="(unset)" requested_reply="0" destination="org.tizen.context" privilege="(n/a)" (uid=651 pid=2877 comm="/usr/bin/contextd ")
Change-Id: Ifaf72528735134096dab4169772829e9ca203ed7
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Abhishek Vijay [Wed, 17 Jul 2019 05:04:51 +0000 (10:34 +0530)]
[NonACR]add rule for sensor-recorder interface
Change-Id: Id5a350a32743954af88f84fa4db1ad554b0da8d6
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
INSUN PYO [Tue, 9 Jul 2019 03:40:29 +0000 (12:40 +0900)]
Remove unnecessary setting
Change-Id: I79d73823fe6770701d04ea9d7b04e193bb364a4a
INSUN PYO [Mon, 24 Jun 2019 02:38:10 +0000 (11:38 +0900)]
Remove unnecessary settings on contextd-agent.socket
Change-Id: Ic0147738cf5f96e76e7414985e776d1029e22635
Mateusz Moscicki [Fri, 19 Apr 2019 10:36:54 +0000 (12:36 +0200)]
tizen: Add additional unit for "unified" user session
The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.
user@.target will contain same units as previously available in user/,
with same UID and environment setup. systemd instance is used for unit
to be able to specify UID (inherited from user@.target).
The rationale behind this work is following:
* VD requirement to remove user session support
* boot time optimization requirements, due to:
+ 'systemd --user' taking 1s its own startup that could be used for
unit startup
+ ability to better rearrange units if these managed by one systemd
instance
Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).
Change-Id: I753079a8eb9e4b8d340850b2b601c46424819d13
Dewal Agarwal [Wed, 13 Feb 2019 09:57:21 +0000 (15:27 +0530)]
FIX COVERITY: Unchecked return
Change-Id: Ic026d47eb1bbc2e2dbd9b1ee8fceedb34c183ee0
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
Dewal Agarwal [Wed, 12 Dec 2018 04:33:11 +0000 (10:03 +0530)]
Dlog Print Format Updates
Change-Id: Ic06b92ca4619f9da016eeca16bd6be9aabead5ce
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
Dewal Agarwal [Mon, 22 Oct 2018 11:35:27 +0000 (17:05 +0530)]
Dbus Configuration Changes
Change-Id: I97bb9279c6b4918d0dfd5082591c22026f8d93b3
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
Abhishek Vijay [Mon, 1 Oct 2018 16:58:52 +0000 (22:28 +0530)]
Dbus configuration changes
Change-Id: Ic008642b028c69f11cfe82b5384812667c731e1f
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
INSUN PYO [Thu, 9 Aug 2018 05:34:35 +0000 (14:34 +0900)]
Change the method to check if /opt/usr is ready.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I02fbaafb1d14b92d1eb26c0e403759a81b35bc51
kibak.yoon [Fri, 29 Jun 2018 08:59:25 +0000 (17:59 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Fix upgrade script for sensor recorder
Remove context-store feature
500.context-service.sh: Use four-digit version
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Ifa0ba7eb124df5fe2a52ee4734eedbe45cb7dc0d
Abhishek Vijay [Wed, 11 Apr 2018 09:43:26 +0000 (09:43 +0000)]
Revert "[Dbus/Cynara Policy Fix]"
This reverts commit
3747b79b6cc0e5477334d9b0c14b7c8288dcb0b9.
Change-Id: Ida53327d3c87b04b04653ff49bd71b88aba39c8f
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 [Thu, 25 Jan 2018 08:52:57 +0000 (17:52 +0900)]
Fix upgrade script for sensor recorder
Change-Id: I390631426cf68ab97438cb437ae6ed4ad5b938f6
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 25 Jan 2018 06:57:14 +0000 (15:57 +0900)]
Remove context-store feature
Change-Id: Ifa1e14ed7f4048a876bc35e561d71290ea70b2f9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Sunmin Lee [Wed, 27 Dec 2017 01:21:57 +0000 (10:21 +0900)]
500.context-service.sh: Use four-digit version
For compatibility, use four-digit version number for update.
Change-Id: If45e0a30916bfd333e4a88ae182bbf2e450f7759
(cherry picked from commit
88f1b77f114151f5a26b6eecd383618795735935)
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>