Home | History | Annotate | Download | only in libsensors

Lines Matching refs:handle

82 int KionixSensor::setEnable(int32_t handle, int enabled) {
86 /* handle check */
87 if (handle != ID_A) {
88 ALOGE("KionixSensor: Invalid handle (%d)", handle);
124 int KionixSensor::setDelay(int32_t handle, int64_t delay_ns)
129 /* handle check */
130 if (handle != ID_A) {
131 ALOGE("KionixSensor: Invalid handle (%d)", handle);
146 int64_t KionixSensor::getDelay(int32_t handle)
148 return (handle == ID_A) ? mDelay : 0;
151 int KionixSensor::getEnable(int32_t handle)
153 return (handle == ID_A) ? mEnabled : 0;