platform/core/context/context-service.git
3 years agoChange systemd-devel package name 50/252850/1 accepted/tizen/unified/20210215.130844 submit/tizen/20210215.052546
INSUN PYO [Wed, 3 Feb 2021 00:47:14 +0000 (09:47 +0900)]
Change systemd-devel package name

Change-Id: I88cbb9d222d2a1721fc9088c362712b1df8ef6d5

4 years agoRemove OS upgrade script 79/211979/2
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>
5 years agoMerge "Dbus configuration changes" into tizen accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.024532 accepted/tizen/5.5/unified/mobile/hotfix/20201027.085106 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115156 accepted/tizen/6.0/unified/20201030.120720 accepted/tizen/6.0/unified/hotfix/20201103.051106 accepted/tizen/unified/20190822.045447 submit/tizen/20190821.105032 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 submit/tizen_5.5_wearable_hotfix/20201026.184303 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_5.5.m2_release tizen_6.0.m2_release
Randeep Singh [Wed, 21 Aug 2019 10:42:56 +0000 (10:42 +0000)]
Merge "Dbus configuration changes" into tizen

5 years agoRevert "tizen: Add additional unit for "unified" user session" 00/212300/3
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

5 years agoDbus configuration changes 24/211624/1
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>
5 years ago[NonACR]add rule for sensor-recorder interface 22/210222/2 accepted/tizen/unified/20190717.220452 submit/tizen/20190717.144658
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>
5 years agoRemove unnecessary setting 71/209571/1 accepted/tizen/unified/20190715.111759 submit/tizen/20190715.044220
INSUN PYO [Tue, 9 Jul 2019 03:40:29 +0000 (12:40 +0900)]
Remove unnecessary setting

Change-Id: I79d73823fe6770701d04ea9d7b04e193bb364a4a

5 years agoRemove unnecessary settings on contextd-agent.socket 82/208382/1 submit/tizen/20190625.114106
INSUN PYO [Mon, 24 Jun 2019 02:38:10 +0000 (11:38 +0900)]
Remove unnecessary settings on contextd-agent.socket

Change-Id: Ic0147738cf5f96e76e7414985e776d1029e22635

5 years agotizen: Add additional unit for "unified" user session 31/204131/1 accepted/tizen/unified/20190502.112830 submit/tizen/20190430.135939
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

5 years agoFIX COVERITY: Unchecked return 30/199630/1 accepted/tizen/unified/20190214.060707 submit/tizen/20190213.100443
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>
5 years agoDlog Print Format Updates 58/195258/1 accepted/tizen/unified/20181217.142237 submit/tizen/20181212.095503 submit/tizen/20181214.061228
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>
6 years agoDbus Configuration Changes 04/191704/1 accepted/tizen/unified/20181107.082210 submit/tizen/20181022.115419 submit/tizen/20181106.121235
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>
6 years agoDbus configuration changes 17/190417/6 submit/tizen/20181022.055355
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>
6 years agoChange the method to check if /opt/usr is ready. 42/186342/3 accepted/tizen/5.0/unified/20181102.015442 accepted/tizen/unified/20180820.060033 submit/tizen/20180817.053433 submit/tizen_5.0/20181101.000003
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

6 years agoMerge branch 'devel/tizen' into tizen 83/182983/1 accepted/tizen/unified/20180702.062919 submit/tizen/20180629.102941
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

6 years agoRevert "[Dbus/Cynara Policy Fix]" 53/175653/2 accepted/tizen/unified/20180412.073754 accepted/tizen/unified/20180522.052836 submit/tizen/20180410.083915 submit/tizen/20180518.103323
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

6 years ago[Non-ACR][Change ListenStream Path] 05/175405/2
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>
6 years ago[Contextd][Adding -z,relro options] 04/174704/4
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>
6 years ago[Dbus/Cynara Policy Fix] 56/174656/2
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>
6 years agoFix upgrade script for sensor recorder 74/168274/2 devel/tizen
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>
6 years agoRemove context-store feature 45/168245/2
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>
6 years ago500.context-service.sh: Use four-digit version 12/167812/1
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)

6 years agoMerge branch 'devel/tizen' into tizen 33/161533/1 accepted/tizen/unified/20171124.064714 submit/tizen/20171124.020017
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>
6 years agoRemove session-utils dependency(contextd-agent) 23/161523/1
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>
7 years agoMerge branch 'devel/tizen' into tizen 91/149491/1 accepted/tizen/unified/20170913.070913 submit/tizen/20170911.104439
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>
7 years agoFix coding rule violations 04/149104/1
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>
7 years agoMerge branch 'devel/tizen' into tizen 70/146870/1 accepted/tizen/unified/20170904.144519 submit/tizen/20170904.032954
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

7 years agoRW script updated(drop unnecessary tables) 92/145992/1 accepted/tizen/unified/20170901.025952 submit/tizen/20170824.104636
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)

7 years agoRW script updated(drop unnecessary tables) 69/145969/1
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>
7 years agoRW update script 99/145299/1
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)

7 years agoRW update script 07/144707/2
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>
7 years agoSmackProcessLabel specified 93/143793/1 accepted/tizen/4.0/unified/20170828.223429 accepted/tizen/unified/20170816.160416 submit/tizen/20170816.091330 submit/tizen_4.0/20170828.100003
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)

7 years agoSmackProcessLabel specified 65/143765/1
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>
7 years agoVersion 4.0.3: Rename ServerBase.* to MainLoop.* by following the Tizen naming rules 44/143044/2
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>
7 years agoFix memory leaks: ServiceRunner::~ServiceRunner deletes its service instance 49/142649/1
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>
7 years agocontext-agent requires session-utils 98/142198/2
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>
7 years agoStore the dbus connection while launching the service 12/141912/1 accepted/tizen/4.0/unified/20170816.010726 accepted/tizen/4.0/unified/20170816.014414 accepted/tizen/unified/20170802.151536 submit/tizen/20170802.043634 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
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)

7 years agoVersion 4.0.2 09/141909/1
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>
7 years agoAdd defence code to handle socket read failure 06/141806/2
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>
7 years agoagent daemon self-terminates when it is idle 75/141775/3
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>
7 years agoImplement the agent daemon 56/141256/13
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>
7 years agoRemove the legacy agent service implementation 53/141253/2
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>
7 years agoStore the dbus connection while launching the service 78/141278/1
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>
7 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)

7 years agoVersion 4.0.1 39/138539/1
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>
7 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)

7 years agoCleanup non-class function names 10/138510/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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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)

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>