platform/core/context/context-service.git
8 years agoMerge branch 'devel/tizen_3.0' into tizen 84/89984/1 accepted/tizen/3.0/ivi/20161011.043932 accepted/tizen/3.0/mobile/20161015.032931 accepted/tizen/3.0/wearable/20161015.082205 accepted/tizen/common/20160928.164051 accepted/tizen/ivi/20160929.001929 accepted/tizen/mobile/20160929.001817 accepted/tizen/wearable/20160929.001938 submit/tizen/20160928.054547 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Mu-Woong Lee [Wed, 28 Sep 2016 02:47:58 +0000 (11:47 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Return an error instantly if the subject string is empty
  Remove legacy code for supporting Tizen 2.x

Change-Id: Ib0c689172edb983cccd1afa4f6faac4de7623fc9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 58/87358/1 accepted/tizen/common/20160907.154910 accepted/tizen/ivi/20160908.044447 accepted/tizen/mobile/20160908.044357 accepted/tizen/wearable/20160908.044421 submit/tizen/20160907.123648
Mu-Woong Lee [Wed, 7 Sep 2016 12:24:32 +0000 (21:24 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.6
  Subscribed to battery statistics logger
  Add 'PATH' environment variable to the upgrade script
  Upgrade script
  Use modified names of keys & types' definition
  Enable MyPlace detector

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
scripts/context-service_upgrade.sh

Change-Id: I2e28d70cb0208c005d77aeced5c246e7b763aaf0

8 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>
8 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>
8 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>
8 years agoUpgrade script 76/85976/1 accepted/tizen/common/20160830.150016 accepted/tizen/ivi/20160830.061312 accepted/tizen/mobile/20160830.061258 accepted/tizen/wearable/20160830.061305 submit/tizen/20160829.100638
Somin Kim [Tue, 30 Aug 2016 02:38:01 +0000 (11:38 +0900)]
Upgrade script

Change-Id: I589c213e1fc689e3b7aa0635abdf4f85e8390637
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit 0a0f41d18eb310787d7a44e33b71b9b0839b7609)

8 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>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 52/79052/1 accepted/tizen/common/20160708.141020 accepted/tizen/ivi/20160709.015009 accepted/tizen/mobile/20160709.014941 accepted/tizen/wearable/20160709.014958 submit/tizen/20160708.084014
Mu-Woong Lee [Fri, 8 Jul 2016 03:52:33 +0000 (12:52 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.4
  Fix to return proper errors in case of sync-read failures

Change-Id: Ib4cca588629dea956937454c9b6cec1c3cbade97
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 96/77896/1 accepted/tizen/common/20160705.170013 accepted/tizen/ivi/20160705.045047 accepted/tizen/mobile/20160705.045107 accepted/tizen/wearable/20160705.045032 submit/tizen/20160705.023110
Mu-Woong Lee [Fri, 1 Jul 2016 11:25:04 +0000 (20:25 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.3
  policy: enable heart-rate sensor recording provider
  Remove unnecessary depenencies
  Enable sleep monitor recording

Change-Id: Ie03802b04fe68095e8741da4d0f0f48dfa2e8949
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 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>
8 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>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 04/76904/1 accepted/tizen/common/20160628.141457 accepted/tizen/ivi/20160628.065912 accepted/tizen/mobile/20160628.065927 accepted/tizen/wearable/20160628.065851 submit/tizen/20160628.050740
Mu-Woong Lee [Tue, 28 Jun 2016 01:19:54 +0000 (10:19 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Enable profile-featuring for PolicyManager
  Simplify PolicyManager by adding a map for subscription requests
  Fix build errors w.r.t. the changes in context-common

Change-Id: I87235fe05e08114e063eab1b09182f5ce9bbe0d4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 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>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 28/76328/1 accepted/tizen/common/20160627.191157 accepted/tizen/ivi/20160623.121120 accepted/tizen/mobile/20160623.121024 accepted/tizen/wearable/20160623.121106 submit/tizen/20160622.045445
Mu-Woong Lee [Thu, 23 Jun 2016 11:19:01 +0000 (20:19 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Modified trigger table, column names as camel case
  Re-establish custom provider - Policy manager subscribes custom manager

Change-Id: Icdfd40a65dc83fec1a6c3223dd15571a5f7a9ba5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 95/73295/1
Somin Kim [Tue, 7 Jun 2016 10:48:45 +0000 (19:48 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.9.0
  Update build dependency w.r.t. the change of context-common
  Add TRIGGER_SUPPORT build feature for turning on/off the trigger
  Add SYSTEM_SERVICE & LEGACY_SECURITY build features to support Tizen 2.x

Change-Id: I1f269b159936a1fb6e381ba58dff411a481135d3
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 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>
8 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>
8 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>
8 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>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 68/70868/1 accepted/tizen/common/20160526.145758 accepted/tizen/ivi/20160524.004531 accepted/tizen/mobile/20160524.004502 accepted/tizen/wearable/20160524.004444 submit/tizen/20160523.074005
Mu-Woong Lee [Mon, 23 May 2016 05:53:21 +0000 (14:53 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.8.1
  Add DBus methods for privilege checking of client apps
  Cynara configuration applied(cache size)

Change-Id: Ia551b2f796b0ff5e9ed4b7d12b65892e32f5aed5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 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 agoMerge branch 'devel/tizen_3.0' into tizen 00/69800/1 accepted/tizen/common/20160517.174103 accepted/tizen/ivi/20160517.032910 accepted/tizen/mobile/20160517.033216 accepted/tizen/wearable/20160517.033006 submit/tizen/20160517.020001
Somin Kim [Tue, 17 May 2016 01:33:46 +0000 (10:33 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Remove memory leak - Release enabled rule instances
  Rename the provider libraries' factory symbol to 'CreateProvider'

Change-Id: Ibdd1b8b32a166f70a76f50c5e911a76df424973d
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 agoMerge branch 'devel/tizen_3.0' into tizen 23/68823/1 accepted/tizen/common/20160510.141215 accepted/tizen/ivi/20160510.070714 accepted/tizen/mobile/20160510.070709 accepted/tizen/wearable/20160510.070603 submit/tizen/20160510.043636
Somin Kim [Tue, 10 May 2016 04:29:12 +0000 (13:29 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Fix is_supported() to skip privilege check

Change-Id: Ie0d543127880be933046e8c8801f5176609df3a4
Signed-off-by: Somin Kim <somin926.kim@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 agoMerge branch 'devel/tizen_3.0' into tizen 32/68332/1 accepted/tizen/common/20160504.153330 accepted/tizen/ivi/20160504.114841 accepted/tizen/mobile/20160504.114438 accepted/tizen/wearable/20160504.114608 submit/tizen/20160504.014504
Mu-Woong Lee [Tue, 3 May 2016 11:45:55 +0000 (20:45 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Check null when TemplateManager is destroyed

Change-Id: I63eec4d9e7e50b127068ca559b8774e8523b6d9a
Signed-off-by: Mu-Woong Lee <muwoong.lee@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 agoMerge branch 'devel/tizen_3.0' into tizen 78/68178/1 accepted/tizen/common/20160504.125342 accepted/tizen/ivi/20160503.093129 accepted/tizen/mobile/20160503.093036 accepted/tizen/wearable/20160503.093109 submit/tizen/20160503.015801
Mu-Woong Lee [Tue, 3 May 2016 01:51:49 +0000 (10:51 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0: (21 commits)
  Version 0.8.0
  Check if item is supported before template request
  Prevent unloading non-unloadable providers
  Switch to gmodule from linux dl functions
  Implement PolicyRequest::getClient() member function
  Monitor WiFi state continuously
  Add some missing self-destruction scheduling points of ProviderHandler
  Each provider handler is self-destructed if there is no remaining request
  Disable launch-time loading of social stats logger & place detector
  Add PolicyManager for enabling usage loggers at launch time
  Apply on-demand loading of provider objects
  Add library file list loader & statis trigger template loader
  Apply launch-time loading routine for providers
  Modify notification action behavior related to sound, vibration
  Update License text
  Disable TV profile build explicitly
  Replace runtime-info and system-settings APIs with vconf to reduce memory consumption
  Remove the lazy creation routine for context providers
  Replace types_internal.h with Types.h
  Replace db_manager with DatabaseManager
  ...

Change-Id: I4a7b8421576fadc7897cd2f5907fa34c6ba307a6
Signed-off-by: Mu-Woong Lee <muwoong.lee@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>
8 years agoAdd library file list loader & statis trigger template loader 35/67235/4
Mu-Woong Lee [Tue, 26 Apr 2016 02:55:20 +0000 (11:55 +0900)]
Add library file list loader & statis trigger template loader

Change-Id: I69796755f74e443d83b4a633614832706c8c2c0f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply launch-time loading routine for providers 92/67092/5
Mu-Woong Lee [Mon, 25 Apr 2016 07:17:30 +0000 (16:17 +0900)]
Apply launch-time loading routine for providers

It will be modified to load only the necessary providers on demand.

Change-Id: I81f622c42dd3ae5d0615feb2aa1592006e67c6f0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Update License text" into devel/tizen_3.0
Mu-Woong Lee [Thu, 21 Apr 2016 05:19:15 +0000 (22:19 -0700)]
Merge "Update License text" into devel/tizen_3.0

8 years agoModify notification action behavior related to sound, vibration 01/66701/3
Somin Kim [Wed, 20 Apr 2016 08:21:05 +0000 (17:21 +0900)]
Modify notification action behavior related to sound, vibration

Change-Id: I95f501065cb473d6de011aa2d9fa1fe08a2bcd7a
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoUpdate License text 06/66706/1
Mu-Woong Lee [Wed, 20 Apr 2016 11:12:48 +0000 (20:12 +0900)]
Update License text

Change-Id: I2d9bfeb8d226559ca0764f46cc5efcf837696c11
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoDisable TV profile build explicitly 51/66551/1
Mu-Woong Lee [Tue, 19 Apr 2016 10:59:53 +0000 (19:59 +0900)]
Disable TV profile build explicitly

Change-Id: Ied7fcbdd1a584a9c1d4b99ef294b7febf9260e97
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace runtime-info and system-settings APIs with vconf to reduce memory consumption 89/66489/1
Mu-Woong Lee [Tue, 19 Apr 2016 07:24:03 +0000 (16:24 +0900)]
Replace runtime-info and system-settings APIs with vconf to reduce memory consumption

Change-Id: If4dc0a132608bec3c610fafca5a9072fa777b65b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove the lazy creation routine for context providers 66/66266/5
Mu-Woong Lee [Mon, 18 Apr 2016 06:25:28 +0000 (15:25 +0900)]
Remove the lazy creation routine for context providers

Change-Id: Ie8bc5c7ddb1832a86e2db4c9eec1eb3f1fda6fa1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace types_internal.h with Types.h 01/66101/1
Mu-Woong Lee [Fri, 15 Apr 2016 07:27:43 +0000 (16:27 +0900)]
Replace types_internal.h with Types.h

Change-Id: I42b9cacfbb60b628402419bd868555a670ecbf65
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace db_manager with DatabaseManager 05/66005/1
Mu-Woong Lee [Thu, 14 Apr 2016 12:17:57 +0000 (21:17 +0900)]
Replace db_manager with DatabaseManager

Change-Id: I4f6efffa42131858d757236543579a27138949f8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApplying Tizen C++ coding style to Server 52/65652/1
Somin Kim [Tue, 12 Apr 2016 04:41:55 +0000 (13:41 +0900)]
Applying Tizen C++ coding style to Server

Change-Id: If087f170d7958ffdd1ed3b1b6761b7a81ccb9d75
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 63/65263/1 accepted/tizen/common/20160408.185625 accepted/tizen/ivi/20160411.004933 accepted/tizen/mobile/20160411.004856 accepted/tizen/wearable/20160411.004907 submit/tizen/20160408.073002
Mu-Woong Lee [Fri, 8 Apr 2016 06:54:15 +0000 (15:54 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.7.5
  Apply journal_mode = WAL to the DB
  Modified ContextManagerImpl according to provider initialization change
  Modify some build optimization options
  Apply Tizen C++ coding style to Request
  Apply Tizen C++ coding style to context_mamanger_impl, provider(ProviderHandler)
  Apply Tizen C++ coding style to Access Control
  Apply Tizen C++ coding style to Context Trigger
  Modified to add/remove a template synchronously after initialization
  Version 0.7.3

Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Conflicts:
packaging/context-service.spec

Change-Id: I433f47dab208ab4ae9379a9f0d3fe7f10f800fd5

8 years agoVersion 0.7.5 07/65207/1
Somin Kim [Fri, 8 Apr 2016 01:53:52 +0000 (10:53 +0900)]
Version 0.7.5

Change-Id: Ieba387b93a31816a8cbd506c7d28805190549dd8
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply journal_mode = WAL to the DB 00/65100/1
Mu-Woong Lee [Thu, 7 Apr 2016 08:15:46 +0000 (17:15 +0900)]
Apply journal_mode = WAL to the DB

Change-Id: I1c59e3cd255167b8657f98e03032f1e6c47d5d09
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModified ContextManagerImpl according to provider initialization change 70/64870/1
Somin Kim [Wed, 6 Apr 2016 02:18:20 +0000 (11:18 +0900)]
Modified ContextManagerImpl according to provider initialization change

Change-Id: Ia65ba8aaf108e28462a8b54e16f2e98bbd7ba220
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModify some build optimization options 22/64622/1
Mu-Woong Lee [Mon, 4 Apr 2016 08:28:25 +0000 (17:28 +0900)]
Modify some build optimization options

Change-Id: Ia41436b97d09fdb8ac223d319bc350ba2712fb1a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to Request 01/64601/1
Somin Kim [Mon, 4 Apr 2016 06:16:09 +0000 (15:16 +0900)]
Apply Tizen C++ coding style to Request

Change-Id: Id9a84a7c8804fad2acd3bbb6d78f93f0e2046899
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to context_mamanger_impl, provider(ProviderHandler) 99/64599/1
Somin Kim [Mon, 4 Apr 2016 05:40:57 +0000 (14:40 +0900)]
Apply Tizen C++ coding style to context_mamanger_impl, provider(ProviderHandler)

Change-Id: If8fa689ccd04851ff53ff433afd5fad2fce7335d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to Access Control 95/64395/4
Somin Kim [Fri, 1 Apr 2016 02:47:25 +0000 (11:47 +0900)]
Apply Tizen C++ coding style to Access Control

Change-Id: Ieb065f8f088a87cb616dd4057a418be97e25cd58
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to Context Trigger 61/64261/3
Somin Kim [Thu, 31 Mar 2016 05:23:00 +0000 (14:23 +0900)]
Apply Tizen C++ coding style to Context Trigger

Change-Id: I4a965f384b44f5c0507f2bd316a7ca65f77b2704
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified to add/remove a template synchronously after initialization 08/63308/2
Somin Kim [Wed, 23 Mar 2016 05:05:25 +0000 (14:05 +0900)]
Modified to add/remove a template synchronously after initialization

Change-Id: I8187258c689b890df5a754d8f7c35a2c6835f496
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.3 24/62024/1 accepted/tizen_tv accepted/tizen/common/20160315.220854 accepted/tizen/ivi/20160314.104758 accepted/tizen/mobile/20160314.104659 accepted/tizen/tv/20160314.104713 accepted/tizen/wearable/20160314.104738 submit/tizen/20160314.020719
Somin Kim [Mon, 14 Mar 2016 01:46:33 +0000 (10:46 +0900)]
Version 0.7.3

Change-Id: Ic8d0af6c7dae90d618b0ff2d81269da4a829d73b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
(cherry picked from commit 6f624f3fba6ab0d213297bac9df0838f1db0d67f)

8 years agoVersion 0.7.3 19/62019/1
Somin Kim [Mon, 14 Mar 2016 01:46:33 +0000 (10:46 +0900)]
Version 0.7.3

Change-Id: Ic8d0af6c7dae90d618b0ff2d81269da4a829d73b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 34/61634/1
Somin Kim [Wed, 9 Mar 2016 08:55:24 +0000 (17:55 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Replace timer_manager & timer_util with TimerManager
  Replace ctx::json with ctx:Json
  Remove direct build dependency to context-common
  Modified trigger to use package id for rule management - request get_app_id() removed
  Modified template manager as singleton - rule_manager calls apply_templates() to synchronize template db
  Modified to support custom item
  Apply Tizen C++ coding style to the constructor of DBusServer
  Replace scope_mutex with ScopeMutex
  Remove dependency to libxml from CMakeLists

Change-Id: Ie25522bdbb3bbca9ba7405b2887180f684ffc2fd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoReplace timer_manager & timer_util with TimerManager 03/60203/2
Mu-Woong Lee [Wed, 24 Feb 2016 06:31:53 +0000 (15:31 +0900)]
Replace timer_manager & timer_util with TimerManager

Change-Id: I7864674c5c166a530c10817dbb735fe80d6b120e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace ctx::json with ctx:Json 79/60079/1
Mu-Woong Lee [Tue, 23 Feb 2016 07:41:00 +0000 (16:41 +0900)]
Replace ctx::json with ctx:Json

Change-Id: I78ac7a0ca09bd33eaa15bba0a2eb901a7654c45c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove direct build dependency to context-common 88/59588/2
Mu-Woong Lee [Tue, 16 Feb 2016 12:42:52 +0000 (21:42 +0900)]
Remove direct build dependency to context-common

Change-Id: Ic30f4d5eac378cfd8819ca0b76eb43954637121a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModified trigger to use package id for rule management 33/59433/1
Somin Kim [Mon, 15 Feb 2016 11:13:21 +0000 (20:13 +0900)]
Modified trigger to use package id for rule management
- request get_app_id() removed

Change-Id: Iaef20e72b9a13974bc5ec246e461a9db99589e2b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified template manager as singleton 58/58558/5
Somin Kim [Mon, 1 Feb 2016 12:06:11 +0000 (21:06 +0900)]
Modified template manager as singleton
- rule_manager calls apply_templates() to synchronize template db

Change-Id: I9b3b5d7fac7d78f61c15f3ae660a63d92be72494
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoModified to support custom item 71/57571/8
Somin Kim [Thu, 21 Jan 2016 05:08:15 +0000 (14:08 +0900)]
Modified to support custom item

Change-Id: I7bce0422916ae89749a41ea5586cebb5c14d490d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApply Tizen C++ coding style to the constructor of DBusServer 80/59380/1
Mu-Woong Lee [Mon, 15 Feb 2016 06:47:15 +0000 (15:47 +0900)]
Apply Tizen C++ coding style to the constructor of DBusServer

Change-Id: Id7d43bc03e5552322d28ea9d7b5cbd4ebc0b49ee
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace scope_mutex with ScopeMutex 74/59374/1
Mu-Woong Lee [Mon, 15 Feb 2016 06:30:19 +0000 (15:30 +0900)]
Replace scope_mutex with ScopeMutex

Change-Id: Ibe0984d80afee1c680568e038a4feedd0826a2bf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove dependency to libxml from CMakeLists 63/59163/1 accepted/tizen/ivi/20160218.023330 accepted/tizen/mobile/20160211.083521 accepted/tizen/tv/20160211.083539 accepted/tizen/wearable/20160211.083600 submit/tizen/20160211.055628 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Mu-Woong Lee [Thu, 11 Feb 2016 05:36:38 +0000 (14:36 +0900)]
Remove dependency to libxml from CMakeLists

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

8 years agoRemove dependency to libxml from CMakeLists 62/59162/1
Mu-Woong Lee [Thu, 11 Feb 2016 05:36:38 +0000 (14:36 +0900)]
Remove dependency to libxml from CMakeLists

Change-Id: I89300aa406b21ff3781914d66505e70b7a1ab347
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 61/59161/1
Mu-Woong Lee [Thu, 11 Feb 2016 05:25:34 +0000 (14:25 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Version 0.7.2
  Cleanup compile warning flags
  Remove context-service.xml
  Re-implement dbus_server_impl as DBusServer
  Remove dependency to deprecated dbus_server
  Apply Tizen C++ coding style to EventDrivenThread

Change-Id: I1527cc49fe421cdf9eddf033548f18170d3ca5fd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.2 56/59156/1
Mu-Woong Lee [Thu, 11 Feb 2016 05:13:56 +0000 (14:13 +0900)]
Version 0.7.2

Change-Id: Ie13bf5752007e51e37976486eef040794d01e581
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCleanup compile warning flags 42/59142/1
Mu-Woong Lee [Thu, 11 Feb 2016 04:24:10 +0000 (13:24 +0900)]
Cleanup compile warning flags

Change-Id: I7710fdf0b9c8f83884182f4590b13c48660cd551
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove context-service.xml 41/59141/1
Mu-Woong Lee [Thu, 11 Feb 2016 04:14:15 +0000 (13:14 +0900)]
Remove context-service.xml

Change-Id: I6d103ba6306ac48fc5ec4565bae1543a0d44b944
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRe-implement dbus_server_impl as DBusServer 57/58957/4
Mu-Woong Lee [Fri, 5 Feb 2016 09:33:10 +0000 (18:33 +0900)]
Re-implement dbus_server_impl as DBusServer

Change-Id: I74fa34f995ca854cd1a91f7919deef048c9d332d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove dependency to deprecated dbus_server 30/58930/2
Mu-Woong Lee [Fri, 5 Feb 2016 05:49:11 +0000 (14:49 +0900)]
Remove dependency to deprecated dbus_server

Change-Id: I3b656e458bb25eaecfb95521f8e4619c5af70fad
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style to EventDrivenThread 92/58592/1
Mu-Woong Lee [Tue, 2 Feb 2016 06:15:59 +0000 (15:15 +0900)]
Apply Tizen C++ coding style to EventDrivenThread

Change-Id: I6d472742320351ecab16847a1c2476f3eceab221
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 07/57107/1 accepted/tizen/mobile/20160118.044022 accepted/tizen/tv/20160118.044051 accepted/tizen/wearable/20160118.044112 submit/tizen/20160118.014643
Mu-Woong Lee [Fri, 15 Jan 2016 06:33:56 +0000 (15:33 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Implement session & system dbus signal subscribers
  Postpone client requests delivered before the service is ready
  Remove ecore handling routine as it is not used anymore
  Fix issues detected by static program analysis
  Version 0.7.0
  Switch to use context-provider, instead of device, statistics, and place-context-providers
  Removed clips dependency
  Replace CLIPS with the internal rule evaluator
  Modified to handle get template request - Added template manager
  Fix operator error during time event handling
  Modified cotext monitor as singleton
  Removed time alarm, now item
  Remove uninstalled creator's rule after event received
  Remove unnecessary headers included
  Arrange SQL query string in rule manager
  Added context_fact_types.h
  Timer related items are recovered. Double quotations around comparison string are removed.
  Modified to read conditions aynchronously
  Added trigger rule class. - Removed script generator, clips handler. - Timer event/condition not working - Condition not working
  Modified Context Trigger to run on the main thread. (Removed fact_reader)

Change-Id: I6fc4badc0d219efe722b70a0d8ab376c67b574dc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImplement session & system dbus signal subscribers 22/57022/1
Mu-Woong Lee [Thu, 14 Jan 2016 11:04:43 +0000 (20:04 +0900)]
Implement session & system dbus signal subscribers

Change-Id: I95e5a46626d14575c7270f1ace34699cea539512
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoPostpone client requests delivered before the service is ready 93/56993/1
Mu-Woong Lee [Thu, 14 Jan 2016 07:21:28 +0000 (16:21 +0900)]
Postpone client requests delivered before the service is ready

Change-Id: I3fbfebe4fe914e042caa3ee41d0cf5e1e17b2a1b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Remove ecore handling routine as it is not used anymore" into devel/tizen_3.0
Mu-Woong Lee [Thu, 14 Jan 2016 06:59:09 +0000 (22:59 -0800)]
Merge "Remove ecore handling routine as it is not used anymore" into devel/tizen_3.0

8 years agoRemove ecore handling routine as it is not used anymore 89/56989/1
Mu-Woong Lee [Thu, 14 Jan 2016 06:49:28 +0000 (15:49 +0900)]
Remove ecore handling routine as it is not used anymore

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