platform/core/context/context-service.git
6 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>
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 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 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() 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 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 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>
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 agoEnable profile-featuring for PolicyManager 46/76746/1
Mu-Woong Lee [Mon, 27 Jun 2016 06:32:34 +0000 (15:32 +0900)]
Enable profile-featuring for PolicyManager

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change-Id: I09541f9cf01581796a6b724287e4e7b6a1953b76
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImplement PolicyRequest::getClient() member function 18/67718/1
Mu-Woong Lee [Thu, 28 Apr 2016 06:33:19 +0000 (15:33 +0900)]
Implement PolicyRequest::getClient() member function

It should not return NULL.

Change-Id: I9bb2508937aad266a8c9cd73a22dcced89856de2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMonitor WiFi state continuously 17/67717/1
Mu-Woong Lee [Thu, 28 Apr 2016 06:31:50 +0000 (15:31 +0900)]
Monitor WiFi state continuously

For usage logging, the current WiFi address needs to be tracked continuously.

Change-Id: I1b584cb86db2a1ef1c2ff97d0a49e4e923fabc3f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd some missing self-destruction scheduling points of ProviderHandler 02/67702/1
Mu-Woong Lee [Thu, 28 Apr 2016 05:52:44 +0000 (14:52 +0900)]
Add some missing self-destruction scheduling points of ProviderHandler

Change-Id: I4ba6c014f5d4f6341c481b1f93541a1041c44f7f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoEach provider handler is self-destructed if there is no remaining request 72/67672/1
Mu-Woong Lee [Thu, 28 Apr 2016 02:56:00 +0000 (11:56 +0900)]
Each provider handler is self-destructed if there is no remaining request

Change-Id: I688b0bd36cd56eb91e754d2a5acd55ab14996557
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisable launch-time loading of social stats logger & place detector 83/67583/1
Mu-Woong Lee [Wed, 27 Apr 2016 09:40:14 +0000 (18:40 +0900)]
Disable launch-time loading of social stats logger & place detector

Change-Id: I361c68a50ce67a3afbb04fab259bad9f9b5b67f5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoAdd PolicyManager for enabling usage loggers at launch time 60/67560/1
Mu-Woong Lee [Wed, 27 Apr 2016 08:20:37 +0000 (17:20 +0900)]
Add PolicyManager for enabling usage loggers at launch time

Change-Id: I754e7962f88b65f61a41d5c644d2a4b19d2ded38
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply on-demand loading of provider objects 11/67311/4
Mu-Woong Lee [Tue, 26 Apr 2016 08:10:28 +0000 (17:10 +0900)]
Apply on-demand loading of provider objects

This patch only allows on-demand loading & creation of providers.
'destroy-on-idle' logic also needs to be implemented.

Plus, implicit dummy subscribers for the data loggers need to be implemented.

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