Merge "Add support for writeBlocking"

This commit is contained in:
TreeHugger Robot 2018-12-07 17:18:28 +00:00 committed by Android (Google) Code Review
commit fad169eb33

View file

@ -29,4 +29,14 @@ enum EventQueueFlagBits : uint32_t {
* Used to notify the Event FMQ that events should be read and processed.
*/
READ_AND_PROCESS = 1 << 0,
/**
* Used by the framework to signal to the HAL when events have been
* successfully read from the Event FMQ.
*
* If the MessageQueue::writeBlocking function is being used to write sensor
* events to the Event FMQ, then the readNotification parameter must be set
* to EVENTS_READ.
*/
EVENTS_READ = 1 << 1,
};