listener: change the names of attribute libsensor API 86/287386/1
authorTaeminYeom <taemin.yeom@samsung.com>
Thu, 26 Jan 2023 07:07:51 +0000 (16:07 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Fri, 27 Jan 2023 10:25:18 +0000 (19:25 +0900)
commit39ff0cbec9dff091a49718340b290af23027e0fa
treece17007d7b8f04713fac138b0dfa4aae53eb5938
parent6f2da100ec70d18547bb2de9f2e7134ce003b1e1
listener: change the names of attribute libsensor API

Previous attribute APIs are for getting or setting sensor listener attribute.
To distinguish between sensor listener attribute API and
sensor handle attribute API, change the names.

Sensor handle attribute API will be uploaded in later patch,
and they will use "sensord_get/set_attribute_int".

changed API

sensord_get_attribute_int -> sensord_listener_get_attribute_int
sensord_set_attribute_int -> sensord_listener_set_attribute_int
sensord_get_attribute_str -> sensord_listener_get_attribute_str
sensord_set_attribute_str -> sensord_listener_set_attribute_str

Change-Id: Ic8a6f8e4799535d3f314afebcd40e57fb33fb7b1
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
include/sensor_internal.h
src/client-dummy/client_dummy.cpp
src/client/sensor_internal.cpp
src/sensorctl/loopback.cpp
src/sensorctl/sensor_adapter.cpp
src/sensorctl/testcase/sensor_listener.cpp