Lines Matching full:is

23  * distributed under the License is distributed on an "AS IS" BASIS,
41 * A Handle identifies a given sensors. The handle is used to activate
74 * This API is relative to the screen of the device in its default orientation,
75 * that is, if the device can be used in portrait or landscape, this API
76 * is only relative to the NATURAL orientation of the screen. In other words,
105 * SoC to go into suspend mode. It is the responsibility of applications
107 * events while the screen is off. While in suspend mode, and unless
111 * Note that conceptually, the sensor itself is not de-activated while in
115 * save power, unless batch mode is active, in which case they must
119 * In batch mode, and only when the flag SENSORS_BATCH_WAKE_UPON_FIFO_FULL is
160 * real, individual sensors. It is the responsibility of the driver and HAL
161 * to make sure this is the case.
178 * setDelay() is used to set a lower limit to the reporting
181 * sensor is activated.
185 * conditions. No other event is sent until the sensor get
186 * reactivated. setDelay() is ignored.
199 * SENSOR_TYPE_META_DATA is a special token used to populate the
211 * The payload is a meta_data_event_t, where:
241 * due to gravity (which is opposite to the direction of the gravity vector).
246 * When the device lies flat on a table and is pushed on its left side
247 * toward the right, the x acceleration value is positive.
249 * When the device lies flat on a table, the acceleration value is +9.81,
253 * When the device lies flat on a table and is pushed toward the sky, the
254 * acceleration value is greater than +9.81, which correspond to the
268 * Returned values include calibration mechanisms such that the vector is
298 * Note: For historical reasons the roll angle is positive in the clockwise
313 * Note: This definition is different from yaw, pitch and roll used in aviation
314 * where the X axis is along the long side of the plane (tail to nose).
324 * around the X, Y and Z axis. The coordinate system is the same as is
325 * used for the acceleration sensor. Rotation is positive in the
326 * counter-clockwise direction (right-hand rule). That is, an observer
329 * appeared to be rotating counter clockwise. Note that this is the
334 * automatic gyro-drift compensation is allowed but not required.
343 * The light sensor value is returned in SI lux units.
356 /* SENSOR_TYPE_TEMPERATURE is deprecated in the HAL */
364 * The distance value is measured in centimeters. Note that some proximity
377 * the devices's coordinates. On Earth, the magnitude is 9.8 m/s^2.
378 * Units are m/s^2. The coordinate system is the same as is used for the
379 * acceleration sensor. When the device is at rest, the output of the
392 * The output is conceptually:
397 * The coordinate system is the same as is used for the acceleration sensor.
407 * East-North-Up coordinates frame. It is usually obtained by integration of
410 * The East-North-Up coordinate system is defined as a direct orthonormal basis
412 * - X points east and is tangential to the ground.
413 * - Y points north and is tangential to the ground.
414 * - Z points towards the sky and is perpendicular to the ground.
416 * The orientation of the phone is represented by the rotation necessary to
417 * align the East-North-Up coordinates with the phone's coordinates. That is,
425 * The rotation is encoded as the 4 (reordered) components of a unit quaternion:
433 * - theta is the rotation angle
435 * The quaternion must be of norm 1 (it is a unit quaternion). Failure to ensure
474 * Similar to SENSOR_TYPE_MAGNETIC_FIELD, but the hard iron calibration is
483 * is due to the Earth's poles should be avoided.
487 * Each is a component of the measured magnetic field, with soft iron
491 * Each field is a component of the estimated hard iron calibration.
497 * If this sensor is present, then the corresponding
515 * reference. That reference is allowed to drift by the same order of
519 * sensors_event_t.data[4] is reserved and should be set to 0
538 * around the X, Y and Z axis. An estimation of the drift on each axis is
545 * The coordinate system is the same as is
546 * used for the acceleration sensor. Rotation is positive in the
547 * counter-clockwise direction (right-hand rule). That is, an observer
550 * appeared to be rotating counter clockwise. Note that this is the
565 * If the implementation is not able to estimate the drift, then this
567 * SENSOR_TYPE_GYROSCOPE is used without drift compensation.
569 * If this sensor is present, then the corresponding
581 * is detected and automatically disables itself.
582 * The only allowed value to return is 1.0.
584 * A significant motion is a motion that might lead to a change in the user
589 * - phone in pocket and person is not moving
590 * - phone is on a table, even if the table shakes a bit due to nearby traffic
594 * - The goal of this sensor is to save power.
595 * - Triggering an event when the user is not moving (false positive) is costly
597 * - Not triggering an event when the user is moving (false negative) is
598 * acceptable as long as it is not done repeatedly. If the user has been
600 * is not acceptable.
602 * IMPORTANT NOTE: this sensor type is very different from other types
603 * in that it must work when the screen is off without the need of
605 * When significant motion is detected, the sensor must awaken the SoC and
609 * sensor type MUST NOT be reported by the HAL. ie: it is not acceptable
612 * The whole point of this sensor type is to save power by keeping the
613 * SoC in suspend mode when the device is at rest.
615 * When the sensor is not activated, it must also be deactivated in the
619 * setDelay() has no effect and is ignored.
620 * Once a "significant motion" event is returned, a sensor of this type
631 * A sensor of this type triggers an event each time a step is taken
632 * by the user. The only allowed value to return is 1.0 and an event is
641 * This sensor must be low power. That is, if the step detection cannot be
643 * step detector is activated and the accelerometer is not, only steps should
657 * the last reboot while activated. The value is returned as a uint64_t and is
660 * The timestamp of the event is set to the time when the first step
665 * (this restriction is here to avoid too frequent wake-ups when the
666 * delay is very large).
668 * IMPORTANT NOTE: this sensor type is different from other types
669 * in that it must work when the screen is off without the need of
676 * In other words, when the screen is off and the device allowed to
681 * overflows. It is allowed in this situation to wake the SoC up so the
689 * sensor type MUST NOT be reported by the HAL. ie: it is not acceptable
692 * This sensor must be low power. That is, if the step detection cannot be
694 * step counter is activated and the accelerometer is not, only steps should
697 * The whole point of this sensor type is to save power by keeping the
698 * SoC in suspend mode when the device is at rest.
713 * goal of this sensor is to be low power.
714 * The accelerometer can be (and usually is) used.
740 /** Average sea level pressure is 1013.25 hPa */
848 /* time is in nanosecond */
875 /* temperature is in degrees centigrade (Celsius) */
896 /* this is a special event. see SENSOR_TYPE_META_DATA above.
898 * SENSOR_TYPE_META_DATA. The handle is ignored and must be zero.
928 * must increase when the driver is updated in a way that changes the
929 * output of this sensor. This is important for fused sensors when the
930 * fusion algorithm is updated.
934 /* handle that identifies this sensors. This handle is used to reference
961 * If there is a dedicated FIFO for this sensor, then this is the
962 * size of this FIFO. If the FIFO is shared with other sensors,
963 * this is the size reserved for that sensor and it can be zero.
968 * This is especially relevant when the FIFO is shared between
969 * several sensors; this value is then set to the size of that FIFO.
1111 /* rt_sensor_t is a C typedef for SensorBase */