platform/core/context/context-provider.git
8 years agoCode cleanup: activity providers 93/66793/1
Mu-Woong Lee [Thu, 21 Apr 2016 05:50:29 +0000 (14:50 +0900)]
Code cleanup: activity providers

Change-Id: I652e9847753c61b53b78bcce436bb90923e9c0b4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoSeparate util functions in BasicProvider to the namespace ctx::util 90/66790/1
Mu-Woong Lee [Thu, 21 Apr 2016 05:31:05 +0000 (14:31 +0900)]
Separate util functions in BasicProvider to the namespace ctx::util

Change-Id: I42239d9277ae346dda1a3d4241d392d67c194587
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRename DeviceProviderBase as BasicProvider 75/66775/1
Mu-Woong Lee [Thu, 21 Apr 2016 05:07:49 +0000 (14:07 +0900)]
Rename DeviceProviderBase as BasicProvider

Change-Id: I0d7e97a0d988ce3d619585ad4cbfd81e08b9af85
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoUpdate License text & boilerplates 09/66709/1
Mu-Woong Lee [Wed, 20 Apr 2016 11:21:01 +0000 (20:21 +0900)]
Update License text & boilerplates

Change-Id: I54d0f60dbdd56d31d873d4a63b49c84a7a03a4c4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReorganize the directory structure of source files 56/66556/1
Mu-Woong Lee [Tue, 19 Apr 2016 11:02:53 +0000 (20:02 +0900)]
Reorganize the directory structure of source files

Source directories are roughly separated by their dependencies.
Later, the build script will be updated to produce one shared object per one directory, and a dynamic loading routine will be applied.

Change-Id: Iceaae6740cebc15a89ce0631f13b1254640b12c4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRefactor provider instance initialization routines 08/66308/10
Mu-Woong Lee [Mon, 18 Apr 2016 08:53:10 +0000 (17:53 +0900)]
Refactor provider instance initialization routines

Change-Id: I552e9278ebbfbc408ef76f6a5a5a913fa2d128f1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace the macro EXTAPI with SO_EXPORT 26/66326/1
Mu-Woong Lee [Mon, 18 Apr 2016 10:14:50 +0000 (19:14 +0900)]
Replace the macro EXTAPI with SO_EXPORT

Change-Id: Id4418789b8e408cd1cd30f6c412574f105e503f5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRename app inactive detector in C++ style 11/66111/2
Somin Kim [Fri, 15 Apr 2016 08:24:43 +0000 (17:24 +0900)]
Rename app inactive detector in C++ style

Change-Id: I6129687b83c38f6d9221d4bbeffff1f409384849
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoReplace types_internal.h with Types.h 00/66100/1
Mu-Woong Lee [Fri, 15 Apr 2016 07:27:17 +0000 (16:27 +0900)]
Replace types_internal.h with Types.h

Change-Id: I0c33aba00bd9194b6420cdac9d8ebdd47da3b423
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApplying Tizen C++ coding style to statistics context provider(except prediction) 69/65769/4
Somin Kim [Thu, 7 Apr 2016 01:12:25 +0000 (10:12 +0900)]
Applying Tizen C++ coding style to statistics context provider(except prediction)

Change-Id: If4cb6ec05b0775691d5c82df3e6ce9dc8a2dba7d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove unnecessary explicit dependency to libcontext-shared 92/66092/1
Mu-Woong Lee [Fri, 15 Apr 2016 06:42:07 +0000 (15:42 +0900)]
Remove unnecessary explicit dependency to libcontext-shared

Change-Id: I93b403dd61a6febcd0717c7952e5366a883c0170
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace db_manager with DatabaseManager 03/66003/2
Mu-Woong Lee [Thu, 14 Apr 2016 11:55:43 +0000 (20:55 +0900)]
Replace db_manager with DatabaseManager

Change-Id: Ifc736963fbe1a1cdce917c163f19c93ea01b0d5b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "Modified GeofenceMonitorHandle, DeviceProviderBase to apply Tizen C++ coding...
Mu-Woong Lee [Thu, 14 Apr 2016 11:05:17 +0000 (04:05 -0700)]
Merge "Modified GeofenceMonitorHandle, DeviceProviderBase to apply Tizen C++ coding style" into devel/tizen_3.0

8 years agoModified GeofenceMonitorHandle, DeviceProviderBase to apply Tizen C++ coding style 49/65449/4
Somin Kim [Fri, 8 Apr 2016 05:07:36 +0000 (14:07 +0900)]
Modified GeofenceMonitorHandle, DeviceProviderBase to apply Tizen C++ coding style

