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

/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...]
H A DSensorServiceUtils.cpp19 #include <hardware/sensors.h>
H A DRecentEventLogger.h23 #include <hardware/sensors.h>
H A DCorrectedGyroSensor.cpp23 #include <hardware/sensors.h>
H A DGravitySensor.cpp23 #include <hardware/sensors.h>
H A DLinearAccelerationSensor.cpp23 #include <hardware/sensors.h>
H A DOrientationSensor.cpp23 #include <hardware/sensors.h>
H A DRotationVectorSensor.cpp23 #include <hardware/sensors.h>
H A DSensorDevice.cpp30 #include <hardware/sensors.h>
97 result.appendFormat("Total %d h/w sensors, %zu running:\n", count, mActivationCount.size());
H A DSensorService.cpp26 #include <hardware/sensors.h>
185 // (it wants to be instantiated after h/w sensors have been
190 // Add Android virtual sensors if they're not already
204 // virtual debugging sensors are not for user
342 // Clear all pending flush connections for all active sensors. If one of the active
368 // Re-enable sensors.
409 result.append("Active sensors:\n");
551 // handle virtual sensors
675 // If the connection has one-shot sensors, it may be cleaned up after first trigger.
676 // Early check for one-shot sensors
[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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMotionSensor.java19 package androidx.media.filterpacks.sensors;
/frameworks/base/services/core/java/com/android/server/am/
H A DHealthStatsBatteryStatsWriter.java52 SparseArray<? extends BatteryStats.Uid.Sensor> sensors;
119 sensors = uid.getSensorStats();
120 N = sensors.size();
122 int sensorId = sensors.keyAt(i);
123 // Battery Stats stores the GPS sensors with a bogus key in this API. Pull it out
127 sensors.valueAt(i).getSensorTime());
130 sensors.valueAt(i).getSensorTime());
/frameworks/native/include/gui/
H A DSensor.h28 #include <hardware/sensors.h>
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java153 private void registerSensors(int [] sensors) { argument
154 for (int sensorType : sensors) {
/frameworks/native/libs/gui/
H A DSensor.cpp21 #include <hardware/sensors.h>
63 // sensors also have their fifo counts set to zero.
87 // Ensure existing sensors have correct string type, required permissions and reporting mode.
90 // HALs. Newer HALs can define both wake-up and non wake-up proximity sensors.
91 // All the OEM defined defined sensors have flags set to whatever is provided by the HAL.
248 // Only pipe the stringType, requiredPermission and flags for custom sensors.
464 // breaking dynamic sensors). See b/29547335.
/frameworks/base/core/java/android/os/
H A DBatteryStats.java3313 final SparseArray<? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
3314 final int NSE = sensors.size();
3316 final Uid.Sensor se = sensors.valueAt(ise);
3317 final int sensorNumber = sensors.keyAt(ise);
4466 final SparseArray<? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
4467 final int NSE = sensors.size();
4469 final Uid.Sensor se = sensors.valueAt(ise);
4470 final int sensorNumber = sensors.keyAt(ise);
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs452 <div class="nav-section-header"><a href="<?cs var:toroot ?>guide/topics/sensors/index.html">
462 <li><a href="<?cs var:toroot ?>guide/topics/sensors/sensors_overview.html">
465 <li><a href="<?cs var:toroot ?>guide/topics/sensors/sensors_motion.html">
468 <li><a href="<?cs var:toroot ?>guide/topics/sensors/sensors_position.html">
471 <li><a href="<?cs var:toroot ?>guide/topics/sensors/sensors_environment.html">
475 </li><!-- end of location and sensors -->

Completed in 511 milliseconds