Lines Matching defs:AdxlSensor
26 #include "AdxlSensor.h"
35 AdxlSensor::AdxlSensor()
52 ALOGD("AdxlSensor: sysfs_path=%s", input_sysfs_path);
59 AdxlSensor::~AdxlSensor() {
65 int AdxlSensor::setInitialState() {
82 bool AdxlSensor::hasPendingEvents() const {
86 int AdxlSensor::setEnable(int32_t handle, int enabled) {
92 ALOGE("AdxlSensor: Invalid handle (%d)", handle);
110 ALOGD("AdxlSensor: Control set %s", buffer);
121 ALOGD("AdxlSensor: mEnabled = %d", mEnabled);
126 int AdxlSensor::setDelay(int32_t handle, int64_t delay_ns)
136 ALOGE("AdxlSensor: Invalid handle (%d)", handle);
160 ALOGD("AdxlSensor: Control set delay %f ms requetsed, using %f ms",
168 int64_t AdxlSensor::getDelay(int32_t handle)
173 int AdxlSensor::getEnable(int32_t handle)
178 int AdxlSensor::readEvents(sensors_event_t* data, int count)
216 ALOGE("AdxlSensor: unknown event (type=%d, code=%d)",