Searched refs:flushCompleteEvent (Results 1 – 2 of 2) sorted by relevance
233 sensors_event_t flushCompleteEvent; in pollEvents() local234 flushCompleteEvent.type = SENSOR_TYPE_META_DATA; in pollEvents()235 flushCompleteEvent.sensor = 0; in pollEvents()237 flushCompleteEvent.meta_data.sensor = handle_element->handle; in pollEvents()240 memcpy(data, (void *) &flushCompleteEvent, sizeof(flushCompleteEvent)); in pollEvents()242 flushCompleteEvent.meta_data.sensor); in pollEvents()
551 ASensorEvent flushCompleteEvent; in sendPendingFlushEventsLocked() local552 memset(&flushCompleteEvent, 0, sizeof(flushCompleteEvent)); in sendPendingFlushEventsLocked()553 flushCompleteEvent.type = SENSOR_TYPE_META_DATA; in sendPendingFlushEventsLocked()565 flushCompleteEvent.meta_data.sensor = handle; in sendPendingFlushEventsLocked()569 flushCompleteEvent.flags |= WAKE_UP_SENSOR_EVENT_NEEDS_ACK; in sendPendingFlushEventsLocked()571 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendPendingFlushEventsLocked()577 flushCompleteEvent.meta_data.sensor); in sendPendingFlushEventsLocked()