Home | History | Annotate | Download | only in 7_hardware-compatibility

Lines Matching refs:Sensor

3 If device implementations include a particular sensor type that has a
17 * [C-0-3] MUST behave reasonably for all other sensor APIs (for example, by
19 listeners, not calling sensor listeners when the corresponding sensors are not
22 If device implementations include a particular sensor type that has a
25 * [C-1-1] MUST [report all sensor measurements](
28 sensor type as defined in the Android SDK documentation.
29 * [C-1-2] MUST report sensor data with a maximum latency of 100 milliseconds
30 + 2 * sample_time for the case of a sensor streamed with a minimum required
33 * [C-1-3] MUST report the first sensor sample within 400 milliseconds + 2 *
34 sample_time of the sensor being activated. It is acceptable for this sample to
46 [continuous sensor](
53 * [C-1-5] MUST ensure that the sensor event stream
57 the sum of the individual sensor?s reported power consumption.
65 Some sensor types are composite, meaning they can be derived from data provided
66 by one or more other sensors. (Examples include the orientation sensor and the
67 linear acceleration sensor.)
71 * SHOULD implement these sensor types, when they
73 in [sensor types](https://source.android.com/devices/sensors/sensor-types.html).
75 If device implementations include a composite sensor, they:
77 * [C-2-1] MUST implement the sensor as described in the Android Open Source
79 https://source.android.com/devices/sensors/sensor-types.html#composite_sensor_type_summary).
90 http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_ACCELEROMETER)
91 sensor.
92 * [C-1-3] MUST comply with the [Android sensor coordinate system](
102 composite sensor.
104 `TYPE_ACCELEROMETER_UNCALIBRATED` sensor if online accelerometer calibration
116 https://developer.android.com/reference/android/hardware/Sensor.html#STRING_TYPE_ACCELEROMETER_UNCALIBRATED)
117 sensor.
127 If device implementations include a 3-axis accelerometer and a gyroscope sensor,
132 * SHOULD implement the `TYPE_GAME_ROTATION_VECTOR` composite sensor.
134 implement the `TYPE_GAME_ROTATION_VECTOR` sensor.
136 If device implementations include a 3-axis accelerometer, a gyroscope sensor
137 and a magnetometer sensor, they:
139 * [C-4-1] MUST implement a `TYPE_ROTATION_VECTOR` composite sensor.
147 * [C-1-1] MUST implement the `TYPE_MAGNETIC_FIELD` sensor.
150 * [C-1-3] MUST comply with the [Android sensor coordinate system](
168 * SHOULD implement `TYPE_MAGNETIC_FIELD_UNCALIBRATED` sensor.
170 `TYPE_MAGNETIC_FIELD_UNCALIBRATED` sensor.
174 sensor and a gyroscope sensor, they:
176 * [C-2-1] MUST implement a `TYPE_ROTATION_VECTOR` composite sensor.
180 * MAY implement the `TYPE_GEOMAGNETIC_ROTATION_VECTOR` sensor.
183 `TYPE_GEOMAGNETIC_ROTATION_VECTOR` sensor, they:
186 * SHOULD consume less than 3 mW when the sensor is registered for batch mode at 10 Hz.
269 * SHOULD include a gyroscope (angular change sensor).
270 * SHOULD NOT include a gyroscope sensor unless a 3-axis accelerometer is
276 * [C-1-2] MUST implement the `TYPE_GYROSCOPE` sensor and SHOULD also implement
277 `TYPE_GYROSCOPE_UNCALIBRATED` sensor.
291 implement the `SENSOR_TYPE_GYROSCOPE_UNCALIBRATED` sensor.
296 If device implementations include a gyroscope, an accelerometer sensor and a
297 magnetometer sensor, they:
299 * [C-2-1] MUST implement a `TYPE_ROTATION_VECTOR` composite sensor.
301 If device implementations include a gyroscope and a accelerometer sensor, they:
306 the `TYPE_GAME_ROTATION_VECTOR` sensor.
307 * SHOULD implement the `TYPE_GAME_ROTATION_VECTOR` composite sensor.
312 sensor).
316 * [C-1-1] MUST implement and report `TYPE_PRESSURE` sensor.
328 * MAY include an ambient thermometer (temperature sensor).
329 * MAY but SHOULD NOT include a CPU temperature sensor.
331 If device implementations include an ambient thermometer (temperature sensor),
341 Note the `SENSOR_TYPE_TEMPERATURE` sensor type was deprecated in Android 4.0.
345 * Device implementations MAY include a photometer (ambient light sensor).
347 ### 7.3.8\. Proximity Sensor
349 * Device implementations MAY include a proximity sensor.
351 If device implementations include a proximity sensor, they:
354 screen. That is, the proximity sensor MUST be oriented to detect objects
355 close to the screen, as the primary intent of this sensor type is to
357 proximity sensor with any other orientation, it MUST NOT be accessible
368 `android.hardware.sensor.hifi_sensors` feature flag.
370 If device implementations declare `android.hardware.sensor.hifi_sensors`,
373 * [C-2-1] MUST have a `TYPE_ACCELEROMETER` sensor which:
379 * MUST implement a non-wake-up form of this sensor with a buffering
380 capability of at least 3000 sensor events.
388 of sensor?s noise integrity.
393 * [C-2-3] MUST have a `TYPE_GYROSCOPE` sensor which:
405 of sensor?s noise integrity.
411 * [C-2-5] MUST have a `TYPE_GEOMAGNETIC_FIELD` sensor which:
419 * MUST implement a non-wake-up form of this sensor with a buffering
420 capability of at least 600 sensor events.
422 of sensor?s noise integrity.
423 * [C-2-7] MUST have a `TYPE_PRESSURE` sensor which:
429 * MUST implement a non-wake-up form of this sensor with a buffering
430 capability of at least 300 sensor events.
432 * [C-2-8] MUST have a `TYPE_GAME_ROTATION_VECTOR` sensor which:
433 * MUST implement a non-wake-up form of this sensor with a buffering
434 capability of at least 300 sensor events.
436 * [C-2-9] MUST have a `TYPE_SIGNIFICANT_MOTION` sensor which:
439 * [C-2-10] MUST have a `TYPE_STEP_DETECTOR` sensor which:
440 * MUST implement a non-wake-up form of this sensor with a buffering
441 capability of at least 100 sensor events.
445 * [C-2-11] MUST have a `TYPE_STEP_COUNTER` sensor which:
448 * [C-2-12] MUST have a `TILT_DETECTOR` sensor which:
452 Accelerometer, Gyroscope sensor and Magnetometer MUST be within 2.5
454 * [C-2-14] MUST have Gyroscope sensor event timestamps on the same time
466 * [C-2-17] MAY have a `TYPE_PROXIMITY` sensor, but if present MUST have
467 a minimum buffer capability of 100 sensor events.
471 drawn by the entire sensor chain?the sensor, any supporting circuitry, any
472 dedicated sensor processing system, etc.
474 If device implementations include direct sensor support, they:
478 https://developer.android.com/reference/android/hardware/Sensor.html#isDirectChannelTypeSupported%28int%29)
480 https://developer.android.com/reference/android/hardware/Sensor.html#getHighestDirectReportRateLevel%28%29)
482 * [C-3-2] MUST support at least one of the two sensor direct channel types
483 for all sensors that declare support for sensor direct channel
486 * SHOULD support event reporting through sensor direct channel for primary
487 sensor (non-wakeup variant) of the following types:
495 ### 7.3.10\. Fingerprint Sensor
499 * SHOULD include a fingerprint sensor.
501 If device implementations include a fingerprint sensor and make the sensor
540 when the fingerprint sensor is touched until the screen is unlocked, for one
567 ## 7.3.12\. Pose Sensor
571 * MAY support pose sensor with 6 degrees of freedom.
573 If device implementations support pose sensor with 6 degrees of freedom, they:
576 https://developer.android.com/reference/android/hardware/Sensor.html#TYPE_POSE_6DOF)
577 sensor.