Lines Matching refs:handle
76 int AkmSensor::setEnable(int32_t handle, int enabled)
78 int id = handle2id(handle);
93 ALOGE("AkmSensor: unknown handle (%d)", handle);
116 setDelay(handle, AKMD_DEFAULT_INTERVAL);
118 setDelay(handle, -1);
134 int AkmSensor::setDelay(int32_t handle, int64_t ns)
136 int id = handle2id(handle);
157 ALOGE("AkmSensor: unknown handle (%d)", handle);
174 int64_t AkmSensor::getDelay(int32_t handle)
176 int id = handle2id(handle);
184 int AkmSensor::getEnable(int32_t handle)
186 int id = handle2id(handle);
258 int AkmSensor::handle2id(int32_t handle)
260 switch (handle) {
268 ALOGE("AkmSensor: unknown handle (%d)", handle);