Change-Id: Ia3b663a0c1527a719d621053a35753f84a3fad9d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoInactive Application detector engine add 96/61696/5
Andrey Glushkov [Thu, 10 Mar 2016 01:58:15 +0000 (10:58 +0900)]
Inactive Application detector engine add

Change-Id: I409ec771a2287c66f406f7af3c4959a029e37079
Signed-off-by: Andrey Glushkov <a.glushkov@samsung.com>
8 years agoApplying Tizen C++ coding style to place context provider(recognition) part 2. 16/65616/3
Marcin Masternak [Tue, 12 Apr 2016 15:23:35 +0000 (17:23 +0200)]
Applying Tizen C++ coding style to place context provider(recognition) part 2.

Change-Id: Ic8c198dc776eae2261ced0e48b0814ecd0419a5b
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoApplying Tizen C++ coding style to place context provider(recognition) 63/65363/1
Marcin Masternak [Fri, 8 Apr 2016 16:05:49 +0000 (18:05 +0200)]
Applying Tizen C++ coding style to place context provider(recognition)

Change-Id: I7b6afc5838c13dd2098cbeaccca5d6f508ddd030
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoVersion 0.7.5 06/65206/1
Somin Kim [Fri, 8 Apr 2016 01:55:36 +0000 (10:55 +0900)]
Version 0.7.5

Change-Id: Ib8b9d452b443ddc929d2d1d5471061ec1d8e0fea
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApplying Tizen C++ coding style to place context provider(geofence) 22/65122/5
Somin Kim [Thu, 7 Apr 2016 09:28:07 +0000 (18:28 +0900)]
Applying Tizen C++ coding style to place context provider(geofence)

Change-Id: Ic81ae68d2e39dcea8adf4e7fbdbad6bafa9919aa
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApplying Tizen C++ coding style to custom context provider 25/65025/2
Somin Kim [Wed, 6 Apr 2016 04:21:03 +0000 (13:21 +0900)]
Applying Tizen C++ coding style to custom context provider

Change-Id: I7cdbed7358584669caef5eb7ffc5a59c08b70734
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApplying Tizen C++ coding style to device context provider 80/64780/3
Somin Kim [Tue, 5 Apr 2016 08:55:55 +0000 (17:55 +0900)]
Applying Tizen C++ coding style to device context provider

Change-Id: I1d3b75c1192f58facb200dee7f92062b9dbe7ba8
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoApplying Tizen C++ coding style to provider initialization 69/64869/1
Somin Kim [Wed, 6 Apr 2016 02:17:31 +0000 (11:17 +0900)]
Applying Tizen C++ coding style to provider initialization

Change-Id: Icb44282ca2adf5309471e11ef93198ed6220a082
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoBuild a static library, instead of a shared object 21/64621/1
Mu-Woong Lee [Mon, 4 Apr 2016 08:25:29 +0000 (17:25 +0900)]
Build a static library, instead of a shared object

The library is only being used by contextd, thus it does not need to be a shared object.

Change-Id: I0dd3acd582070b946053f87b54f924288c75b8a9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoApply Tizen C++ coding style based on context-common changes 91/64591/2
Somin Kim [Mon, 4 Apr 2016 04:21:59 +0000 (13:21 +0900)]
Apply Tizen C++ coding style based on context-common changes
- ContextManager, IContextManager, ContextProviderBase(context_provider_iface)

Change-Id: Icfbdfaaf570a98aba2115cb3c169722a3f01b7ab
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years ago[place-recognition] Change database asynchronous queries to synchronous. 71/64571/1
Marcin Masternak [Fri, 1 Apr 2016 16:46:29 +0000 (18:46 +0200)]
[place-recognition] Change database asynchronous queries to synchronous.

Change-Id: Ibde511e03c713008ca731acd65da27ec6dfb5b28
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[place-recognition] SVACE buffer overflow warning fix. 59/64359/2
Marcin Masternak [Fri, 1 Apr 2016 11:59:34 +0000 (13:59 +0200)]
[place-recognition] SVACE buffer overflow warning fix.

Change-Id: I7fca0ab40c652c78968880883c05209b4a48b81a
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[place-recognition] Small SVACE defects fix. 31/64331/2
Marcin Masternak [Thu, 31 Mar 2016 12:18:44 +0000 (14:18 +0200)]
[place-recognition] Small SVACE defects fix.

