sensord: modify HAL interface for support sensorhub 31/57631/5
authorkibak.yoon <kibak.yoon@samsung.com>
Thu, 21 Jan 2016 05:58:55 +0000 (14:58 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Thu, 21 Jan 2016 08:34:53 +0000 (17:34 +0900)
commit3735c6778c2eebc6f0a251591aa61d3184bc86a4
tree85cb1edb64a319c53009013b414d3f2db4151172
parenta95bf7e0924df18a72b48bc8add71474dab8f218
sensord: modify HAL interface for support sensorhub

* It doesn't need to support multi event types anymore,
  because a sensor has a only 1 event_type in new architecture.
  - removed interface of multi event types.
  - concept of "event type" is not removed completely still because of
    internal API. it will be removed later.
* HAL interface supports multi sensor using get_sensor_list() API.
* memory of sensor_event must be allocated in HAL.
  sensor fw will free this allocated memory.
* refactoring and cleaning the code will be continue.

* sensors will work when that sensor_event_poller patch is applied.

Change-Id: I5c4282d9600a8b05f3b495d764dd28cf56ca356d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
16 files changed:
src/client/client.cpp
src/server/command_worker.cpp
src/server/csensor_event_queue.cpp
src/server/csensor_event_queue.h
src/server/physical_sensor.cpp
src/server/physical_sensor.h
src/server/sensor_base.cpp
src/server/sensor_base.h
src/server/sensor_hal.h [deleted file]
src/server/sensor_plugin_loader.cpp.in
src/server/sensor_plugin_loader.h
src/server/virtual_sensor.cpp
src/server/virtual_sensor.h
src/shared/sensor_hal.h
src/shared/sensor_info.cpp
src/shared/sensor_info.h