Home
last modified time | relevance | path

Searched refs:mPendingEvent (Results 1 – 4 of 4) sorted by relevance

/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp45 mPendingEvent.version = sizeof(sensors_event_t); in KionixSensor()
46 mPendingEvent.sensor = ID_A; in KionixSensor()
47 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; in KionixSensor()
48 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); in KionixSensor()
66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
163 mPendingEvent.timestamp = getTimestamp(); in readEvents()
164 *data = mPendingEvent; in readEvents()
180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value); in readEvents()
[all …]
DAdxlSensor.cpp42 mPendingEvent.version = sizeof(sensors_event_t); in AdxlSensor()
43 mPendingEvent.sensor = ID_A; in AdxlSensor()
44 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; in AdxlSensor()
45 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); in AdxlSensor()
70 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
73 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
76 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
185 mPendingEvent.timestamp = getTimestamp(); in readEvents()
186 *data = mPendingEvent; in readEvents()
202 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(value); in readEvents()
[all …]
DAdxlSensor.h37 sensors_event_t mPendingEvent; variable
DKionixSensor.h37 sensors_event_t mPendingEvent; variable