/frameworks/native/services/sensorservice/ |
D | SensorList.cpp | 71 Vector<Sensor> sensors; in getUserSensors() local 73 [&sensors] (const Entry& e) -> bool { in getUserSensors() 75 sensors.add(e.si->getSensor()); in getUserSensors() 79 return sensors; in getUserSensors() 84 Vector<Sensor> sensors; in getUserDebugSensors() local 86 [&sensors] (const Entry& e) -> bool { in getUserDebugSensors() 88 sensors.add(e.si->getSensor()); in getUserDebugSensors() 92 return sensors; in getUserDebugSensors() 97 Vector<Sensor> sensors; in getDynamicSensors() local 99 [&sensors] (const Entry& e) -> bool { in getDynamicSensors() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 89 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener() argument 95 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; in registerListener() 97 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; in registerListener() 99 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener() 101 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener() 103 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result; in registerListener() 108 SensorListener listener, int sensors, int rate) { in registerLegacyListener() argument 111 if ((sensors & legacyType) != 0) { in registerLegacyListener() 144 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener() argument 149 listener, sensors); in unregisterListener() [all …]
|
D | SensorManager.java | 557 public boolean registerListener(SensorListener listener, int sensors) { in registerListener() argument 558 return registerListener(listener, sensors, SENSOR_DELAY_NORMAL); in registerListener() 585 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener() argument 586 return getLegacySensorManager().registerListener(listener, sensors, rate); in registerListener() 618 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener() argument 619 getLegacySensorManager().unregisterListener(listener, sensors); in unregisterListener() 961 List<Sensor> sensors = getSensorList(Sensor.TYPE_DYNAMIC_SENSOR_META); in isDynamicSensorDiscoverySupported() local 962 return sensors.size() > 0; in isDynamicSensorDiscoverySupported()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_overview.jd | 10 <li>Learn about the sensors that Android supports and the Android sensor framework.</li> 11 <li>Find out how to list sensors, determine sensor capabilities, and monitor sensor data.</li> 12 <li>Learn about best practices for accessing and using sensors.</li> 16 <li><a href="#sensors-intro">Introduction to Sensors</a></li> 17 <li><a href="#sensors-identify">Identifying Sensors and Sensor Capabilities</a></li> 18 <li><a href="#sensors-monitor">Monitoring Sensor Events</a></li> 19 <li><a href="#sensors-configs">Handling Different Sensor Configurations</a></li> 20 <li><a href="#sensors-coords">Sensor Coordinate System</a></li> 21 <li><a href="#sensors-practices">Best Practices for Accessing and Using Sensors</a></li> 43 <li><a href="{@docRoot}guide/topics/sensors/index.html">Sensors</a></li> [all …]
|
D | sensors_environment.jd | 10 <li><a href="#sensors-using-temp">Using the Light, Pressure, and Temperature 12 <li><a href="#sensors-using-humid">Using the Humidity Sensor</a></li> 27 <li><a href="{@docRoot}guide/topics/sensors/index.html">Sensors</a></li> 28 <li><a href="{@docRoot}guide/topics/sensors/sensors_overview.html">Sensors Overview</a></li> 29 <li><a href="{@docRoot}guide/topics/sensors/sensors_position.html">Position Sensors</a></li> 30 <li><a href="{@docRoot}guide/topics/sensors/sensors_motion.html">Motion 36 <p>The Android platform provides four sensors that let you monitor various environmental properties. 37 You can use these sensors to monitor relative ambient humidity, illuminance, ambient pressure, and 38 ambient temperature near an Android-powered device. All four environment sensors are hardware-based 41 sensors are not always available on devices. Because of this, it's particularly important that you [all …]
|
D | sensors_motion.jd | 10 <li><a href="#sensors-motion-accel">Using the Accelerometer</a></li> 11 <li><a href="#sensors-motion-grav">Using the Gravity Sensor</a></li> 12 <li><a href="#sensors-motion-gyro">Using the Gyroscope</a></li> 13 <li><a href="#sensors-motion-linear">Using the Linear Accelerometer</a></li> 14 <li><a href="#sensors-motion-rotate">Using the Rotation Vector Sensor</a></li> 15 <li><a href="#sensors-motion-significant">Using the Significant Motion Sensor</a></li> 16 <li><a href="#sensors-motion-stepcounter">Using the Step Counter Sensor</a></li> 17 <li><a href="#sensors-motion-stepdetector">Using the Step Detector Sensor</a></li> 39 <li><a href="{@docRoot}guide/topics/sensors/index.html">Sensors</a></li> 40 <li><a href="{@docRoot}guide/topics/sensors/sensors_overview.html">Sensors Overview</a></li> [all …]
|
D | sensors_position.jd | 9 <li><a href="#sensors-pos-gamerot">Using the Game Rotation Vector Sensor</a></li> 10 <li><a href="#sensors-pos-geomrot">Using the Geomagnetic Rotation Vector Sensor</a></li> 11 <li><a href="#sensors-pos-orient">Using the Orientation Sensor</a></li> 12 <li><a href="#sensors-pos-mag">Using the Geomagnetic Field Sensor</a></li> 13 <li><a href="#sensors-pos-prox">Using the Proximity Sensor</a></li> 35 <li><a href="{@docRoot}guide/topics/sensors/index.html">Sensors</a></li> 36 <li><a href="{@docRoot}guide/topics/sensors/sensors_overview.html">Sensors Overview</a></li> 37 <li><a href="{@docRoot}guide/topics/sensors/sensors_motion.html">Motion 39 <li><a href="{@docRoot}guide/topics/sensors/sensors_environment.html">Environment 45 <p>The Android platform provides two sensors that let you determine the position of a device: the [all …]
|
D | index.jd | 3 page.tags=location,sensors 4 page.landing.intro=Use sensors on the device to add rich location and motion capabilities to your a…
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 52 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; in writeUid() local 119 sensors = uid.getSensorStats(); in writeUid() 120 N = sensors.size(); in writeUid() 122 int sensorId = sensors.keyAt(i); in writeUid() 127 sensors.valueAt(i).getSensorTime()); in writeUid() 130 sensors.valueAt(i).getSensorTime()); in writeUid()
|
/frameworks/base/docs/html/samples/ |
D | sensors.jd | 5 <div id="samples" class="sensors">
|
/frameworks/base/docs/html/ndk/reference/ |
D | index.jd | 10 <li>Using hardware sensors.</li>
|
D | group___sensor.jd | 218 …574cd5f4710">ASensor</a> is an opaque type that provides information about an hardware sensors.</p> 257 …cess to <a class="el" href="struct_a_sensor_event.html">ASensorEvent</a> from hardware sensors.</p> 259 <p>This file provides a set of functions to enable and disable sensors, check and get events, and s… 293 …b9b276ab8f914ae77babc349">ASensorManager</a> is an opaque type to manage sensors and events queues… 295 …b9b276ab8f914ae77babc349">ASensorManager</a> to access and list hardware sensors, and create and d… 452 …s sensor. Batches will often be smaller, as the hardware fifo might be used for other sensors. </p> 537 <p>Returns this sensors's resolution </p> 921 <p>Returns the list of available sensors. </p>
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 19 package androidx.media.filterpacks.sensors;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManager.java | 150 private void registerSensors(int [] sensors) { in registerSensors() argument 151 for (int sensorType : sensors) { in registerSensors()
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3-highlights.jd | 237 specific sensors and manage event delivery rate and queueing. </p> 241 new sensors, for improved 3D motion processing</strong></p> 244 gyroscope, rotation vector, linear acceleration, gravity, and barometer sensors. 245 Applications can use the new sensors in combination with any other sensors
|
D | kitkat.jd | 68 <li><a href="#44-sensors">Low-power sensors</a></li> 348 <h2 id="44-sensors">Low-power sensors</h2> 381 <img src="{@docRoot}images/kk-sensors-moves-n5.jpg" alt="" width="240" style= 382 "margin-bottom:0;"> <img src="{@docRoot}images/kk-sensors-runtastic-n5.jpg" alt="" 395 support for two new composite sensors — step detector 397 the user is walking, running, or climbing stairs. These new sensors are 411 Step detector and counter sensors are available on Nexus 5, and we're working
|
D | lollipop.jd | 37 <li><a href="#Sensors">New types of sensors</a></li> 219 <h2 id="Sensors">New types of sensors</h2> 223 <p>New <strong>interaction composite sensors</strong> are now available to detect special interacti…
|
/frameworks/base/docs/html/training/gestures/ |
D | index.jd | 22 <li><a href="{@docRoot}guide/topics/sensors/sensors_overview.html">Sensors Overview</a></li>
|
D | movement.jd | 26 <li><a href="{@docRoot}guide/topics/sensors/sensors_overview.html">Sensors Overview</a></li>
|
/frameworks/base/docs/html/design/wear/ |
D | context.jd | 24 notifications and actions. By using device sensors and other contextual cues, your app can reveal
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | index.jd | 18 Wearable apps run directly on the device, giving you access to hardware such as sensors and the
|
/frameworks/base/docs/html/wear/ |
D | index.jd | 146 Design apps that can access a wide range of sensors and other hardware 198 Create custom experiences with activities, services, sensors, and much
|
/frameworks/base/docs/html/about/ |
D | android.jd | 46 multicore processing and high-performance graphics to state-of-the-art sensors,
|
D | index.jd | 54 multicore processing and high-performance graphics to state-of-the-art sensors,
|
/frameworks/base/docs/html/training/wearables/watch-faces/ |
D | designing.jd | 73 <dd>Your watch face can leverage sensors and cellular connectivity on the companion mobile
|