diff options
author | kibak.yoon <kibak.yoon@samsung.com> | 2016-04-05 16:40:46 +0900 |
---|---|---|
committer | kibak.yoon <kibak.yoon@samsung.com> | 2016-04-05 16:40:46 +0900 |
commit | d1beb229ab786b299be679aa00ca8cb354522b81 (patch) | |
tree | 89f4c2e3bc91989d7352c64016549b95baf111fa | |
parent | a8a5cb352fbdc06f61ec0025459b38d203b3f6d0 (diff) | |
download | sensor-tm1-d1beb229ab786b299be679aa00ca8cb354522b81.tar.gz sensor-tm1-d1beb229ab786b299be679aa00ca8cb354522b81.tar.bz2 sensor-tm1-d1beb229ab786b299be679aa00ca8cb354522b81.zip |
sensor-hal-tm1: remove unused functions in accel/proxi
Change-Id: I9d764d493beef1ecd0fba81d2c175c0511e3d8e4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
-rw-r--r-- | src/accel/accel.cpp | 20 | ||||
-rw-r--r-- | src/accel/accel.h | 5 | ||||
-rw-r--r-- | src/proxi/proxi.cpp | 24 | ||||
-rw-r--r-- | src/proxi/proxi.h | 7 |
4 files changed, 0 insertions, 56 deletions
diff --git a/src/accel/accel.cpp b/src/accel/accel.cpp index 97b1db5..c71e390 100644 --- a/src/accel/accel.cpp +++ b/src/accel/accel.cpp @@ -152,21 +152,6 @@ bool accel_device::set_interval(uint32_t id, unsigned long val) return true; } -bool accel_device::set_batch_latency(uint32_t id, unsigned long val) -{ - return false; -} - -bool accel_device::set_attribute_int(uint32_t id, int32_t attribute, int32_t value) -{ - return false; -} - -bool accel_device::set_attribute_str(uint32_t id, int32_t attribute, char *value, int value_len) -{ - return false; -} - bool accel_device::update_value_input_event(void) { int accel_raw[3] = {0,}; @@ -273,11 +258,6 @@ int accel_device::get_data(uint32_t id, sensor_data_t **data, int *length) return --remains; } -bool accel_device::flush(uint32_t id) -{ - return false; -} - void accel_device::raw_to_base(sensor_data_t *data) { data->value_count = 3; diff --git a/src/accel/accel.h b/src/accel/accel.h index 3ec31d5..75a5d99 100644 --- a/src/accel/accel.h +++ b/src/accel/accel.h @@ -34,15 +34,10 @@ public: bool disable(uint32_t id); bool set_interval(uint32_t id, unsigned long val); - bool set_batch_latency(uint32_t id, unsigned long val); - bool set_attribute_int(uint32_t id, int32_t attribute, int32_t value); - bool set_attribute_str(uint32_t id, int32_t attribute, char *value, int value_len); int read_fd(uint32_t **ids); int get_data(uint32_t id, sensor_data_t **data, int *length); - bool flush(uint32_t id); - private: int m_node_handle; int m_x; diff --git a/src/proxi/proxi.cpp b/src/proxi/proxi.cpp index 8a8ce64..76f1ad2 100644 --- a/src/proxi/proxi.cpp +++ b/src/proxi/proxi.cpp @@ -126,26 +126,6 @@ bool proxi_device::disable(uint32_t id) return true; } -bool proxi_device::set_interval(uint32_t id, unsigned long interval_ms) -{ - return true; -} - -bool proxi_device::set_batch_latency(uint32_t id, unsigned long val) -{ - return false; -} - -bool proxi_device::set_attribute_int(uint32_t id, int32_t attribute, int32_t value) -{ - return false; -} - -bool proxi_device::set_attribute_str(uint32_t id, int32_t attribute, char *value, int value_len) -{ - return false; -} - bool proxi_device::update_value_input_event(void) { struct input_event proxi_event; @@ -202,7 +182,3 @@ int proxi_device::get_data(uint32_t id, sensor_data_t **data, int *length) return --remains; } -bool proxi_device::flush(uint32_t id) -{ - return false; -} diff --git a/src/proxi/proxi.h b/src/proxi/proxi.h index 47da309..1946304 100644 --- a/src/proxi/proxi.h +++ b/src/proxi/proxi.h @@ -34,16 +34,9 @@ public: bool enable(uint32_t id); bool disable(uint32_t id); - bool set_interval(uint32_t id, unsigned long val); - bool set_batch_latency(uint32_t id, unsigned long val); - bool set_attribute_int(uint32_t id, int32_t attribute, int32_t value); - bool set_attribute_str(uint32_t id, int32_t attribute, char *value, int value_len); - int read_fd(uint32_t **ids); int get_data(uint32_t id, sensor_data_t **data, int *length); - bool flush(uint32_t id); - private: int m_node_handle; unsigned int m_state; |