Lines Matching refs:sensors

30  * sensors}. Get an instance of this class by calling
36 * Always make sure to disable sensors you don't need, especially when your
38 * hours. Note that the system will <i>not</i> disable sensors automatically when
85 // Cached lists of sensors by type. Guarded by mSensorListByType.
167 * A constant that includes all sensors
365 * Gets the full list of sensors that are available.
371 * @return available sensors.
381 * Use this method to get the list of available sensors of a certain type.
382 * Make multiple calls to get sensors of different types or use
384 * sensors.
387 * of sensors requested
389 * @return a list of sensors matching the asked type.
420 * averaged or filtered. If you need to access the raw sensors use
424 * of sensors requested
426 * @return the default sensors matching the asked type.
438 * Registers a listener for given sensors.
447 * @param sensors
448 * a bit masks of the sensors to register to
454 public boolean registerListener(SensorListener listener, int sensors) {
455 return registerListener(listener, sensors, SENSOR_DELAY_NORMAL);
459 * Registers a SensorListener for given sensors.
468 * @param sensors
469 * a bit masks of the sensors to register to
482 public boolean registerListener(SensorListener listener, int sensors, int rate) {
483 return getLegacySensorManager().registerListener(listener, sensors, rate);
487 * Unregisters a listener for all sensors.
502 * Unregisters a listener for the sensors with which it is registered.
511 * @param sensors
512 * a bit masks of the sensors to unregister from
515 public void unregisterListener(SensorListener listener, int sensors) {
516 getLegacySensorManager().unregisterListener(listener, sensors);
520 * Unregisters a listener for the sensors with which it is registered.
546 * Unregisters a listener for all sensors.
750 * Flushes the batch FIFO of all the sensors registered for this listener. If there are events
752 * sensors had expired. Events are returned in the usual way through the SensorEventListener.
763 * @return <code>true</code> if the flush is initiated successfully on all the sensors
765 * listener or flush on one of the sensors fails.
1474 * If null, it cancels receiving trigger for all sensors associated