Lines Matching defs:AdxlSensor
27 #include "AdxlSensor.h"
36 AdxlSensor::AdxlSensor()
53 ALOGD("AdxlSensor: sysfs_path=%s", input_sysfs_path);
60 AdxlSensor::~AdxlSensor() {
66 int AdxlSensor::setInitialState() {
83 bool AdxlSensor::hasPendingEvents() const {
87 int AdxlSensor::setEnable(int32_t handle, int enabled) {
93 ALOGE("AdxlSensor: Invalid handle (%d)", handle);
111 ALOGD("AdxlSensor: Control set %s", buffer);
122 ALOGD("AdxlSensor: mEnabled = %d", mEnabled);
127 int AdxlSensor::setDelay(int32_t handle, int64_t delay_ns)
137 ALOGE("AdxlSensor: Invalid handle (%d)", handle);
161 ALOGD("AdxlSensor: Control set delay %f ms requetsed, using %f ms",
169 int64_t AdxlSensor::getDelay(int32_t handle)
174 int AdxlSensor::getEnable(int32_t handle)
179 int AdxlSensor::readEvents(sensors_event_t* data, int count)
217 ALOGE("AdxlSensor: unknown event (type=%d, code=%d)",