Removing redundant linear acceleration virtual sensor events 57/35857/4
authorVibhor Gaur <vibhor.gaur@samsung.com>
Wed, 25 Feb 2015 11:16:46 +0000 (16:46 +0530)
committerVibhor Gaur <vibhor.gaur@samsung.com>
Thu, 26 Feb 2015 12:34:25 +0000 (18:04 +0530)
commitf076e298cb762677d7d8a179c43f51df5780c379
tree993e96815db284d4246a901adb1fd8ad22317f9c
parentb3ef62c4f97972c41cd13f025912113d44be07a9
Removing redundant linear acceleration virtual sensor events

Removed redundant linear acceleration virtual sensor events LINEAR_ACCEL_BASE_DATA_SET and LINEAR_ACCEL_EVENT_RAW_DATA_REPORT_ON_TIME which were the same. These have been moved to the sensor_deprecated folder.
LINEAR_ACCEL_BASE_DATA_SET was used for polling events and LINEAR_ACCEL_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven.
Since both these represent the same linear acceleration virtual sensor event, DATA_SET type has been removed.
LINEAR_ACCEL_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to LINEAR_ACCEL_RAW_DATA_EVENT to make it simpler.
The change has been tested on rd-pq device for all sensord API and all API were found to be working

Change-Id: Ib0603a497ef5132917aa46d9c4055bf1377dfb68
src/libsensord/client_common.cpp
src/libsensord/sensor_deprecated.h
src/libsensord/sensor_linear_accel.h
src/linear_accel/linear_accel_sensor.cpp
src/server/command_worker.cpp
test/src/auto_test.c
test/src/tc-common.c