Lines Matching refs:sensor

31      *    Data is injected for the supported sensors by the sensor service in
41 * Activate/de-activate one sensor.
43 * After sensor de-activation, existing sensor events that have not
45 * subsequent activation will not get stale sensor events (events
48 * @param sensorHandle is the handle of the sensor to change.
49 * @param enabled set to true to enable, or false to disable the sensor.
56 * Generate a vector of sensor events containing at most "maxCount"
62 * If there is no sensor event when this function is being called, block
63 * until there are sensor events available.
69 * @return data vector of Event contains sensor events.
70 * @return dynamicSensorsAdded vector of SensorInfo contains dynamic sensor
71 * added. Each element corresponds to a dynamic sensor meta events
81 * Sets a sensor’s parameters, including sampling frequency and maximum
82 * report latency. This function can be called while the sensor is
83 * activated, in which case it must not cause any sensor measurements to
87 * See the Batching sensor results page for details:
90 * @param sensorHandle handle of sensor to be changed.
91 * @param samplingPeriodNs specifies sensor sample period in nanoseconds.
104 * FIFO for the specified sensor and flushes the FIFO. If the FIFO is empty
105 * or if the sensor doesn't support batching (FIFO size zero), return
107 * This applies to all sensors other than one-shot sensors. If the sensor
108 * is a one-shot sensor, flush must return BAD_VALUE and not generate any
109 * flush complete metadata. If the sensor is not active at the time flush()
112 * @param sensorHandle handle of sensor to be flushed.
118 * Inject a single sensor event or push operation environment parameters to
127 * injecting sensor events.
134 * @param event sensor event to be injected
137 * unsupported; BAD_VALUE if sensor event cannot be injected.
145 * return, the sensor hardware is responsible for resetting the memory
151 * sensor system; INVALID_OPERATION if functionality is not
164 * registerDirectChannel, and remove all active sensor report configured in
165 * still active sensor report configured in the direct channel.
174 * Configure direct sensor event report in direct channel.
176 * This function start, modify rate or stop direct report of a sensor in a
179 * @param sensorHandle handle of sensor to be configured. When combined
186 * rate level is not supported by sensor, channelHandle does not