platform/core/context/sensor-recorder.git
7 years agoMerge branch 'devel/tizen' into tizen 98/133298/1 accepted/tizen/unified/20170609.204936 submit/tizen/20170609.130020
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>
7 years agoDependency cleanup: apply the modified service & client interfaces 56/133256/2
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>
7 years agoRename the class Json to avoid symbol conflicts with Jsoncpp 76/132976/1
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>
7 years agoAdd dependency to sensord 22/131422/1
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>
7 years agoMerge branch 'devel/tizen' into tizen 89/130289/1 accepted/tizen/unified/20170522.182637 submit/tizen/20170521.102545 tizen_4.0.m1_release
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>
7 years agosensor: rec: allow option parameter that can be NULL 86/130286/1
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>
7 years agoVersion 1.0.0 45/130245/1
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>
7 years agoIntegrate Tizen 3.0 implementation to the current architecture 77/130077/22
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>
7 years agoImport the legacy sensor-recorder implementation from context-provider 42/130042/2
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>
7 years agosensor-rec: allocate/deallocate memory of sensor option handle 03/127503/1 accepted/tizen/unified/20170428.032933 submit/tizen/20170427.130346
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>
7 years agosensor-rec: allocate/deallocate memory of sensor option handle 02/127502/1
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>
7 years agoAdd compile options to suppress verbose messages and enable colored 67/125267/1
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>
7 years agoSimplify include directory setting 21/124821/1
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>
7 years agoMerge branch 'devel/tizen' into tizen 33/124733/1 accepted/tizen/unified/20170414.163457 submit/tizen/20170413.031950
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>
7 years agoFix compile warnings 21/124721/1
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>
7 years agosensor-rec: Fix TCT fails 47/124647/1
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>
7 years agoReorganize the header directory to distinguish the private headers 80/124280/1
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>
7 years agosensor-recorder: return E_NONE about some internal APIs 46/124146/2
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>
7 years agoFix the build script typos and nonconventional so symlink packaging 09/123309/1
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>
7 years agoReplace ContextErrorUtil.h with SharedUtil.h 19/121719/1
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>
7 years agosensor-rec: Add Internal CAPIs for client 51/121551/2
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>
7 years agoRename the packages to clearly denote their roles 35/120635/1
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>
7 years agoRearrange header directory structure w.r.t. context-common 55/119655/1
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>
7 years agoDisable redundant virtual packages 99/119299/1
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>
7 years agoRename the package to context-sensor-recorder 21/119221/2
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>
7 years agoRemove test code in SensorRecorderClient 14/118314/1
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>
7 years agoUpdate the license date to 2016-2017 92/117392/1
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>
7 years agoUpdate the author list 86/117386/1
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>
7 years agoUpdate the service code skeleton w.r.t. the change of the active user monitoring... 55/117255/1
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>
7 years agoFix the build scripts to be sure that each dummy uses its own pkg check parameter 39/117239/1
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>
7 years agoSync with the header separation in context-common 31/115631/1
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>
7 years agoApply updated class names 25/115525/1
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>
7 years agoImplement the virtual functions added to the DBusService class 71/115471/1
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>
7 years agoCleanup the build script 38/115438/1
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>
7 years agoAdd callback function for active user changes 44/113944/1
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>
7 years agoAdd the code skeleton of sensor recorder server & client 33/113133/1
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>
7 years agoInitial empty repository master
Tizen Infrastructure [Tue, 3 Jan 2017 06:55:43 +0000 (22:55 -0800)]
Initial empty repository