Home | History | Annotate | Download | only in libsensors

Lines Matching refs:mPendingEvent

37     mPendingEvent.version = sizeof(sensors_event_t);
38 mPendingEvent.sensor = ID_P;
39 mPendingEvent.type = SENSOR_TYPE_PROXIMITY;
40 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
62 mPendingEvent.distance = indexToValue(absinfo.value);
103 mPendingEvent.timestamp = getTimestamp();
104 *data = mPendingEvent;
121 mPendingEvent.distance = indexToValue(event->value);
125 mPendingEvent.timestamp = timevalToNano(event->time);
127 *data++ = mPendingEvent;