summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dewal Agarwal [Wed, 12 Dec 2018 04:41:37 +0000 (10:11 +0530)]
Dlog Print Format Updates
Change-Id: I18df9799a37a9f88726c10052caf324e8217fe7f
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
kibak.yoon [Fri, 29 Jun 2018 10:06:13 +0000 (19:06 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Change sensor-recorder as system service & version 4.0.1
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Ia18c0d9ca7ba76870277dfb7a44276c2ff805460
Abhishek Vijay [Fri, 23 Mar 2018 12:18:56 +0000 (17:48 +0530)]
[Coverity Fixes][Sensor Recorder]
Change-Id: I102aa9e56929d118ccd8cca2dc4108eba8708668
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
Somin Kim [Mon, 5 Feb 2018 02:09:39 +0000 (11:09 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
sensor-recorder: [TNEXT-10177] fix sleep monitor-related issue
sensor-recorder: fix bug that sleep event is not recording
Change-Id: I91149eefc4519bcbf80a1f67d6ea3c3a391c97a8
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 25 Jan 2018 08:51:18 +0000 (17:51 +0900)]
Change sensor-recorder as system service & version 4.0.1
Change-Id: Ib21da8b598081b4bbcef86bb55847875c7f66f5a
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 25 Jan 2018 08:41:27 +0000 (08:41 +0000)]
Merge "sensor-recorder: [TNEXT-10177] fix sleep monitor-related issue" into devel/tizen
kibak.yoon [Wed, 24 Jan 2018 15:51:30 +0000 (00:51 +0900)]
sensor-recorder: [TNEXT-10177] fix sleep monitor-related issue
- fix wrong timestamp conversion
- fix wrong sleep state key value
Change-Id: I2ee62f96757e201a626a662d7bbfbad173ddf10a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit
7ed36e93f13079e0fcbf737ec4a8db32ce7c9d3f)
kibak.yoon [Fri, 19 Jan 2018 06:11:47 +0000 (15:11 +0900)]
sensor-recorder: fix bug that sleep event is not recording
- change subject name: "sleep_monitor" -> "sleep"
- fix wrong feature
Change-Id: I59ad5a536af589f11be8f3a640fcb37692efa49a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit
b1bf69826764287c0210a6de83f9cfc1a94d174c)
kibak.yoon [Fri, 19 Jan 2018 06:11:47 +0000 (15:11 +0900)]
sensor-recorder: fix bug that sleep event is not recording
- change subject name: "sleep_monitor" -> "sleep"
- fix wrong feature
Change-Id: I59ad5a536af589f11be8f3a640fcb37692efa49a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 13 Oct 2017 13:34:31 +0000 (22:34 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
sensor-recorder: restore CtxJson to prevent crash issue
Revert "Replace the glib-json wrapper CtxJson with jsoncpp"
Change-Id: I503ffdede69db3639e9c1fee274837985faf3a14
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 13 Oct 2017 13:29:48 +0000 (22:29 +0900)]
sensor-recorder: restore CtxJson to prevent crash issue
Change-Id: I7078393fd0613f43b55d65981bd02c65b36c8b14
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 13 Oct 2017 11:18:38 +0000 (20:18 +0900)]
Revert "Replace the glib-json wrapper CtxJson with jsoncpp"
This reverts commit
61da57e6c5ea97e9ea7a038ea2b810aeba940770.
Change-Id: I6f61206006264eb36f35a09267c496ca15561252
Somin Kim [Tue, 12 Sep 2017 09:41:20 +0000 (18:41 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Fix coding rule violations
Apply the changed function names in context-common
Change-Id: Ie0990709d7f84d1f563f9dd031e1bcff90051edc
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Mon, 11 Sep 2017 12:12:36 +0000 (21:12 +0900)]
Fix coding rule violations
Change-Id: Ie46bcbd0f0bd966d5ba12c20f0a8c4b8add5b450
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Wed, 12 Jul 2017 10:10:58 +0000 (19:10 +0900)]
Apply the changed function names in context-common
Change-Id: I4f1c26d00d7b79be5f5c169188054e2108500f61
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
(cherry picked from commit
f3bd13032f6dcc877c04403165d560a506e3aefb)
Mu-Woong Lee [Wed, 12 Jul 2017 10:10:58 +0000 (19:10 +0900)]
Apply the changed function names in context-common
Change-Id: I4f1c26d00d7b79be5f5c169188054e2108500f61
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 5 Jul 2017 01:52:02 +0000 (10:52 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Replace the glib-json wrapper CtxJson with jsoncpp
Change-Id: I8eb94e8aa40259102eff6499d950316facd71df0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sat, 1 Jul 2017 14:18:44 +0000 (23:18 +0900)]
Replace the glib-json wrapper CtxJson with jsoncpp
Change-Id: I73edc779b88688e675bef73c9e43089df631cf5f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 3 Jul 2017 04:19:27 +0000 (13:19 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Change std::map to ctx::CtxJson for managing method options
Version 4.0.0 release 1
Prevent uncaught exceptions from ctx_sensor_rec_read & ctx_sensor_rec_read_sync
SensorRecorderService realizes IUserService instead of IService
Replace MethodCallHandler::setCaller() with a parameterized constructor
Remove thread switching of sensor events
Rename the DB file to .context-sensor-recorder.db
Remove run dependency to 'sensord'
Change-Id: Icc569af861f5b833901189b94f14130ba880ecc6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Tue, 23 May 2017 12:55:05 +0000 (21:55 +0900)]
Change std::map to ctx::CtxJson for managing method options
* CtxJson will be changed to Jsoncpp
Change-Id: Ie97f308cbb30f986dcbdf3f4aefb01d3de929339
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Fri, 30 Jun 2017 02:26:52 +0000 (11:26 +0900)]
Version 4.0.0 release 1
Change-Id: I4bdc5e9a467e4c13d38f034639e1a00437a9fd9c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 30 Jun 2017 01:28:40 +0000 (10:28 +0900)]
Prevent uncaught exceptions from ctx_sensor_rec_read & ctx_sensor_rec_read_sync
Change-Id: I6f6402d0cdb98fe418a2fb5220d27d5cf49ce974
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 29 Jun 2017 06:27:56 +0000 (15:27 +0900)]
SensorRecorderService realizes IUserService instead of IService
Change-Id: I5a6ce9b3a7b99dd80cba722d2258ad8cea6735b3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 29 Jun 2017 01:55:26 +0000 (10:55 +0900)]
Replace MethodCallHandler::setCaller() with a parameterized constructor
Change-Id: I2f1b7c954419dd4b9247eefb38e4598c1d127aae
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 26 Jun 2017 07:18:02 +0000 (16:18 +0900)]
Remove thread switching of sensor events
contextd is now single-threaded, thus sensor events don't need to be passed to the sensor-recorder's thread.
Change-Id: I261f2487c76ea74634b7a502b3a12d5b419f395e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 16 Jun 2017 07:49:54 +0000 (16:49 +0900)]
Rename the DB file to .context-sensor-recorder.db
Change-Id: I2dd961d1766a35ea205a67c519e01653b40c8516
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 13 Jun 2017 09:56:27 +0000 (18:56 +0900)]
Remove run dependency to 'sensord'
This dependency should be stated in the 'sensor recorder' block spec file.
Change-Id: I77c09c9e5e78af51781195566c9dbd7743dc5182
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 9 Jun 2017 12:56:00 +0000 (21:56 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
Dependency cleanup: apply the modified service & client interfaces
Rename the class Json to avoid symbol conflicts with Jsoncpp
Add dependency to sensord
Change-Id: I506d003cf50ad461db29b9acee274d00c67fe1f2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 9 Jun 2017 10:45:42 +0000 (19:45 +0900)]
Dependency cleanup: apply the modified service & client interfaces
Change-Id: I9eda5fa56e03338e5acd8768976714f5bf007d5f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 8 Jun 2017 12:27:46 +0000 (21:27 +0900)]
Rename the class Json to avoid symbol conflicts with Jsoncpp
Change-Id: Iaa1159d13e1f60808fdd540f27cc9c5a0681a1c7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 29 May 2017 05:42:08 +0000 (14:42 +0900)]
Add dependency to sensord
sensor-recorder requires sensord, as it collects sensory data from sensord.
Change-Id: Id4eff150ca9882dc1fbb8a33cd62dc693270bef1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Sun, 21 May 2017 08:47:37 +0000 (17:47 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen:
sensor: rec: allow option parameter that can be NULL
Version 1.0.0
Integrate Tizen 3.0 implementation to the current architecture
Import the legacy sensor-recorder implementation from context-provider
sensor-rec: allocate/deallocate memory of sensor option handle
Add compile options to suppress verbose messages and enable colored diagnostics
Simplify include directory setting
Change-Id: I649b15bab93e903de618d8ebb52d521ae62109e5
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Sun, 21 May 2017 07:06:23 +0000 (16:06 +0900)]
sensor: rec: allow option parameter that can be NULL
Change-Id: I037246fc8f4d924b9af131d523c40f36557d1cd0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Fri, 19 May 2017 13:48:22 +0000 (22:48 +0900)]
Version 1.0.0
Change-Id: I17b5e42a9bdc76dae6c602a4db6f1c0c4594b720
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 19 May 2017 05:04:33 +0000 (14:04 +0900)]
Integrate Tizen 3.0 implementation to the current architecture
Change-Id: I047e83efa083994d2a004e7b8e9a76ca6d7fbb16
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 19 May 2017 02:16:56 +0000 (11:16 +0900)]
Import the legacy sensor-recorder implementation from context-provider
Change-Id: I626238fc6def0458cab6192ebb7fd40c32549c52
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Thu, 27 Apr 2017 12:36:09 +0000 (21:36 +0900)]
sensor-rec: allocate/deallocate memory of sensor option handle
Change-Id: I207522adfdb63d401e4ee360f14ab69a73142865
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 27 Apr 2017 12:36:09 +0000 (21:36 +0900)]
sensor-rec: allocate/deallocate memory of sensor option handle
Change-Id: I207522adfdb63d401e4ee360f14ab69a73142865
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 14 Apr 2017 09:05:13 +0000 (18:05 +0900)]
Add compile options to suppress verbose messages and enable colored
diagnostics
Change-Id: Iec20dcd50443f7733f46c42a1eac1aac7d50432e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Wed, 12 Apr 2017 11:40:32 +0000 (20:40 +0900)]
Simplify include directory setting
Change-Id: Iaf208bbe043c327ce10fcdf9c45b1fa042bd28fd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 12 Apr 2017 08:10:03 +0000 (17:10 +0900)]
Merge branch 'devel/tizen' into tizen
* devel/tizen: (22 commits)
Fix compile warnings
sensor-rec: Fix TCT fails
Reorganize the header directory to distinguish the private headers
sensor-recorder: return E_NONE about some internal APIs
Fix the build script typos and nonconventional so symlink packaging
Replace ContextErrorUtil.h with SharedUtil.h
sensor-rec: Add Internal CAPIs for client
Rename the packages to clearly denote their roles
Rearrange header directory structure w.r.t. context-common
Disable redundant virtual packages
Rename the package to context-sensor-recorder
Remove test code in SensorRecorderClient
Update the license date to 2016-2017
Update the author list
Update the service code skeleton w.r.t. the change of the active user monitoring scheme
Fix the build scripts to be sure that each dummy uses its own pkg check parameter
Sync with the header separation in context-common
Apply updated class names
Implement the virtual functions added to the DBusService class
Cleanup the build script
...
Change-Id: Ia5ba7301259f3cf0d7f2a444f9077ca452a029eb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 12 Apr 2017 07:40:18 +0000 (16:40 +0900)]
Fix compile warnings
- unused function: __getQuery()
- delete void pointer
Change-Id: I157f9112e646b4da40114bab1a31f901b612ba18
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Wed, 12 Apr 2017 04:56:26 +0000 (13:56 +0900)]
sensor-rec: Fix TCT fails
- add defence code for invalid parameter
- create/destroy query handle
Change-Id: I48c382c07dd3d3bb9fae3deaced20ead50752530
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Tue, 11 Apr 2017 05:03:10 +0000 (14:03 +0900)]
Reorganize the header directory to distinguish the private headers
Change-Id: I171257c61fdf452eb93921a8343f2b4583da7b31
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Mon, 10 Apr 2017 09:48:50 +0000 (18:48 +0900)]
sensor-recorder: return E_NONE about some internal APIs
- these APIs don't matter whether the sensor is supported or not.
- return output of is_supported() API
- check whether parameters are vaild or not
Change-Id: Ic5a983628070610edcdb6ee97060fdf8fdbe7b62
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Wed, 5 Apr 2017 07:31:09 +0000 (16:31 +0900)]
Fix the build script typos and nonconventional so symlink packaging
Change-Id: Ib52caf7a86fa8079918253426f5d382a96da8e81
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 28 Mar 2017 13:07:49 +0000 (22:07 +0900)]
Replace ContextErrorUtil.h with SharedUtil.h
Change-Id: I237cf6c2ad2618853936509c07c778e008b53be7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Tue, 28 Mar 2017 07:54:43 +0000 (16:54 +0900)]
sensor-rec: Add Internal CAPIs for client
Change-Id: Ia0cc80b08d371fcd0ccaf857640aefcfd7075049
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Thu, 23 Mar 2017 11:01:50 +0000 (20:01 +0900)]
Rename the packages to clearly denote their roles
Change-Id: I21b12e957f55fb61bca8b488b15ce0d6ecc199ed
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sun, 19 Mar 2017 15:00:27 +0000 (00:00 +0900)]
Rearrange header directory structure w.r.t. context-common
Change-Id: I36caad4af3002d37e21e3fbcd080733adb8cf82e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 16 Mar 2017 08:48:32 +0000 (17:48 +0900)]
Disable redundant virtual packages
Change-Id: I31acf44f42fd2e1bad06b4dd469218a9c4ca69b4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 16 Mar 2017 04:54:57 +0000 (13:54 +0900)]
Rename the package to context-sensor-recorder
Change-Id: I21f789f1ae3361fd36023bfad98b1b5adaefecca
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 10 Mar 2017 04:04:09 +0000 (13:04 +0900)]
Remove test code in SensorRecorderClient
Change-Id: I8e36bf01e4e6a6da52429f876e0fa2f07040f65f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 6 Mar 2017 03:35:40 +0000 (12:35 +0900)]
Update the license date to 2016-2017
Change-Id: I9afde041cdc61b6e123acaa6f1a7aae7b0806209
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 6 Mar 2017 02:27:08 +0000 (11:27 +0900)]
Update the author list
Change-Id: I69756e9168e58486c029c6ca522241f045737939
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 3 Mar 2017 11:03:37 +0000 (20:03 +0900)]
Update the service code skeleton w.r.t. the change of the active user monitoring scheme
Change-Id: I1f4c4189165340a09b85267626dce88791895f5c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 3 Mar 2017 10:07:49 +0000 (19:07 +0900)]
Fix the build scripts to be sure that each dummy uses its own pkg check parameter
Change-Id: I674f2e7db6ec1873fc5f7e9d8353990bd1a0eeea
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 21 Feb 2017 00:47:12 +0000 (09:47 +0900)]
Sync with the header separation in context-common
Change-Id: If640a54ae6ffc80de91f1f9e96ba240082a08937
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 20 Feb 2017 08:14:21 +0000 (17:14 +0900)]
Apply updated class names
Change-Id: Ic95260cc86af07472ae3d417144edd49c3a238aa
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 20 Feb 2017 06:05:05 +0000 (15:05 +0900)]
Implement the virtual functions added to the DBusService class
Change-Id: Ie8fd4ed13ae657b25bc507e761db579144949228
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 20 Feb 2017 03:40:48 +0000 (12:40 +0900)]
Cleanup the build script
Change-Id: Iaf30e93421566f92d01f6da6b96e3dfcc6f633e9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 9 Feb 2017 10:18:51 +0000 (19:18 +0900)]
Add callback function for active user changes
Change-Id: I6329afeb9ab5290a43ca7905d42ac1cf5abacf71
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 6 Feb 2017 07:51:49 +0000 (16:51 +0900)]
Add the code skeleton of sensor recorder server & client
Change-Id: Ic4e0d43f43f91565921f83675277f6e07fabd022
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Tizen Infrastructure [Tue, 3 Jan 2017 06:55:43 +0000 (22:55 -0800)]
Initial empty repository