Searched defs:sensors (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMotionSensor.java19 package androidx.media.filterpacks.sensors;
/frameworks/native/services/sensorservice/
H A DSensorList.cpp19 #include <hardware/sensors.h>
71 Vector<Sensor> sensors; local
73 [&sensors] (const Entry& e) -> bool {
75 sensors.add(e.si->getSensor());
79 return sensors;
84 Vector<Sensor> sensors; local
86 [&sensors] (const Entry& e) -> bool {
88 sensors.add(e.si->getSensor());
92 return sensors;
97 Vector<Sensor> sensors; local
110 Vector<Sensor> sensors; local
[all...]
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java89 public boolean registerListener(SensorListener listener, int sensors, int rate) { argument
95 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result;
97 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result;
99 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result;
101 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result;
103 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result;
108 SensorListener listener, int sensors, int rate) {
111 if ((sensors & legacyType) != 0) {
118 // are called reentrantly while sensors are being registered or unregistered.
144 public void unregisterListener(SensorListener listener, int sensors) { argument
107 registerLegacyListener(int legacyType, int type, SensorListener listener, int sensors, int rate) argument
160 unregisterLegacyListener(int legacyType, int type, SensorListener listener, int sensors) argument
243 hasOrientationSensor(int sensors) argument
[all...]
H A DSensorManager.java32 * sensors}. Get an instance of this class by calling
38 * Always make sure to disable sensors you don't need, especially when your
40 * hours. Note that the system will <i>not</i> disable sensors automatically when
87 // Cached lists of sensors by type. Guarded by mSensorListByType.
169 * A constant that includes all sensors
374 * Gets the full list of sensors that are available.
380 * Gets the full list of dynamic sensors that are available.
386 * @return available sensors.
396 * Use this method to get the list of available sensors of a certain type.
397 * Make multiple calls to get sensors o
557 registerListener(SensorListener listener, int sensors) argument
585 registerListener(SensorListener listener, int sensors, int rate) argument
618 unregisterListener(SensorListener listener, int sensors) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java150 private void registerSensors(int [] sensors) { argument
151 for (int sensorType : sensors) {

Completed in 279 milliseconds