Lines Matching refs:is
11 * distributed under the License is distributed on an "AS IS" BASIS,
40 * framework and the HAL. The callback is used by the HAL to notify the
43 * The Event FMQ is used to transport sensor events from the HAL to the
44 * framework. The Event FMQ is created using the eventQueueDescriptor.
46 * the Event FMQ since the framework is the only reader. Upon receiving
49 * Once the HAL is finished writing sensor events to the Event FMQ, the HAL
51 * processed. This is accomplished by either:
57 * If the Event FMQ’s writeBlocking() function is used, the read
62 * The Wake Lock FMQ is used by the framework to notify the HAL when it is
68 * its wake_lock if the current count of unprocessed WAKE_UP events is
69 * zero. It is important to note that the HAL must acquire the wake lock and
79 * The ISensorsCallback is used by the HAL to notify the framework of
90 * If either the Event FMQ or the Wake Lock FMQ is already initialized when
91 * initialize is invoked, then both existing FMQs must be discarded and the
98 * properly cleaned up when initialize is called in order to ensure that the
99 * HAL and framework's state is consistent (e.g. after a runtime restart).
104 * @param eventQueueDescriptor Fast Message Queue descriptor that is used to
105 * create the Event FMQ which is where sensor events are written. The
106 * descriptor is obtained from the framework's FMQ that is used to read
108 * @param wakeLockDescriptor Fast Message Queue descriptor that is used to
109 * create the Wake Lock FMQ which is where wake_lock events are read
110 * from. The descriptor is obtained from the framework's FMQ that is
114 * @return result OK on success; BAD_VALUE if descriptor is invalid (such
129 * When device is in NORMAL mode, this function is called to push operation
130 * environment data to device. In this operation, Event is always of
134 * When device is in DATA_INJECTION mode, this function is also used for
143 * @return result OK on success; PERMISSION_DENIED if operation is not
144 * allowed; INVALID_OPERATION, if this functionality is unsupported;