Home
last modified time | relevance | path

Searched refs:flushCompleteEvent (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/invensense/6515/libsensors_iio/
H A Dsensors_mpl.cpp233 sensors_event_t flushCompleteEvent; in pollEvents() local
234 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()
/aosp12/frameworks/native/services/sensorservice/
H A DSensorEventConnection.cpp551 ASensorEvent flushCompleteEvent; in sendPendingFlushEventsLocked() local
552 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()