Lines Matching refs:sensor

31      * The SensorInfo for each sensor returned by getSensorsList must be stable
33 * entire system restarts. The SensorInfo for each sensor must not change
35 * HAL and its dependencies (for example, the sensor handle for a given
36 * sensor must not change across HAL restarts).
46 * Data is injected for the supported sensors by the sensor service in
56 * Activate/de-activate one sensor.
58 * After sensor de-activation, existing sensor events that have not
60 * subsequent activations do not get stale sensor events (events
63 * @param sensorHandle is the handle of the sensor to change.
64 * @param enabled set to true to enable, or false to disable the sensor.
74 * framework of asynchronous events, such as a dynamic sensor connection.
76 * The Event FMQ is used to transport sensor events from the HAL to the
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
83 * must notify the framework that sensor events are available to be read and
113 * asynchronous events, such as a dynamic sensor connection.
130 * All active sensor requests and direct channels must be closed and
138 * create the Event FMQ which is where sensor events are written. The
140 * sensor events.
159 * Sets a sensor’s parameters, including sampling frequency and maximum
160 * report latency. This function can be called while the sensor is
161 * activated, in which case it must not cause any sensor measurements to
166 * @param sensorHandle handle of sensor to be changed.
167 * @param samplingPeriodNs specifies sensor sample period in nanoseconds.
182 * FIFO for the specified sensor and flushes the FIFO. If the FIFO is empty
183 * or if the sensor doesn't support batching (FIFO size zero), return
185 * This applies to all sensors other than one-shot sensors. If the sensor
186 * is a one-shot sensor, flush must return BAD_VALUE and not generate any
187 * flush complete metadata. If the sensor is not active at the time flush()
190 * @param sensorHandle handle of sensor to be flushed.
196 * Inject a single sensor event or push operation environment parameters to
205 * injecting sensor events.
208 * type events should not be routed back to the sensor event queue.
212 * @param event sensor event to be injected
215 * BAD_VALUE if sensor event cannot be injected.
223 * return, the sensor hardware is responsible for resetting the memory
228 * not consistent; NO_MEMORY if shared memory cannot be used by sensor
242 * registerDirectChannel, and remove all active sensor report configured in
243 * still active sensor report configured in the direct channel.
252 * Configure direct sensor event report in direct channel.
254 * This function start, modify rate or stop direct report of a sensor in a
257 * @param sensorHandle handle of sensor to be configured. When combined
263 * rate level is not supported by sensor, channelHandle does not exist,