Lines Matching refs:Event
19 import @1.0::Event;
76 * The Event FMQ is used to transport sensor events from the HAL to the
77 * framework. The Event FMQ is created using the eventQueueDescriptor.
78 * Data may only be written to the Event FMQ. Data must not be read from
79 * the Event FMQ since the framework is the only reader. Upon receiving
80 * sensor events, the HAL writes the sensor events to the Event FMQ.
82 * Once the HAL is finished writing sensor events to the Event FMQ, the HAL
85 * 1) Calling the Event FMQ’s EventFlag::wake() function with
87 * 2) Setting the write notification in the Event FMQ’s writeBlocking()
90 * If the Event FMQ’s writeBlocking() function is used, the read
93 * from the Event FMQ.
97 * from the Event FMQ and the framework has acquired a wake_lock, the
119 * event was written to the Event FMQ without receiving a message on the
123 * If either the Event FMQ or the Wake Lock FMQ is already initialized when
138 * create the Event FMQ which is where sensor events are written. The
152 initialize(fmq_sync<Event> eventQueueDescriptor,
200 * environment data to device. In this operation, Event is always of
217 injectSensorData(Event event) generates (Result result);