Change-Id: I64f9551a55bf97c0dd16792b999e659871e5b02b
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[place-recognition] Redundant mutex protection remove. 24/64324/1
Marcin Masternak [Thu, 31 Mar 2016 10:57:42 +0000 (12:57 +0200)]
[place-recognition] Redundant mutex protection remove.

Change-Id: I437ead59b6c9dbf6577650d25dc1493c82c2abae
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoChanged attribute key & value for EVENT_CONTACTS 61/62261/2
Somin Kim [Tue, 15 Mar 2016 06:23:19 +0000 (15:23 +0900)]
Changed attribute key & value for EVENT_CONTACTS

Change-Id: I6de90e5bb5664ccc7948ccad22dbeb799515edb4
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.4 34/62234/1
Mu-Woong Lee [Tue, 15 Mar 2016 03:14:48 +0000 (12:14 +0900)]
Version 0.7.4

Change-Id: I0fc1b01f9d55e209b952a7e7823017d675a21b2f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoContacts db changed provider added 12/62112/5
Somin Kim [Mon, 14 Mar 2016 05:27:40 +0000 (14:27 +0900)]
Contacts db changed provider added

Change-Id: Ie09bf1ed628486dd763e6b69aa80c46d1512cf49
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoVersion 0.7.3 18/62018/1
Somin Kim [Mon, 14 Mar 2016 01:46:10 +0000 (10:46 +0900)]
Version 0.7.3

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

Change-Id: I5dc43ccbfb90ef3025c495f0c350327d0e27aafe
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRemove GEO_LOCATION_PRECISION parameter from Json::set() 35/60535/1
Mu-Woong Lee [Mon, 29 Feb 2016 01:50:05 +0000 (10:50 +0900)]
Remove GEO_LOCATION_PRECISION parameter from Json::set()

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

Change-Id: I71196345c2b860cca85701bd8d949f2a43b73e2d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agodevice: update cmake script to support common profile 62/60062/1
Mu-Woong Lee [Tue, 23 Feb 2016 05:01:16 +0000 (14:01 +0900)]
device: update cmake script to support common profile

Change-Id: I35044ae9039f0bf2e08808aa239b59a195875c11
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocmake: switch the dependencies variable to list, from space separated string 89/59889/2
Mu-Woong Lee [Fri, 19 Feb 2016 07:37:27 +0000 (16:37 +0900)]
cmake: switch the dependencies variable to list, from space separated string

Change-Id: Ic503d5f361902314af83c23e8edb939d343cb23c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace namespace ctx::shared with class ctx::SharedVars 90/59790/1
Mu-Woong Lee [Thu, 18 Feb 2016 12:14:47 +0000 (21:14 +0900)]
Replace namespace ctx::shared with class ctx::SharedVars

Change-Id: I2ec7511ddaa05eea4ff0a885a8a069d6701f2c7e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCreate one unified so instead of one so for each provider 99/59699/1
Mu-Woong Lee [Wed, 17 Feb 2016 13:08:05 +0000 (22:08 +0900)]
Create one unified so instead of one so for each provider

Change-Id: I6da5e80c83ca926b47e7d0639c725c304dfcaee9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace build dependency context-common with libcontext-shared & server 87/59587/2
Mu-Woong Lee [Tue, 16 Feb 2016 12:41:41 +0000 (21:41 +0900)]
Replace build dependency context-common with libcontext-shared & server

