summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mu-Woong Lee [Wed, 27 Apr 2016 07:17:21 +0000 (16:17 +0900)]
Implement getPrivilege() functions
Change-Id: I7fc00fe8c1542d4943376f92b7d36c7c926533e7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 26 Apr 2016 05:33:43 +0000 (14:33 +0900)]
Re-implement 'create' functions to support dynamic loading
Obsoluted trigger registration functions are removed.
Change-Id: I89b950d7b996653a8ae64e3c2f8e29df9619d164
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 26 Apr 2016 04:41:35 +0000 (13:41 +0900)]
Align the lib directory path with the header path
Change-Id: I3b8142d82f83e954ce74d28c96e6f7c1d07e3ff5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 26 Apr 2016 02:10:01 +0000 (11:10 +0900)]
Add a header file for listing so file names & trigger templates
Change-Id: Ia73e288620653fdbec1e060a23c7a5b286a70b73
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 22 Apr 2016 09:04:14 +0000 (18:04 +0900)]
Split the .a file into .so files
Each .so provides create() function, and contextd will the function for each so.
Later, the create() will be updated to support on-demand loading of providers.
Change-Id: Icc9f204941500c5e9d95f39644d4001fba36c76b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 22 Apr 2016 02:31:32 +0000 (11:31 +0900)]
Code cleanup: merge geofence-related macros into ProviderTypes.h
Change-Id: Ibb731bfdc6c34c6ba999c0798bda9c48142afc7c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 21 Apr 2016 08:07:04 +0000 (17:07 +0900)]
Code cleanup: update provider class names
Change-Id: Icbfd404caae4cc3fedc13936fd3a9b18b850d63a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 21 Apr 2016 07:20:58 +0000 (16:20 +0900)]
Code cleanup: merge activity-related macros into ProviderTypes.h
Change-Id: I79350b4d5e3894a8b134357884dca6bc9c918033
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 21 Apr 2016 07:08:43 +0000 (16:08 +0900)]
Code cleanup: merge common, system, social types into one provider types header
Change-Id: I96e74636b9d2e4ce62a959f170e1e168d6ac1b2f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
seonil kim [Mon, 11 Jan 2016 07:36:07 +0000 (23:36 -0800)]
Initial empty repository