Searched refs:mPendingEvent (Results 1 – 4 of 4) sorted by relevance
38 mPendingEvent.sensor = ID_L; in LightSensor()39 mPendingEvent.type = SENSOR_TYPE_LIGHT; in LightSensor()40 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); in LightSensor()124 mPendingEvent.timestamp = getTimestamp(); in readEvents()125 *data = mPendingEvent; in readEvents()140 mPendingEvent.sensor = ID_L; in readEvents()141 mPendingEvent.type = SENSOR_TYPE_LIGHT; in readEvents()142 mPendingEvent.light = (float)event->value; in readEvents()145 mPendingEvent.timestamp = timevalToNano(event->time); in readEvents()146 if (mEnabled && (mPendingEvent.light != mPreviousLight) ) { in readEvents()[all …]
38 mPendingEvent.sensor = ID_PX; in ProximitySensor()39 mPendingEvent.type = SENSOR_TYPE_PROXIMITY; in ProximitySensor()40 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); in ProximitySensor()105 mPendingEvent.timestamp = getTimestamp(); in readEvents()106 *data = mPendingEvent; in readEvents()121 mPendingEvent.sensor = ID_PX; in readEvents()122 mPendingEvent.type = SENSOR_TYPE_PROXIMITY; in readEvents()123 mPendingEvent.distance = (float) event->value; in readEvents()126 mPendingEvent.timestamp = timevalToNano(event->time); in readEvents()129 *data++ = mPendingEvent; in readEvents()
36 sensors_event_t mPendingEvent; variable
37 sensors_event_t mPendingEvent; variable