Change-Id: I8bdcb6e90f29fa579cbc03f5b098a8a98037367d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCustom item recovery logic added when initialized 78/58578/6
Somin Kim [Tue, 2 Feb 2016 04:47:51 +0000 (13:47 +0900)]
Custom item recovery logic added when initialized
(Uninstalled provider's item handling is still needed)

Change-Id: I7e020b28174bbf2f868cd9c255fbe65dbcd1fbc2
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoAdded custom provider 49/57549/8
Somin Kim [Thu, 21 Jan 2016 04:58:06 +0000 (13:58 +0900)]
Added custom provider

Change-Id: I4fee414b0d952b02e0256bf71f6e4a7c05593167
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
8 years agoRemove mutexing from device_status_alarm 72/59372/2
Mu-Woong Lee [Mon, 15 Feb 2016 06:29:45 +0000 (15:29 +0900)]
Remove mutexing from device_status_alarm

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

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

Change-Id: I9a390c5e77a00b06f466b4b5c7115f2a5267e785
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoReplace dbus_server with DBusSignalWatcher 28/58928/2
Mu-Woong Lee [Fri, 5 Feb 2016 05:42:49 +0000 (14:42 +0900)]
Replace dbus_server with DBusSignalWatcher

Change-Id: I39d5490d8899fe8311ff36aa63b75e927bb7d6f8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoVersion 0.7.1 31/58731/1
Mu-Woong Lee [Wed, 3 Feb 2016 06:45:01 +0000 (15:45 +0900)]
Version 0.7.1

Change-Id: I18f4ded1af595174c779d163eda7644873aee499
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agostatistics: modify foregroun app monitor to run in two-phases 53/58653/2
Mu-Woong Lee [Tue, 2 Feb 2016 11:58:27 +0000 (20:58 +0900)]
statistics: modify foregroun app monitor to run in two-phases

Creating a log record when an app goes to foreground,
and update the duration attribute of the record when another app goes to foreground.

Change-Id: I68f336d78b24e86056d4bfa68c753d831d0ba14d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years ago[prediction] for brackets {} convention apply. 77/57977/3
Marcin Masternak [Tue, 2 Feb 2016 10:41:54 +0000 (11:41 +0100)]
[prediction] for brackets {} convention apply.

Change-Id: I0f29bfabf91155c1d2bed493f9886e9074c2fc3e
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years ago[prediction] #ifndef _<PROJECT>_<FILE>_H_ convention apply. 75/57975/2
Marcin Masternak [Tue, 2 Feb 2016 10:36:50 +0000 (11:36 +0100)]
[prediction] #ifndef _<PROJECT>_<FILE>_H_ convention apply.

Change-Id: I55a3ad34b6b239ae1b759211e9db51e8e8b28656
Signed-off-by: Marcin Masternak <m.masternak@samsung.com>
8 years agoUpdate enum names of contacts-service, which are modified 25/57525/1
Mu-Woong Lee [Thu, 21 Jan 2016 01:08:29 +0000 (10:08 +0900)]
Update enum names of contacts-service, which are modified

Change-Id: Ic286d91f4a46e35cf8ccd1b0c94a3f3eeeee5b3d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoModify the app usage logger to exploit aul signals 21/57021/1
Mu-Woong Lee [Thu, 14 Jan 2016 11:03:47 +0000 (20:03 +0900)]
Modify the app usage logger to exploit aul signals

Change-Id: I32fc3885629e3abf2aaf2798d62aa070989c98fd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix cmake scripts to set LOG_TAG properly 13/57013/1
Mu-Woong Lee [Thu, 14 Jan 2016 10:25:52 +0000 (19:25 +0900)]
Fix cmake scripts to set LOG_TAG properly

Change-Id: Ife8694d2d0e0d3dbc5804e4a4956bf7d78b84a89
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoFix issues detected by static program analysis 76/56976/1
Mu-Woong Lee [Thu, 14 Jan 2016 05:16:44 +0000 (14:16 +0900)]
Fix issues detected by static program analysis

Change-Id: I5fcb11ba212898776687ce1075803a8dbbdaf455
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoBuild flags for disabling place recognition & prediction engines 02/56702/1
Mu-Woong Lee [Tue, 12 Jan 2016 06:59:35 +0000 (15:59 +0900)]
Build flags for disabling place recognition & prediction engines

Change-Id: I6e346f4464f72a66c6314678c988d8df6db11367
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImport place-context-provider into src/place 36/56636/2
Mu-Woong Lee [Mon, 11 Jan 2016 13:30:51 +0000 (22:30 +0900)]
Import place-context-provider into src/place

Change-Id: I23e49e0e0a3b0904385fb5f062ef3cbfec3fe66f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImport statistics-context-provider into src/statistics 33/56633/1
Mu-Woong Lee [Mon, 11 Jan 2016 12:54:59 +0000 (21:54 +0900)]
Import statistics-context-provider into src/statistics

Change-Id: I35a81227cc11518143aeae3b300ed71534cd97bf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoImport device-context-provider into src/device 27/56627/2
Mu-Woong Lee [Mon, 11 Jan 2016 11:26:50 +0000 (20:26 +0900)]
Import device-context-provider into src/device

Change-Id: Ia201b0f4167ed99ec50309ede3d3c7a7a45ff61e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoInitial empty repository master
seonil kim [Mon, 11 Jan 2016 07:36:07 +0000 (23:36 -0800)]
Initial empty repository