Home | History | Annotate | Download | only in libsensors

Lines Matching refs:handle

86 int AdxlSensor::setEnable(int32_t handle, int enabled) {
90 /* handle check */
91 if (handle != ID_A) {
92 ALOGE("AdxlSensor: Invalid handle (%d)", handle);
126 int AdxlSensor::setDelay(int32_t handle, int64_t delay_ns)
134 /* handle check */
135 if (handle != ID_A) {
136 ALOGE("AdxlSensor: Invalid handle (%d)", handle);
168 int64_t AdxlSensor::getDelay(int32_t handle)
170 return (handle == ID_A) ? mDelay : 0;
173 int AdxlSensor::getEnable(int32_t handle)
175 return (handle == ID_A) ? mEnabled : 0;