aboutsummaryrefslogtreecommitdiff
path: root/en/devices
diff options
context:
space:
mode:
authorAndroid Partner Docs <noreply@android.com>2018-10-26 10:56:08 -0700
committerMark Hecomovich <mheco@google.com>2018-10-26 14:26:23 -0700
commit4ba4ea56ab8aec0d24df1254bcbe01d7b2bd2512 (patch)
tree880f10c16e1daf2eb4ca993e526fc1a0097b92cf /en/devices
parent98a440bcd336b9b5e6102c5b921eec7f9b14ac02 (diff)
downloadsource.android.com-4ba4ea56ab8aec0d24df1254bcbe01d7b2bd2512.tar.gz
Docs: Changes to source.android.com
- 218879518 Add Configuration tuning section to Wi-Fi debug page by Kenneth Lau <kennethlau@google.com> - 218712036 Devsite localized content from translation request 1008371. by Android Partner Docs <noreply@android.com> - 218712025 Devsite localized content from translation request 1005928. by Android Partner Docs <noreply@android.com> - 218712020 Devsite localized content from translation request 1007339. by Android Partner Docs <noreply@android.com> - 218684781 Fix formatting by Android Partner Docs <noreply@android.com> - 218542171 Update acknowledgement for CVE-2017-13270 by Danielle Roberts <daroberts@google.com> - 218533117 Update RFoV zip file to 1.3 by Kenneth Lau <kennethlau@google.com> - 218530006 Devsite localized content from translation request 1008213. by Android Partner Docs <noreply@android.com> - 218529978 Devsite localized content from translation request 1002445. by Android Partner Docs <noreply@android.com> - 218529963 Devsite localized content from translation request 972165. by Android Partner Docs <noreply@android.com> - 218437924 Add a note about Hardware requirements if downloading a m... by Christina Nguyen <cqn@google.com> - 218368944 Fix broken link. by Mark Hecomovich <mheco@google.com> - 218359370 Devsite localized content from translation request 1008218. by Android Partner Docs <noreply@android.com> - 218359361 Devsite localized content from translation request 1007771. by Android Partner Docs <noreply@android.com> - 218359349 Devsite localized content from translation request 1007338. by Android Partner Docs <noreply@android.com> - 218258283 Add Pixel 2, Pixel 2 XL, Pixel 3 and Pixel 3 XL to the ru... by Android Partner Docs <noreply@android.com> - 218229160 Improve link text. by Mark Hecomovich <mheco@google.com> - 218221208 Add Dr. Rick O'Rang loopback app to SAC. by Mark Hecomovich <mheco@google.com> - 218204284 AOSP source requires more disk space nowadays, update the... by Android Partner Docs <noreply@android.com> - 218185116 Automated g4 rollback of changelist 217173674. by Android Partner Docs <noreply@android.com> - 218179268 Devsite localized content from translation request 980063. by Android Partner Docs <noreply@android.com> - 217957597 Publish localized bulletins by Danielle Roberts <daroberts@google.com> - 217908051 Devsite localized content from translation request 1003354. by Android Partner Docs <noreply@android.com> - 217893115 Devsite localized content from translation request 964303. by Android Partner Docs <noreply@android.com> - 217893097 Devsite localized content from translation request 1005895. by Android Partner Docs <noreply@android.com> - 217889812 Fix typo in library name by Christina Nguyen <cqn@google.com> - 217886741 Automated g4 rollback of changelist 217699000. by Android Partner Docs <noreply@android.com> - 217779012 Update Sensor Fusion zip file from revision 1.4 to 1.5 by Kenneth Lau <kennethlau@google.com> - 217765958 Update build numbers for pi dr1 releases by Android Partner Docs <noreply@android.com> - 217750196 Devsite localized content from translation request 1001123. by Android Partner Docs <noreply@android.com> - 217743339 Devsite localized content from translation request 990059. by Android Partner Docs <noreply@android.com> - 217743327 Devsite localized content from translation request 1003746. by Android Partner Docs <noreply@android.com> - 217743322 Devsite localized content from translation request 1007147. by Android Partner Docs <noreply@android.com> - 217699000 Updating the links in the USB audio interface section to ... by Android Partner Docs <noreply@android.com> - 217645344 Changed headings to sentence case by Android Partner Docs <noreply@android.com> - 217556428 Devsite localized content from translation request 1004748. by Android Partner Docs <noreply@android.com> - 217556410 Devsite localized content from translation request 1004737. by Android Partner Docs <noreply@android.com> - 217547197 Automated g4 rollback of changelist 213015576. by Android Partner Docs <noreply@android.com> - 217352540 Devsite localized content from translation request 999860. by Android Partner Docs <noreply@android.com> - 217352528 Devsite localized content from translation request 999858. by Android Partner Docs <noreply@android.com> - 217304729 Devsite localized content from translation request 1001062. by Android Partner Docs <noreply@android.com> - 217303399 Delete _freeze.yaml file to publish: by Christina Nguyen <cqn@google.com> - 217227763 Fix the hyper link for Vulkan Implementor's Guide by Android Partner Docs <noreply@android.com> - 217175480 Devsite localized content from translation request 1001099. by Android Partner Docs <noreply@android.com> - 217175474 Devsite localized content from translation request 1002304. by Android Partner Docs <noreply@android.com> - 217175455 Devsite localized content from translation request 999876. by Android Partner Docs <noreply@android.com> - 217173674 The USB Audio CTS Verifier Tests page is updated to add t... by Android Partner Docs <noreply@android.com> - 216872776 Devsite localized content from translation request 999606. by Android Partner Docs <noreply@android.com> - 216866964 Add test group to android source whitelist by Android Partner Docs <noreply@android.com> - 216863256 Create temporary files to test whitelists on source.andro... by Android Partner Docs <noreply@android.com> - 216770677 Update content license to android by Danielle Roberts <daroberts@google.com> - 216755328 Update broken link to point to correct path. by Christina Nguyen <cqn@google.com> - 216746846 Updates to intsan by Danielle Roberts <daroberts@google.com> - 216721226 Devsite localized content from translation request 976999. by Android Partner Docs <noreply@android.com> - 216714261 Devsite localized content from translation request 995323. by Android Partner Docs <noreply@android.com> - 216713954 Devsite localized content from translation request 969253. by Android Partner Docs <noreply@android.com> - 216713937 Devsite localized content from translation request 1003362. by Android Partner Docs <noreply@android.com> - 216713923 Devsite localized content from translation request 999285. by Android Partner Docs <noreply@android.com> - 216625979 Devsite localized content from translation request 972168. by Android Partner Docs <noreply@android.com> - 216623489 Publish Enterprise Security report by Danielle Roberts <daroberts@google.com> - 216557488 Fix try > tray typo in managed profile by Danielle Roberts <daroberts@google.com> - 216555020 Devsite localized content from translation request 1001113. by Android Partner Docs <noreply@android.com> - 216555003 Devsite localized content from translation request 998044. by Android Partner Docs <noreply@android.com> - 216553118 Add ADB to the developer tools bug component table. by Android Partner Docs <noreply@android.com> - 216552360 Add Janet to Android OWNERS file by Christina Nguyen <cqn@google.com> - 216547801 [SAC Bug] Update CTS/CTS-Verifier/CTS_Instant downloads f... by Android Partner Docs <noreply@android.com> - 216436716 Updated ro.product.first_api_level requirement to differe... by Christina Nguyen <cqn@google.com> - 216374672 Devsite localized content from translation request 995326. by Android Partner Docs <noreply@android.com> - 216260547 Change "Assembly" to "Details" in left nav by Kenneth Lau <kennethlau@google.com> - 216255124 Update images and components for Sensor Fusion Box by Kenneth Lau <kennethlau@google.com> - 216225168 Devsite localized content from translation request 1056411. by Android Partner Docs <noreply@android.com> - 216225159 Devsite localized content from translation request 977320. by Android Partner Docs <noreply@android.com> - 215985064 Fix links on the Accessories for Android page by Kenneth Lau <kennethlau@google.com> - 215983993 Fix errors in EuiccManager/EuiccCardManager sample code by Kenneth Lau <kennethlau@google.com> PiperOrigin-RevId: 218879518 Change-Id: Idaf13561fe53a45d8a10d7965ff7a5ee26ef9802
Diffstat (limited to 'en/devices')
-rw-r--r--en/devices/_toc-connectivity.yaml2
-rw-r--r--en/devices/accessories/index.html8
-rw-r--r--en/devices/architecture/vndk/linker-namespace.html2
-rw-r--r--en/devices/audio/latency/loopback.html2
-rw-r--r--en/devices/audio/latency/measure.html37
-rw-r--r--en/devices/audio/warmup.html6
-rw-r--r--en/devices/graphics/arch-vulkan.html2
-rw-r--r--en/devices/tech/admin/managed-profiles.html2
-rw-r--r--en/devices/tech/config/namespaces_libraries.html2
-rw-r--r--en/devices/tech/connect/esim-euicc-api.md4
-rw-r--r--en/devices/tech/connect/esim-overview.md4
-rw-r--r--en/devices/tech/connect/wifi-debug.md59
-rw-r--r--en/devices/tech/debug/intsan.html20
-rw-r--r--en/devices/tech/power/platform_mgmt.html2
14 files changed, 109 insertions, 43 deletions
diff --git a/en/devices/_toc-connectivity.yaml b/en/devices/_toc-connectivity.yaml
index aebb3dde..75374a79 100644
--- a/en/devices/_toc-connectivity.yaml
+++ b/en/devices/_toc-connectivity.yaml
@@ -77,5 +77,5 @@ toc:
path: /devices/tech/connect/wifi-aware
- title: Wi-Fi Round Trip Time (RTT)
path: /devices/tech/connect/wifi-rtt
- - title: Testing and Debugging
+ - title: Testing, Debugging, and Tuning Wi-Fi
path: /devices/tech/connect/wifi-debug
diff --git a/en/devices/accessories/index.html b/en/devices/accessories/index.html
index 787309c0..a8173ed1 100644
--- a/en/devices/accessories/index.html
+++ b/en/devices/accessories/index.html
@@ -29,7 +29,7 @@ that extend Android capabilities in a wide range of Android-powered devices.
<div class="layout-content-row">
<div class="layout-content-col span-6">
- <h4 id="audio-accessories">Audio accessories</h4>
+ <h2 id="audio-accessories">Audio accessories</h2>
<p>Android supports local on-device audio and remote off-device audio
over a wired 3.5 mm headset jack, USB connection, or Bluetooth.
Manufacturers should see the <a
@@ -37,16 +37,16 @@ that extend Android capabilities in a wide range of Android-powered devices.
specifications</a>, while users can learn how to <a
href="https://support.google.com/nexus/answer/6127700">record and play
back audio using USB host mode</a>.</p>
- <p><a href="audio.html">&raquo; Audio Accessories</a></p>
+ <p><a href="/devices/accessories/audio">&raquo; Audio Accessories</a></p>
</div>
<div class="layout-content-col span-6">
- <h4 id="custom-accessories">Custom accessories</h4>
+ <h2 id="custom-accessories">Custom accessories</h2>
<p>What do you want to connect to your Android device? Alarm clock?
Keyboard? Thermostat? Robot? Learn how to connect existing equipment or
your own unique hardware to Android using the Android Open Accessory
(AOA) protocol.</p>
- <p><a href="custom.html">&raquo; Custom Accessories</a></p>
+ <p><a href="/devices/accessories/custom">&raquo; Custom Accessories</a></p>
</div>
</div>
diff --git a/en/devices/architecture/vndk/linker-namespace.html b/en/devices/architecture/vndk/linker-namespace.html
index 040d8441..b0d82512 100644
--- a/en/devices/architecture/vndk/linker-namespace.html
+++ b/en/devices/architecture/vndk/linker-namespace.html
@@ -45,7 +45,7 @@ application programming interfaces that are public to other programs while
hiding their implementation details within their linker namespaces.</p>
<p>For example, <code>/system/lib[64]/libcutils.so</code> and
-<code>/system/lib[64]/vndk-sp-${VER}/libutils.so</code> are two shared
+<code>/system/lib[64]/vndk-sp-${VER}/libcutils.so</code> are two shared
libraries. These two libraries may have different symbols. They will be loaded
into different linker namespaces so that framework modules can depend on
<code>/system/lib[64]/libcutils.so</code> and SP-HAL shared libraries can
diff --git a/en/devices/audio/latency/loopback.html b/en/devices/audio/latency/loopback.html
index bef46c69..af1ca6d4 100644
--- a/en/devices/audio/latency/loopback.html
+++ b/en/devices/audio/latency/loopback.html
@@ -31,7 +31,7 @@ for the
that we call the "Dr. Rick O'Rang audio loopback dongle."
The Chrome hardware team designed this circuit and plug for functional testing;
however it has many other uses too. The Android audio team uses it to measure
-<a href="latency_measure.html#measuringRoundTrip">round-trip audio latency</a>,
+<a href="measure.html#measuringRoundTrip">round-trip audio latency</a>,
via the Larsen effect (feedback loop).
</p>
diff --git a/en/devices/audio/latency/measure.html b/en/devices/audio/latency/measure.html
index 44cba6c3..a9612ed7 100644
--- a/en/devices/audio/latency/measure.html
+++ b/en/devices/audio/latency/measure.html
@@ -102,6 +102,17 @@ If your production device does not have an LED, you can install the
by itself because of the nature of the test, but it can be useful for
calibrating other tests, and for establishing an upper bound.</p>
+ <p>This method does not break down the
+ component times, which is important when the output latency
+ and input latency are independent. So this method is not recommended for measuring
+ precise output latency or input latency values in isolation, but might be useful
+ for establishing rough estimates.</p>
+
+ <p>
+ Output latency to on-device speaker can be significantly larger than
+ output latency to headset connector. This is due to speaker correction and protection.
+ </p>
+
<p>To conduct this test:</p>
<ol>
<li>Run an app that captures audio from the microphone and immediately plays the
@@ -112,25 +123,25 @@ If your production device does not have an LED, you can install the
<li>Measure the time between feedback pulses to get the sum of the output latency, input latency, and application overhead.</li>
</ol>
- <p>This method does not break down the
- component times, which is important when the output latency
- and input latency are independent. So this method is not recommended for measuring
- precise output latency or input latency values in isolation, but might be useful
- for establishing rough estimates.</p>
-
- <p>
- Output latency to on-device speaker can be significantly larger than
- output latency to headset connector. This is due to speaker correction and protection.
- </p>
+<p>Here are some resources for getting an app for the Larsen test:</p>
-<p>
-We have published an example implementation at
+<ul>
+<li>
+The Dr. Rick O'Rang loopback app is an Android app for audio feedback testing. You can
+<a href="https://play.google.com/store/apps/details?id=org.drrickorang.loopback"> download the app from Google Play</a>
+or <a href="https://www.google.com/url?q=https://github.com/gkasten/drrickorang/tree/master/LoopbackApp&sa=D&usg=AFQjCNFT8D7QTkhLdkZSNyvhmoU5yt_zvg">
+get the source code from GitHub</a>.
+</li>
+<li>
+We also published an example implementation at
<a href="https://android.googlesource.com/platform/frameworks/wilhelm/+/master/tests/examples/slesTestFeedback.cpp">slesTestFeedback.cpp</a>.
This is a command-line app and is built using the platform build environment;
however it should be straightforward to adopt the code for other environments.
You will also need the <a href="avoiding_pi.html#nonBlockingAlgorithms">non-blocking</a> FIFO code
located in the <code>audio_utils</code> library.
-</p>
+</li>
+</ul>
+
<h3 id="loopback">Audio Loopback Dongle</h3>
diff --git a/en/devices/audio/warmup.html b/en/devices/audio/warmup.html
index 7c37cd66..a12841f8 100644
--- a/en/devices/audio/warmup.html
+++ b/en/devices/audio/warmup.html
@@ -32,7 +32,7 @@ the circuit.
<p>This document describes how to measure audio warmup time and possible ways to decrease
warmup time.</p>
-<h2 id="measuringOutput">Measuring Output Warmup</h2>
+<h2 id="measuringOutput">Measuring output warmup</h2>
<p>
AudioFlinger's FastMixer thread automatically measures output warmup
@@ -86,7 +86,7 @@ sampleRate=44100 frameCount=256 measuredWarmup=X ms, warmupCycles=X
</ol>
-<h2 id="measuringInput">Measuring Input Warmup</h2>
+<h2 id="measuringInput">Measuring input warmup</h2>
<p>
There are currently no tools provided for measuring audio input warmup.
@@ -96,7 +96,7 @@ sampleRate=44100 frameCount=256 measuredWarmup=X ms, warmupCycles=X
</p>
-<h2 id="reducing">Reducing Warmup Time</h2>
+<h2 id="reducing">Reducing warmup time</h2>
<p>
Warmup time can usually be reduced by a combination of:
diff --git a/en/devices/graphics/arch-vulkan.html b/en/devices/graphics/arch-vulkan.html
index 75baa7ad..47c553ce 100644
--- a/en/devices/graphics/arch-vulkan.html
+++ b/en/devices/graphics/arch-vulkan.html
@@ -113,7 +113,7 @@ Loader </a>(libvulkan.so) at <code>platform/frameworks/native/vulkan</code>.
Contains Android's Vulkan loader, as well as some Vulkan-related tools useful to
platform developers.</li>
-<li><a href="https://android.googlesource.com/platform/frameworks/native/+/master/vulkan/doc/implementors_guide/implementors_guide.html">Vulkan
+<li><a href="/devices/graphics/implement-vulkan.html">Vulkan
Implementor's Guide</a>. Intended for GPU IHVs writing Vulkan drivers for
Android and OEMs integrating those drivers for specific devices. It describes
how a Vulkan driver interacts with the system, how GPU-specific tools should be
diff --git a/en/devices/tech/admin/managed-profiles.html b/en/devices/tech/admin/managed-profiles.html
index 17df9a6e..eddf5364 100644
--- a/en/devices/tech/admin/managed-profiles.html
+++ b/en/devices/tech/admin/managed-profiles.html
@@ -197,7 +197,7 @@ a Work Policy Controller</a>.</p>
devices.
</p>
- <h3 id="ux-changes-app-try">UX changes for devices with an app try</h3>
+ <h3 id="ux-changes-app-tray">UX changes for devices with an app tray</h3>
<p>
The managed profile UX changes for Launcher 3 in Android
diff --git a/en/devices/tech/config/namespaces_libraries.html b/en/devices/tech/config/namespaces_libraries.html
index 5dae4b07..8670d00b 100644
--- a/en/devices/tech/config/namespaces_libraries.html
+++ b/en/devices/tech/config/namespaces_libraries.html
@@ -66,7 +66,7 @@ in .txt files.
for libraries from silicon vendors</li>
<li><code>/system/lib</code> (for 32-bit) and <code>/system/lib64</code> (for 64-bit)
for libraries from device manufacturers</li>
-<ul>
+</ul>
<p>The .txt files are:</p>
<ul>
diff --git a/en/devices/tech/connect/esim-euicc-api.md b/en/devices/tech/connect/esim-euicc-api.md
index 87dd7c86..e5bafcb7 100644
--- a/en/devices/tech/connect/esim-euicc-api.md
+++ b/en/devices/tech/connect/esim-euicc-api.md
@@ -86,7 +86,7 @@ and
Gets the instance of `EuiccManager` through `Context#getSystemService`.
```
-EuiccManager mgr = context.getSystemService(Context.EUICC_SERVICE);
+EuiccManager mgr = (EuiccManager) context.getSystemService(Context.EUICC_SERVICE);
```
#### Check enabled (public)
@@ -245,5 +245,5 @@ mgr.startResolutionActivity(getActivity(), 0 /* requestCode */, resultIntent, ca
### Constants
-To see a list of the the `public` constants in `EuiccManager`, see
+To see a list of the `public` constants in `EuiccManager`, see
[Constants](https://developer.android.com/reference/android/telephony/euicc/EuiccManager#constants){: .external}.
diff --git a/en/devices/tech/connect/esim-overview.md b/en/devices/tech/connect/esim-overview.md
index 8c24b168..0aa91fcc 100644
--- a/en/devices/tech/connect/esim-overview.md
+++ b/en/devices/tech/connect/esim-overview.md
@@ -86,7 +86,7 @@ To use the public APIs, a carrier app must first obtain the instance of
`EuiccManager` through `Context#getSystemService`:
```
-EuiccManager mgr = context.getSystemService(Context.EUICC_SERVICE);
+EuiccManager mgr = (EuiccManager) context.getSystemService(Context.EUICC_SERVICE);
```
You should check whether eSIM is supported on the device before performing any
@@ -419,7 +419,7 @@ first obtain the instance of `EuiccCardManager` through
`Context#getSystemService`:
```
-EuiccCardManager cardMgr = context.getSystemService(Context.EUICC_CARD_SERVICE);
+EuiccCardManager cardMgr = (EuiccCardManager) context.getSystemService(Context.EUICC_CARD_SERVICE);
```
Then, to get all the profiles on the eUICC:
diff --git a/en/devices/tech/connect/wifi-debug.md b/en/devices/tech/connect/wifi-debug.md
index eff986d0..c778fdca 100644
--- a/en/devices/tech/connect/wifi-debug.md
+++ b/en/devices/tech/connect/wifi-debug.md
@@ -19,9 +19,9 @@ Book: /_book.yaml
limitations under the License.
-->
-# Testing and Debugging
+# Testing, Debugging, and Tuning Wi-Fi
-This page describes how to test and debug the Wi-Fi implementation using the
+This page describes how to test, debug, and tune the Wi-Fi implementation using the
tools provided in AOSP.
## Testing
@@ -72,7 +72,7 @@ Wi-Fi framework. These are located in
device-under-test to be associated with an Access Point at the start of the test
run.
-## Enhanced logging options
+## Enhanced logging options for debugging
Android {{ androidPVersionNumber }} improves Wi-Fi logging to make it easier to
debug Wi-Fi issues. In Android {{ androidPVersionNumber }}, driver/firmware ring
@@ -110,3 +110,56 @@ Run this manual test to verify that old files in the
1. Inspect the bugreport zip file and verify that
`/lshal-debug/android.hardware.wifi@1.2__IWifi_default.txt` holds the
archived firmware logs.
+
+## Configuration tuning
+
+To control the signal strength at which a device associates to or
+disassociates from a network, the Wi-Fi framework uses the *entry* and *exit*
+RSSI thresholds.
+
+The *entry* and *exit* thresholds are stored as overloadable configuration
+parameters with the following names (where the `bad` parameter refers to the
+*exit* RSSI threshold):
+
+* `config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz`
+* `config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz`
+* `config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz`
+* `config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz`
+
+The parameters are stored in
+`<root>/frameworks/base/core/res/res/values/config.xml` and may be overloaded
+using the overlay file
+`<root>/device/<dev_dir>/overlay/frameworks/base/core/res/res/values/config.xml`.
+
+Note: The `bad` configuration parameters (for 2.4GHz and 5GHz bands) were
+introduced pre-Android 8.1. The `entry` configuration parameters were introduced
+in Android 8.1 with the default values equal to the corresponding bad
+parameters. These defaults result in pre-Android 8.1 behavior where no
+hysteresis is used in network selection. To take advantage of the hysteresis
+functionality introduced in Android 8.1, set the `entry` parameters to 3dB or
+more above the `bad` parameters using the overlay file specified above.
+
+You can test new thresholds by configuring the device using adb commands.
+(Alternatively, you can create a build with new overlays but using adb commands
+provide a faster testing turnaround.)
+
+```
+% adb shell settings put global wifi_score_params \
+ [rssi2|rssi5]=<bad>:<entry>:<low>:<good>
+```
+
+For example, the following command configures new threshold parameters (the
+values used in this sample command are the configured defaults in the AOSP
+codebase):
+
+```
+% adb shell settings put global wifi_score_params \
+ rssi2=-85:-85:-73:-60,rssi5=-82:-82:-70:-57
+```
+
+To restore the built-in parameter values (i.e. remove the overrides) use the
+following adb command:
+
+```
+% adb shell settings delete global wifi_score_params
+```
diff --git a/en/devices/tech/debug/intsan.html b/en/devices/tech/debug/intsan.html
index 98bc653f..55b53ae6 100644
--- a/en/devices/tech/debug/intsan.html
+++ b/en/devices/tech/debug/intsan.html
@@ -33,9 +33,10 @@ the media framework</a> in Android 7.0. In Android 9, we
UBSan to cover more components</a> and improved build system support for it.
</p>
<p>
-If a signed or unsigned integer overflows, overflow sanitization is designed to
-safely abort process execution by instrumenting arithmetic instructions which
-may overflow. These sanitizers can mitigate an entire class of memory corruption
+This is designed to add checks around arithmetic
+operations&hairsp;/&hairsp;instructions—which might
+overflow—to safely abort a process if an overflow does happen.
+These sanitizers can mitigate an entire class of memory corruption
and information disclosure vulnerabilities where the root cause is an integer
overflow, such as the original Stagefright vulnerability.
</p>
@@ -200,8 +201,8 @@ href="https://android-review.googlesource.com/c/platform/frameworks/av/+/572808"
href="https://clang.llvm.org/docs/LanguageExtensions.html#checked-arithmetic-builtins">__builtin_*_overflow</a>
functions (<a
href="https://android-review.googlesource.com/c/platform/frameworks/av/+/588160">example</a>)
-<li>Disabling sanitization the function via an attribute (<a
-href="https://android-review.googlesource.com/c/platform/frameworks/base/+/531720">example</a>)
+<li>Disabling sanitization in the function by specifying the <code>no_sanitize</code> attribute
+(<a href="https://android-review.googlesource.com/c/platform/frameworks/base/+/531720">example</a>)
<li>Disabling sanitization of a function or source file via a blacklist file (<a
href="https://android-review.googlesource.com/c/platform/frameworks/base/+/574222">example</a>)</li></ul>
<p>
@@ -212,13 +213,14 @@ blacklisted.
</p>
<p>
Common patterns that may result in benign overflows include:
-</p><ul>
-<li>Implicit casts where an unsigned overflow occurs before being cast to a
-signed type (<a
+</p>
+<ul>
+<li><a href="http://www.cplusplus.com/doc/tutorial/typecasting/" class="external">Implicit
+casts</a> where an unsigned overflow occurs before being cast to a signed type (<a
href="https://android-review.googlesource.com/c/platform/frameworks/av/+/574011">example</a>)
<li>Linked list deletions which decrements the loop index on deletion (<a
href="https://android-review.googlesource.com/c/platform/frameworks/base/+/588158">example</a>)
-<li>Assigning an unsigned type to -1 as shorthand for the max value (<a
+<li>Assigning an unsigned type to -1 instead of specifying the actual max value (<a
href="https://android-review.googlesource.com/c/platform/frameworks/native/+/574088/1/services/surfaceflinger/Layer.cpp">example</a>)
<li>Loops which decrement an unsigned integer in the condition (<a
href="https://android-review.googlesource.com/c/platform/frameworks/native/+/573763/1/services/inputflinger/InputReader.cpp">example</a>,
diff --git a/en/devices/tech/power/platform_mgmt.html b/en/devices/tech/power/platform_mgmt.html
index 97ddd571..eb95be1b 100644
--- a/en/devices/tech/power/platform_mgmt.html
+++ b/en/devices/tech/power/platform_mgmt.html
@@ -201,7 +201,7 @@ optimization guidelines</a>. For details, see <a href="#test-apps">Testing and
optimizing applications</a>.
<p><strong>OR</strong></p>
<li>Are exempted from Doze and App Standby. For details, see
-<a href="#exempt-apps">Exempting applications</a>.</li>
+<a href="/devices/tech/power/mgmt#exempt-apps">Exempting applications</a>.</li>
</ul>
</li>
<li>Confirm the necessary services are exempted from Doze.</li>