diff options
Diffstat (limited to 'en/devices/sensors/index.html')
-rw-r--r-- | en/devices/sensors/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/en/devices/sensors/index.html b/en/devices/sensors/index.html index 71ca2e7b..1613131a 100644 --- a/en/devices/sensors/index.html +++ b/en/devices/sensors/index.html @@ -24,7 +24,7 @@ <img style="float: right; margin: 0px 15px 15px 15px;" src="images/ape_fwk_hal_sensors.png" alt="Android Sensors HAL icon"/> -<p>Android sensors give applications access to a mobile device's underlying physical sensors. They are data-providing virtual devices defined by <a href="/devices/halref/sensors_8h.html">sensors.h</a>, the sensor Hardware Abstraction Layer (HAL).</p> +<p>Android sensors give applications access to a mobile device's underlying physical sensors. They are data-providing virtual devices defined by <a href="https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h">sensors.h</a>, the sensor Hardware Abstraction Layer (HAL).</p> <h2 id="what_are_“android_sensors”">What are Android sensors?</h2> <p>Android sensors are virtual devices that provide data coming from a set of physical sensors: accelerometers, gyroscopes, magnetometers, barometer, humidity, pressure, light, proximity and heart rate sensors.</p> @@ -48,7 +48,7 @@ <p>Each Android sensor has a “type” representing how the sensor behaves and what data it provides.</p> <ul> - <li> The official Android <a href="sensor-types.html">Sensor types</a> are defined in <a href="/devices/halref/sensors_8h.html">sensors.h</a> under the names SENSOR_TYPE_… + <li> The official Android <a href="sensor-types.html">Sensor types</a> are defined in <a href="https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h">sensors.h</a> under the names SENSOR_TYPE_… <ul> <li> The vast majority of sensors have an official sensor type. </li> <li> Those types are documented in the Android SDK. </li> @@ -130,7 +130,7 @@ </li> <li> Hardware abstraction layer (HAL) <ul> - <li> <a href="/devices/halref/sensors_8h_source.html">https://source.android.com/devices/halref/sensors_8h_source.html</a></li> + <li> <a href="https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h">https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h</a></li> <li> Also known as “sensors.h” </li> <li> The source of truth. First document to be updated when new features are developed. </li> |