Removing redundant gyroscope events 69/35569/2
authorAnkur <ankur29.garg@samsung.com>
Wed, 18 Feb 2015 11:25:35 +0000 (16:55 +0530)
committerAnkur Garg <ankur29.garg@samsung.com>
Wed, 18 Feb 2015 11:47:41 +0000 (03:47 -0800)
commitc7a9a0568a32cac9fff4de85180745721c954962
tree57ea3962bfbe4fd90894282986fe2ffb49e53ed1
parent8a764233038e4f8997fee8b515192bf931b586ca
Removing redundant gyroscope events

GYRO_BASE_DATA_SET and GYROSCOPE_EVENT_RAW_DATA_REPORT_ON_TIME were the same
GYRO_BASE_DATA_SET has been removed.

GYRO_BASE_DATA_SET was used for polling events and GYROSCOPE_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same gyroscope event, DATA_SET type has been removed.

And GYROSCOPE_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to GYROSCOPE_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: Ie4d6642691a8d57abed5f0b6387922fc871904c4
src/gyro/gyro_sensor.cpp
src/libsensord/client_common.cpp
src/libsensord/sensor_gyro.h
src/orientation/orientation_sensor.cpp
src/rotation_vector/rv/rv_sensor.cpp
src/server/command_worker.cpp
test/src/auto_test.c
test/src/tc-common.c