Lines Matching refs:AkmSensor
28 #include "AkmSensor.h"
34 AkmSensor::AkmSensor()
69 AkmSensor::~AkmSensor()
76 int AkmSensor::setEnable(int32_t handle, int enabled)
93 ALOGE("AkmSensor: unknown handle (%d)", handle);
111 ALOGD("AkmSensor: set %s to %s",
129 ALOGD("AkmSensor: mEnabled[%d] = %d", id, mEnabled[id]);
134 int AkmSensor::setDelay(int32_t handle, int64_t ns)
142 ALOGE("AkmSensor: invalid delay (%lld)", ns);
157 ALOGE("AkmSensor: unknown handle (%d)", handle);
166 ALOGD("AkmSensor: set %s to %f ms.",
174 int64_t AkmSensor::getDelay(int32_t handle)
184 int AkmSensor::getEnable(int32_t handle)
194 int AkmSensor::readEvents(sensors_event_t* data, int count)
232 ALOGE("AkmSensor: unknown event (type=%d, code=%d)",
240 int AkmSensor::setAccel(sensors_event_t* data)
252 ALOGD("AkmSensor: %s write failed.",
258 int AkmSensor::handle2id(int32_t handle)
268 ALOGE("AkmSensor: unknown handle (%d)", handle);
273 void AkmSensor::processEvent(int code, int value)