Searched refs:sensors (Results 1 - 13 of 13) sorted by relevance

/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.java30 * 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
454 registerListener(SensorListener listener, int sensors) argument
482 registerListener(SensorListener listener, int sensors, int rate) argument
515 unregisterListener(SensorListener listener, int sensors) argument
[all...]
/frameworks/native/include/gui/
H A DSensor.h28 #include <hardware/sensors.h>
/frameworks/native/services/sensorservice/
H A DLinearAccelerationSensor.cpp23 #include <hardware/sensors.h>
H A DCorrectedGyroSensor.cpp23 #include <hardware/sensors.h>
H A DGravitySensor.cpp23 #include <hardware/sensors.h>
H A DOrientationSensor.cpp23 #include <hardware/sensors.h>
H A DRotationVectorSensor.cpp23 #include <hardware/sensors.h>
H A DSensorDevice.cpp29 #include <hardware/sensors.h>
76 result.appendFormat("%d h/w sensors:\n", int(count));
H A DSensorService.cpp40 #include <hardware/sensors.h>
108 // (it wants to be instantiated after h/w sensors have been
118 // Add Android virtual sensors if they're not already
143 // virtual debugging sensors are not added to mUserSensorList
273 result.append("Active sensors:\n");
342 // Todo(): add a flag to the sensors definitions to indicate
343 // the sensors which can wake up the AP
354 // handle virtual sensors
414 // Some sensors need to be auto disabled after the trigger
491 property_get("debug.sensors", valu
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMotionSensor.java19 package androidx.media.filterpacks.sensors;
/frameworks/native/libs/gui/
H A DSensor.cpp24 #include <hardware/sensors.h>
52 // sensors also have their fifo counts set to zero.
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1431 Map<Integer, ? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
1432 if (sensors.size() > 0) {
1434 : sensors.entrySet()) {
1968 Map<Integer, ? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
1969 if (sensors.size() > 0) {
1971 : sensors.entrySet()) {

Completed in 593 milliseconds