Removing redundant accelerometer events 66/35566/3
authorAnkur <ankur29.garg@samsung.com>
Wed, 18 Feb 2015 10:27:13 +0000 (15:57 +0530)
committerAnkur <ankur29.garg@samsung.com>
Wed, 18 Feb 2015 11:11:48 +0000 (16:41 +0530)
commit8a764233038e4f8997fee8b515192bf931b586ca
tree02e1d37b5284439395093ca44d38928b1503bc7b
parent6a105ee3b2c5599eea4876ac7808fb0f524ebcce
Removing redundant accelerometer events

ACCELEROMETER_BASE_DATA_SET and ACCELEROMETER_EVENT_RAW_DATA_REPORT_ON_TIME were the same
ACCELEROMETER_BASE_DATA_SET has been removed.

ACCELEROMETER_BASE_DATA_SET was used for polling events and ACCELEROMETER_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same accelerometer event, DATA_SET type has been removed.

And ACCELEROMETER_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to ACCELEROMETER_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: I7602335045a1847b9ea3e58247b6ddcc82bbda7f
src/accel/accel_sensor.cpp
src/auto_rotation/auto_rotation_sensor.cpp
src/libsensord/client_common.cpp
src/libsensord/sensor_accel.h
src/linear_accel/linear_accel_sensor.cpp
src/orientation/orientation_sensor.cpp
src/rotation_vector/geomagnetic_rv/geomagnetic_rv_sensor.cpp
src/rotation_vector/rv/rv_sensor.cpp
src/server/command_worker.cpp
test/src/auto_test.c
test/src/tc-common.c