Merge "Duplicated Pictures"
diff --git a/hal_header.html b/hal_header.html
index dc4e671..895a68f 100644
--- a/hal_header.html
+++ b/hal_header.html
@@ -36,7 +36,7 @@
<td><a href="/index.html"><img src="/assets/images/sac_logo.png" width="123" height="25" alt="Android Developers" /></td>
<td><a class=toptab href="/source/index.html">Source</a></td>
<td><a class=devices href="/devices/index.html">Devices</a></td>
- <td><a class=toptab href="/accessories/index.html">Accessories</a></td>
+ <td><a class=toptab href="/security/index.html">Security</a></td>
<td><a class=toptab href="/compatibility/index.html">Compatibility</a></td>
<td width=20%>$searchbox</td>
</tr>
diff --git a/src/accessories/accessories_toc.cs b/src/accessories/accessories_toc.cs
deleted file mode 100644
index f4954a0..0000000
--- a/src/accessories/accessories_toc.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-<!--
- Copyright 2015 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<?cs # Table of contents for adk?>
-<ul id="nav">
- <!-- Accessories -->
- <li class="nav-section">
-<div class="nav-section-header">
- <a href="<?cs var:toroot ?>accessories/index.html">
- <span class="en">Overview</span>
- </a>
- </div>
- <ul>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>accessories/audio.html">
- <span class="en">Audio Accessories</span>
- </a>
- </div>
- <ul>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>accessories/headset/index.html">
- <span class="en">Headset</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>accessories/headset/specification.html">Specification</a></li>
- <li><a href="<?cs var:toroot ?>accessories/headset/requirements.html">Requirements</a></li>
- <li><a href="<?cs var:toroot ?>accessories/headset/testing.html">Testing</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="nav-section">
-<div class="nav-section-header">
- <a href="<?cs var:toroot ?>accessories/custom.html">
- <span class="en">Custom Accessories</span>
- </a>
- </div>
- <ul>
- <li class="nav-section">
- <div class="nav-section-header"><a href="<?cs var:toroot ?>accessories/protocol.html"><span class="en">AOA</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>accessories/aoa2.html">AOA 2.0</a></li>
- <li><a href="<?cs var:toroot ?>accessories/aoa.html">AOA 1.0</a></li>
- </ul>
- </li>
- <div class="nav-section-header"><a href="<?cs var:toroot ?>accessories/stylus.html"><span class="en">Stylus</span>
- </a>
- </div>
- </ul>
- </li>
- </li>
- <!-- End Accessories -->
-</ul>
\ No newline at end of file
diff --git a/src/devices/Android-6.0-Bluetooth-HCI-Reqs.pdf b/src/devices/Android-6.0-Bluetooth-HCI-Reqs.pdf
new file mode 100644
index 0000000..5a3e0f7
--- /dev/null
+++ b/src/devices/Android-6.0-Bluetooth-HCI-Reqs.pdf
Binary files differ
diff --git a/src/accessories/aoa.jd b/src/devices/accessories/aoa.jd
similarity index 98%
rename from src/accessories/aoa.jd
rename to src/devices/accessories/aoa.jd
index 8eb7723..ba927e6 100644
--- a/src/accessories/aoa.jd
+++ b/src/devices/accessories/aoa.jd
@@ -31,7 +31,7 @@
<p class="note"><strong>Note:</strong> When developing a new accessory that
connects to an Android device over USB, use
-<a href="{@docRoot}accessories/aoa2.html">AOAv2</a>.</p>
+<a href="aoa2.html">AOAv2</a>.</p>
<h2 id="wait-for-and-detect-connected-devices">Wait for and detect connected
devices</h2>
@@ -182,4 +182,4 @@
interface, locate the first bulk input and output endpoints, set the
device configuration to a value of 1 with a <code>SET_CONFIGURATION</code>
(<code>0x09</code>) device request, then communicate using the endpoints.</li>
-</ul>
\ No newline at end of file
+</ul>
diff --git a/src/accessories/aoa2.jd b/src/devices/accessories/aoa2.jd
similarity index 98%
rename from src/accessories/aoa2.jd
rename to src/devices/accessories/aoa2.jd
index 2cbdc47..8994cad 100644
--- a/src/accessories/aoa2.jd
+++ b/src/devices/accessories/aoa2.jd
@@ -18,7 +18,7 @@
-->
<p>This document describes changes in the Android Open Accessory (AOA) protocol
since its initial release and supplements
-<a href="{@docRoot}accessories/aoa.html">AOA 1.0 documentation</a>. AOAv2
+<a href="aoa.html">AOA 1.0 documentation</a>. AOAv2
adds the following features:</p>
<ul>
@@ -246,7 +246,7 @@
<h2 id="interoperability-with-aoa-10-features">Interoperability with AOAv1</h2>
-<p>The original protocol (<a href="{@docRoot}accessories/aoa.html">AOAv1</a>)
+<p>The original protocol (<a href="aoa.html">AOAv1</a>)
provides support for an Android application to communicate directly with a USB
host (accessory) over USB. AOAv2 continues this support and adds new features
to allow the accessory to communicate with the Android operating system itself
@@ -273,4 +273,4 @@
accessory.</li>
<li>The accessory USB interface is not present in the Android device USB
configuration after the device enters accessory mode.</li>
-</ul>
\ No newline at end of file
+</ul>
diff --git a/src/accessories/audio.jd b/src/devices/accessories/audio.jd
similarity index 100%
rename from src/accessories/audio.jd
rename to src/devices/accessories/audio.jd
diff --git a/src/accessories/custom.jd b/src/devices/accessories/custom.jd
similarity index 96%
rename from src/accessories/custom.jd
rename to src/devices/accessories/custom.jd
index c4ff0f6..a58cd24 100644
--- a/src/accessories/custom.jd
+++ b/src/devices/accessories/custom.jd
@@ -60,9 +60,9 @@
<ul>
<li>Select a hardware platform or build a hardware device that can support USB
host mode.</li>
-<li>Review <a href="{@docRoot}accessories/protocol.html">AOA</a> specifications to
+<li>Review <a href="protocol.html">AOA</a> specifications to
understand how to implement this protocol on your accessory hardware.
-Implementing <a href="{@docRoot}accessories/aoa2.html">AOAv2</a> is
+Implementing <a href="aoa2.html">AOAv2</a> is
recommended for all new Android USB accessories.</li>
<li>Review the ADK 2012
<a href="http://developer.android.com/tools/adk/adk2.html#src-download">firmware
@@ -126,7 +126,7 @@
<a href="#next-steps_0">next steps for USB connections.</a></p>
<p>AOAv2 also supports the
-<a href="{@docRoot}accessories/aoa2.html#hid-support">human interface device</a>
+<a href="aoa2.html#hid-support">human interface device</a>
(HID) protocol through a USB connection, enabling accessories such as audio
docks to provide hardware play back controls such as pause, fast-forward or
-volume buttons.</p>
\ No newline at end of file
+volume buttons.</p>
diff --git a/src/accessories/headset/images/button_configuration.png b/src/devices/accessories/headset/images/button_configuration.png
similarity index 100%
rename from src/accessories/headset/images/button_configuration.png
rename to src/devices/accessories/headset/images/button_configuration.png
Binary files differ
diff --git a/src/accessories/headset/images/button_icons.png b/src/devices/accessories/headset/images/button_icons.png
similarity index 100%
rename from src/accessories/headset/images/button_icons.png
rename to src/devices/accessories/headset/images/button_icons.png
Binary files differ
diff --git a/src/accessories/headset/images/button_spacing.png b/src/devices/accessories/headset/images/button_spacing.png
similarity index 100%
rename from src/accessories/headset/images/button_spacing.png
rename to src/devices/accessories/headset/images/button_spacing.png
Binary files differ
diff --git a/src/accessories/headset/images/headset-circuit1.png b/src/devices/accessories/headset/images/headset-circuit1.png
similarity index 100%
rename from src/accessories/headset/images/headset-circuit1.png
rename to src/devices/accessories/headset/images/headset-circuit1.png
Binary files differ
diff --git a/src/accessories/headset/images/headset-circuit2.png b/src/devices/accessories/headset/images/headset-circuit2.png
similarity index 100%
rename from src/accessories/headset/images/headset-circuit2.png
rename to src/devices/accessories/headset/images/headset-circuit2.png
Binary files differ
diff --git a/src/accessories/headset/images/icon_sizing.png b/src/devices/accessories/headset/images/icon_sizing.png
similarity index 100%
rename from src/accessories/headset/images/icon_sizing.png
rename to src/devices/accessories/headset/images/icon_sizing.png
Binary files differ
diff --git a/src/accessories/headset/images/media_four.png b/src/devices/accessories/headset/images/media_four.png
similarity index 100%
rename from src/accessories/headset/images/media_four.png
rename to src/devices/accessories/headset/images/media_four.png
Binary files differ
diff --git a/src/accessories/headset/images/media_one.png b/src/devices/accessories/headset/images/media_one.png
similarity index 100%
rename from src/accessories/headset/images/media_one.png
rename to src/devices/accessories/headset/images/media_one.png
Binary files differ
diff --git a/src/accessories/headset/images/media_three.png b/src/devices/accessories/headset/images/media_three.png
similarity index 100%
rename from src/accessories/headset/images/media_three.png
rename to src/devices/accessories/headset/images/media_three.png
Binary files differ
diff --git a/src/accessories/headset/images/media_two.png b/src/devices/accessories/headset/images/media_two.png
similarity index 100%
rename from src/accessories/headset/images/media_two.png
rename to src/devices/accessories/headset/images/media_two.png
Binary files differ
diff --git a/src/accessories/headset/images/microphone.png b/src/devices/accessories/headset/images/microphone.png
similarity index 100%
rename from src/accessories/headset/images/microphone.png
rename to src/devices/accessories/headset/images/microphone.png
Binary files differ
diff --git a/src/accessories/headset/images/telephony_four.png b/src/devices/accessories/headset/images/telephony_four.png
similarity index 100%
rename from src/accessories/headset/images/telephony_four.png
rename to src/devices/accessories/headset/images/telephony_four.png
Binary files differ
diff --git a/src/accessories/headset/images/telephony_one.png b/src/devices/accessories/headset/images/telephony_one.png
similarity index 100%
rename from src/accessories/headset/images/telephony_one.png
rename to src/devices/accessories/headset/images/telephony_one.png
Binary files differ
diff --git a/src/accessories/headset/images/telephony_three.png b/src/devices/accessories/headset/images/telephony_three.png
similarity index 100%
rename from src/accessories/headset/images/telephony_three.png
rename to src/devices/accessories/headset/images/telephony_three.png
Binary files differ
diff --git a/src/accessories/headset/images/telephony_two.png b/src/devices/accessories/headset/images/telephony_two.png
similarity index 100%
rename from src/accessories/headset/images/telephony_two.png
rename to src/devices/accessories/headset/images/telephony_two.png
Binary files differ
diff --git a/src/accessories/headset/index.jd b/src/devices/accessories/headset/index.jd
similarity index 100%
rename from src/accessories/headset/index.jd
rename to src/devices/accessories/headset/index.jd
diff --git a/src/accessories/headset/requirements.jd b/src/devices/accessories/headset/requirements.jd
similarity index 100%
rename from src/accessories/headset/requirements.jd
rename to src/devices/accessories/headset/requirements.jd
diff --git a/src/accessories/headset/specification.jd b/src/devices/accessories/headset/specification.jd
similarity index 100%
rename from src/accessories/headset/specification.jd
rename to src/devices/accessories/headset/specification.jd
diff --git a/src/accessories/headset/testing.jd b/src/devices/accessories/headset/testing.jd
similarity index 100%
rename from src/accessories/headset/testing.jd
rename to src/devices/accessories/headset/testing.jd
diff --git a/src/accessories/index.jd b/src/devices/accessories/index.jd
similarity index 86%
rename from src/accessories/index.jd
rename to src/devices/accessories/index.jd
index 709b26a..450fbb8 100644
--- a/src/accessories/index.jd
+++ b/src/devices/accessories/index.jd
@@ -27,11 +27,11 @@
<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
- href="{@docRoot}accessories/headset/specification.html">wired audio headset
+ href="headset/specification.html">wired audio headset
specification</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="{@docRoot}accessories/audio.html">» Audio Accessories</a></p>
+ <p><a href="audio.html">» Audio Accessories</a></p>
</div>
<div class="layout-content-col span-6">
@@ -40,7 +40,7 @@
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="{@docRoot}accessories/custom.html">» Custom Accessories</a></p>
+ <p><a href="custom.html">» Custom Accessories</a></p>
</div>
</div>
diff --git a/src/accessories/protocol.jd b/src/devices/accessories/protocol.jd
similarity index 100%
rename from src/accessories/protocol.jd
rename to src/devices/accessories/protocol.jd
diff --git a/src/accessories/stylus.jd b/src/devices/accessories/stylus.jd
similarity index 100%
rename from src/accessories/stylus.jd
rename to src/devices/accessories/stylus.jd
diff --git a/src/devices/bluetooth.jd b/src/devices/bluetooth.jd
index a1ec72f..9137e5b 100644
--- a/src/devices/bluetooth.jd
+++ b/src/devices/bluetooth.jd
@@ -26,9 +26,13 @@
<img style="float: right; margin: 0px 15px 15px 15px;" src="images/ape_fwk_hal_bluetooth.png" alt="Android Bluetooth HAL icon"/>
-<p>Android provides a default Bluetooth stack that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core Bluetooth functionality, and the Bluetooth Application Layer (BTA), which communicates with Android framework applications.</p>
+<p>Android provides a default Bluetooth stack that is divided into two layers: The Bluetooth Embedded System (BTE),
+which implements the core Bluetooth functionality, and the Bluetooth Application Layer (BTA), which
+communicates with Android framework applications.</p>
-<p>To fully leverage the <a href="http://developer.android.com/about/versions/android-5.0.html#BluetoothBroadcasting">Bluetooth Low Energy APIs</a> added in Android 5.0, you should implement the <a href="Android-5.0-Bluetooth-HCI-Reqs.pdf">Android 5.0 Bluetooth HCI Requirements</a>.</p>
+<p>To fully leverage the <a href="http://developer.android.com/about/versions/android-5.0.html#BluetoothBroadcasting">Bluetooth Low Energy APIs</a>
+added in Android 5.0, you should implement the <a href="Android-6.0-Bluetooth-HCI-Reqs.pdf">Android 6.0 Bluetooth HCI Requirements</a>.
+That document initially was provided as the <a href="Android-5.0-Bluetooth-HCI-Reqs.pdf">Android 5.0 Bluetooth HCI Requirements</a>.</p>
<h2 id="architecture">Architecture</h2>
<p>A Bluetooth system service communicates with the Bluetooth stack through JNI and with applications through Binder IPC. The system service provides developers with access to various Bluetooth profiles. The following diagram shows the general structure of the Bluetooth stack:
diff --git a/src/devices/devices_toc.cs b/src/devices/devices_toc.cs
index 85c5f76..b9fd45d 100644
--- a/src/devices/devices_toc.cs
+++ b/src/devices/devices_toc.cs
@@ -22,6 +22,56 @@
</a>
</div>
<ul>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>devices/accessories/index.html">
+ <span class="en">Accessories</span>
+ </a>
+ </div>
+ <ul>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>devices/accessories/audio.html">
+ <span class="en">Audio Accessories</span>
+ </a>
+ </div>
+ <ul>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>devices/accessories/headset/index.html">
+ <span class="en">Headset</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>devices/accessories/headset/specification.html">Specification</a></li>
+ <li><a href="<?cs var:toroot ?>devices/accessories/headset/requirements.html">Requirements</a></li>
+ <li><a href="<?cs var:toroot ?>devices/accessories/headset/testing.html">Testing</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>devices/accessories/custom.html">
+ <span class="en">Custom Accessories</span>
+ </a>
+ </div>
+ <ul>
+ <li class="nav-section">
+ <div class="nav-section-header"><a href="<?cs var:toroot ?>devices/accessories/protocol.html"><span class="en">AOA</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>devices/accessories/aoa2.html">AOA 2.0</a></li>
+ <li><a href="<?cs var:toroot ?>devices/accessories/aoa.html">AOA 1.0</a></li>
+ </ul>
+ </li>
+ <div class="nav-section-header"><a href="<?cs var:toroot ?>devices/accessories/stylus.html"><span class="en">Stylus</span>
+ </a>
+ </div>
+ </ul>
+ </li>
+ </ul>
<li class="nav-section">
<div class="nav-section-header">
<a href="<?cs var:toroot ?>devices/audio/index.html">
@@ -311,101 +361,6 @@
</li>
</ul>
</li>
-
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/index.html">
- <span class="en">Security</span>
- </a>
- </div>
- <ul>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/overview/index.html">
- <span class="en">Overview</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>devices/tech/security/overview/kernel-security.html">Kernel security</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/overview/app-security.html">App security</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/overview/updates-resources.html">Updates and resources</a></li>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/enhancements/index.html">
- <span class="en">Enhancements</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>devices/tech/security/enhancements/enhancements60.html">Android 6.0</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/enhancements/enhancements50.html">Android 5.0</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/enhancements/enhancements44.html">Android 4.4</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/enhancements/enhancements43.html">Android 4.3</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/enhancements/enhancements42.html">Android 4.2</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/enhancements/enhancements41.html">Android 4.1</a></li>
- </ul>
- </li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/overview/acknowledgements.html">Acknowledgements</a></li>
- </ul>
- </li>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/implement.html">
- <span class="en">Implementation</span>
- </a>
- </div>
- <ul>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/authentication/index.html">
- <span class="en">Authentication</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>devices/tech/security/authentication/fingerprint-hal.html">Fingerprint HAL</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/authentication/gatekeeper.html">Gatekeeper</a></li>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/authentication/keymaster.html">
- <span class="en">Keymaster</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>devices/tech/security/authentication/km-features.html">Features</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/authentication/km-implementer-ref.html">Implementer's Reference</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/encryption/index.html">Full Disk Encryption</a></li>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/selinux/index.html">
- <span class="en">SELinux</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>devices/tech/security/selinux/concepts.html">Concepts</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/selinux/implement.html">Implementation</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/selinux/customize.html">Customization</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/selinux/validate.html">Validation</a></li>
- </ul>
- </li>
- <li class="nav-section">
- <div class="nav-section-header">
- <a href="<?cs var:toroot ?>devices/tech/security/verifiedboot/index.html">
- <span class="en">Verified Boot</span>
- </a>
- </div>
- <ul>
- <li><a href="<?cs var:toroot ?>devices/tech/security/verifiedboot/verified-boot.html">Verifying boot</a></li>
- <li><a href="<?cs var:toroot ?>devices/tech/security/verifiedboot/dm-verity.html">Implementing dm-verity</a></li>
- </ul>
- </li>
-
- </ul>
- </li>
- </ul>
-
<li class="nav-section">
<div class="nav-section-header">
<a href="<?cs var:toroot ?>devices/tech/test_infra/tradefed/index.html">
diff --git a/src/devices/tech/admin/index.jd b/src/devices/tech/admin/index.jd
index 7798355..e26135c 100644
--- a/src/devices/tech/admin/index.jd
+++ b/src/devices/tech/admin/index.jd
@@ -31,11 +31,11 @@
users</a>, <a href="managed-profiles.html">managed profiles</a>, and enterprise
mobility management (EMM) applications, as well as enhancements to default
<a
-href="{@docRoot}devices/tech/security/encryption/index.html">encryption</a>,
+href="{@docRoot}security/encryption/index.html">encryption</a>,
<a
-href="{@docRoot}devices/tech/security/verifiedboot/index.html">verified
+href="{@docRoot}security/verifiedboot/index.html">verified
boot</a>, and <a
-href="{@docRoot}devices/tech/security/selinux/index.html">SELinux</a>.</p>
+href="{@docRoot}security/selinux/index.html">SELinux</a>.</p>
<p>With these enhancements, either users or their IT departments may create
managed profiles that separate corporate employer data from personal user
diff --git a/src/devices/tech/index.jd b/src/devices/tech/index.jd
index 9b95216..022ba6c 100644
--- a/src/devices/tech/index.jd
+++ b/src/devices/tech/index.jd
@@ -89,12 +89,6 @@
<p><a href="{@docRoot}devices/tech/power/index.html">» Power Information</a>
</p>
-<h2 id="security-technical-information">Security</h2>
-<p>Android security comes with a variety of measures, including an application
-sandbox, SELinux, dm-verity, encryption, and more.</p>
-<p><a href="{@docRoot}devices/tech/security/index.html">» Security
-Information</a></p>
-
<h2 id="tradefed-test-infrastructure">Trade Federation Testing Infrastructure
</h2>
<p>Trade Federation is a continuous test framework for running tests on
diff --git a/src/devices/tech/ota/block.jd b/src/devices/tech/ota/block.jd
index 6c4f93d..7fa2b31 100755
--- a/src/devices/tech/ota/block.jd
+++ b/src/devices/tech/ota/block.jd
@@ -43,7 +43,7 @@
<p>Because block OTA ensures that each device uses the same partition, it
enables the use of dm-verity to cryptographically sign the system partition.
For details on dm-verity, see
-<a href="{@docRoot}devices/tech/security/verifiedboot/index.html">Verified Boot</a>.
+<a href="{@docRoot}security/verifiedboot/index.html">Verified Boot</a>.
</p>
<p class="note"><strong>Note:</strong> You must have a working block OTA
diff --git a/src/devices/tech/ota/device_code.jd b/src/devices/tech/ota/device_code.jd
index 8d23674..0133705 100755
--- a/src/devices/tech/ota/device_code.jd
+++ b/src/devices/tech/ota/device_code.jd
@@ -581,7 +581,7 @@
<p class="img-caption"><strong>Figure 6.</strong> Installing animation frame 1
(icon_installing.png + icon_installing_overlay01.png)
</td>
-<td><img align="center" src="../images/composite01.png" alt="composite image of
+<td><img align="center" src="../images/composite07.png" alt="composite image of
install plus seventh overlay">
<p class="img-caption"><strong>Figure 7.</strong> Installing animation frame 7
(icon_installing.png + icon_installing_overlay07.png)
diff --git a/src/devices/tech/power/mgmt.jd b/src/devices/tech/power/mgmt.jd
index 51c87e7..32c20aa 100644
--- a/src/devices/tech/power/mgmt.jd
+++ b/src/devices/tech/power/mgmt.jd
@@ -119,10 +119,10 @@
times, a device in Doze remains aware of motion and immediately leaves Doze
if motion is detected.</p>
-<p>System services (such as telephony) and other preloaded services/apps are
-exempted from Doze by default. Users can also exempt specific applications from
-Doze in the Settings menu. By default, Doze is <b>disabled</b> in the Android
-Open Source Project (AOSP). For details on enabling Doze, see
+<p>System services (such as telephony) may be preloaded and exempted from Doze
+by default. Users can also exempt specific applications from Doze in the
+Settings menu. By default, Doze is <b>disabled</b> in the Android Open Source
+Project (AOSP). For details on enabling Doze, see
<a href="#integrate-doze">Integrating Doze</a>.</p>
<h3 id="doze-reqs">Doze requirements</h3>
@@ -167,8 +167,9 @@
<li>Apps not allowed network access.</li>
<li>App wakelocks ignored.</li>
<li>Alarms deferred. Excludes alarm clock alarms and alarms set using
-<code>setAndAllowWhileIdle()</code>. This exemption is intended for apps (such
-as Calendar) that must show event reminder notifications.</li>
+<code>setAndAllowWhileIdle()</code> (limited to 1 per 15 minutes per app while
+in Doze). This exemption is intended for apps (such as Calendar) that must show
+event reminder notifications.</li>
<li>Wi-Fi scans not performed.</li>
<li>SyncAdapter syncs and JobScheduler jobs deferred until the next maintenance
window.</li>
diff --git a/src/index.jd b/src/index.jd
index 02f6a7d..079c677 100644
--- a/src/index.jd
+++ b/src/index.jd
@@ -43,6 +43,14 @@
<div class="landing-docs">
<div class="col-8">
<h3>What's New</h3>
+<a href="{@docRoot}security/index.html">
+ <h4>Security Replaces Accessories in Navigation</h4></a>
+ <p>The <strong><a
+ href="{@docRoot}security/index.html">Security</a></strong> section has replaced the <strong><a
+ href="{@docRoot}devices/accessories/index.html">Accessories</a></strong> section
+ in top navigation with a more prominent directory structure to
+ highlight the importance of security measures undertaken in Android.</p>
+
<a href="{@docRoot}compatibility/index.html">
<h4>6.0 Compatibility Definition Document</h4></a>
<p>The <strong><a
@@ -82,11 +90,11 @@
href="{@docRoot}reference/packages.html">Trade Federation Testing
Suite</a></strong> reference files have been updated for Android 6.0.</p>
-<a href="{@docRoot}devices/tech/security/enhancements/index.html">
+<a href="{@docRoot}security/enhancements/index.html">
<h4>Android 6.0 Security Enhancements</h4></a>
<p>The Android security team lists the latest measures undertaken to
strengthen the operating system in the new <strong><a
- href="{@docRoot}devices/tech/security/enhancements/enhancements60.html">Security
+ href="{@docRoot}security/enhancements/enhancements60.html">Security
Enhancements in Android 6.0</a></strong>.</p>
<a href="{@docRoot}devices/tech/power/index.html">
@@ -96,22 +104,6 @@
Management</a></strong> while the remaining <strong><a
href="{@docRoot}devices/tech/power/index.html">Power</a></strong> section has
been revised.</p>
-
-<a href="{@docRoot}devices/tech/security/authentication/index.html">
- <h4>Authentication</h4></a>
- <p>An entirely new <strong><a
- href="{@docRoot}devices/tech/security/authentication/index.html">Authentication</a></strong>
- section describes the <strong><a
- href="{@docRoot}devices/tech/security/authentication/fingerprint-hal.html">Fingerprint</a></strong>,
- <strong><a
- href="{@docRoot}devices/tech/security/authentication/gatekeeper.html">Gatekeeper</a></strong>,
- and <strong><a
- href="{@docRoot}devices/tech/security/authentication/keymaster.html">Keymaster</a></strong>
- interfaces in detail, including a list of <strong><a
- href="{@docRoot}devices/tech/security/authentication/km-features.html">Keymaster
- features</a></strong> and an <strong><a
- href="{@docRoot}devices/tech/security/authentication/km-implementer-ref.html">implementer's
- reference</a></strong>.</p>
</div>
<div class="col-8">
@@ -131,9 +123,11 @@
<p>Port the latest Android platform and
create compelling devices that your customers want.</p>
- <a href="{@docRoot}accessories/index.html">
- <h4>Build Accessories</h4></a>
- <p>Sometimes, a device can't do it all. Tap into Android's open accessory standard and build accessories to complement the wide variety of Android-powered devices.</p>
+ <a href="{@docRoot}security/index.html">
+ <h4>Make Secure</h4></a>
+ <p>Follow these examples and instructions to harden your Android
+ devices against malicious attacks. Find out how the Android security program
+ works and learn to implement the latest features.</p>
<a href="{@docRoot}compatibility/index.html">
<h4>Get Compatible</h4></a>
diff --git a/src/devices/tech/security/authentication/fingerprint-hal.jd b/src/security/authentication/fingerprint-hal.jd
similarity index 100%
rename from src/devices/tech/security/authentication/fingerprint-hal.jd
rename to src/security/authentication/fingerprint-hal.jd
diff --git a/src/devices/tech/security/authentication/gatekeeper.jd b/src/security/authentication/gatekeeper.jd
similarity index 100%
rename from src/devices/tech/security/authentication/gatekeeper.jd
rename to src/security/authentication/gatekeeper.jd
diff --git a/src/devices/tech/security/authentication/index.jd b/src/security/authentication/index.jd
similarity index 100%
rename from src/devices/tech/security/authentication/index.jd
rename to src/security/authentication/index.jd
diff --git a/src/devices/tech/security/authentication/keymaster.jd b/src/security/authentication/keymaster.jd
similarity index 100%
rename from src/devices/tech/security/authentication/keymaster.jd
rename to src/security/authentication/keymaster.jd
diff --git a/src/devices/tech/security/authentication/km-features.jd b/src/security/authentication/km-features.jd
similarity index 100%
rename from src/devices/tech/security/authentication/km-features.jd
rename to src/security/authentication/km-features.jd
diff --git a/src/devices/tech/security/authentication/km-implementer-ref.jd b/src/security/authentication/km-implementer-ref.jd
similarity index 100%
rename from src/devices/tech/security/authentication/km-implementer-ref.jd
rename to src/security/authentication/km-implementer-ref.jd
diff --git a/src/devices/tech/security/encryption/index.jd b/src/security/encryption/index.jd
similarity index 100%
rename from src/devices/tech/security/encryption/index.jd
rename to src/security/encryption/index.jd
diff --git a/src/devices/tech/security/enhancements/enhancements41.jd b/src/security/enhancements/enhancements41.jd
similarity index 96%
rename from src/devices/tech/security/enhancements/enhancements41.jd
rename to src/security/enhancements/enhancements41.jd
index 60ae754..2881c08 100644
--- a/src/devices/tech/security/enhancements/enhancements41.jd
+++ b/src/security/enhancements/enhancements41.jd
@@ -2,7 +2,7 @@
@jd:body
<p>
-Android provides a multi-layered security model described in the <a href="{@docRoot}devices/tech/security/index.html">Android
+Android provides a multi-layered security model described in the <a href="{@docRoot}security/index.html">Android
Security Overview</a>. Each update to Android includes dozens of
security enhancements to protect users. The following are some of the security
enhancements introduced in Android versions 1.5 through 4.1:</p>
diff --git a/src/devices/tech/security/enhancements/enhancements42.jd b/src/security/enhancements/enhancements42.jd
similarity index 97%
rename from src/devices/tech/security/enhancements/enhancements42.jd
rename to src/security/enhancements/enhancements42.jd
index 4044a1e..d6e48d5 100644
--- a/src/devices/tech/security/enhancements/enhancements42.jd
+++ b/src/security/enhancements/enhancements42.jd
@@ -2,7 +2,7 @@
@jd:body
<p>
-Android provides a multi-layered security model described in the <a href="{@docRoot}devices/tech/security/index.html">Android
+Android provides a multi-layered security model described in the <a href="{@docRoot}security/index.html">Android
Security Overview</a>. Each update to Android includes dozens of
security enhancements to protect users. The following are some of the security
enhancements introduced in Android 4.2:</p>
@@ -57,4 +57,4 @@
Android Open Source Project. To improve security, some devices with earlier
versions of Android may also include these fixes.</li>
-</ul>
\ No newline at end of file
+</ul>
diff --git a/src/devices/tech/security/enhancements/enhancements43.jd b/src/security/enhancements/enhancements43.jd
similarity index 100%
rename from src/devices/tech/security/enhancements/enhancements43.jd
rename to src/security/enhancements/enhancements43.jd
diff --git a/src/devices/tech/security/enhancements/enhancements44.jd b/src/security/enhancements/enhancements44.jd
similarity index 100%
rename from src/devices/tech/security/enhancements/enhancements44.jd
rename to src/security/enhancements/enhancements44.jd
diff --git a/src/devices/tech/security/enhancements/enhancements50.jd b/src/security/enhancements/enhancements50.jd
similarity index 100%
rename from src/devices/tech/security/enhancements/enhancements50.jd
rename to src/security/enhancements/enhancements50.jd
diff --git a/src/devices/tech/security/enhancements/enhancements60.jd b/src/security/enhancements/enhancements60.jd
similarity index 100%
rename from src/devices/tech/security/enhancements/enhancements60.jd
rename to src/security/enhancements/enhancements60.jd
diff --git a/src/devices/tech/security/enhancements/index.jd b/src/security/enhancements/index.jd
similarity index 100%
rename from src/devices/tech/security/enhancements/index.jd
rename to src/security/enhancements/index.jd
diff --git a/src/devices/tech/security/images/access-to-keymaster.png b/src/security/images/access-to-keymaster.png
similarity index 100%
rename from src/devices/tech/security/images/access-to-keymaster.png
rename to src/security/images/access-to-keymaster.png
Binary files differ
diff --git a/src/devices/tech/security/images/android_software_stack.png b/src/security/images/android_software_stack.png
similarity index 100%
rename from src/devices/tech/security/images/android_software_stack.png
rename to src/security/images/android_software_stack.png
Binary files differ
diff --git a/src/devices/tech/security/images/authentication-flow.png b/src/security/images/authentication-flow.png
similarity index 100%
rename from src/devices/tech/security/images/authentication-flow.png
rename to src/security/images/authentication-flow.png
Binary files differ
diff --git a/src/devices/tech/security/images/boot_orange.png b/src/security/images/boot_orange.png
similarity index 100%
rename from src/devices/tech/security/images/boot_orange.png
rename to src/security/images/boot_orange.png
Binary files differ
diff --git a/src/devices/tech/security/images/boot_red.png b/src/security/images/boot_red.png
similarity index 100%
rename from src/devices/tech/security/images/boot_red.png
rename to src/security/images/boot_red.png
Binary files differ
diff --git a/src/devices/tech/security/images/boot_yellow1.png b/src/security/images/boot_yellow1.png
similarity index 100%
rename from src/devices/tech/security/images/boot_yellow1.png
rename to src/security/images/boot_yellow1.png
Binary files differ
diff --git a/src/devices/tech/security/images/boot_yellow2.png b/src/security/images/boot_yellow2.png
similarity index 100%
rename from src/devices/tech/security/images/boot_yellow2.png
rename to src/security/images/boot_yellow2.png
Binary files differ
diff --git a/src/devices/tech/security/images/dm-verity-hash-table.png b/src/security/images/dm-verity-hash-table.png
similarity index 100%
rename from src/devices/tech/security/images/dm-verity-hash-table.png
rename to src/security/images/dm-verity-hash-table.png
Binary files differ
diff --git a/src/devices/tech/security/images/dm-verity_mgmt.png b/src/security/images/dm-verity_mgmt.png
similarity index 100%
rename from src/devices/tech/security/images/dm-verity_mgmt.png
rename to src/security/images/dm-verity_mgmt.png
Binary files differ
diff --git a/src/devices/tech/security/images/fingerprint-daemon.png b/src/security/images/fingerprint-daemon.png
similarity index 100%
rename from src/devices/tech/security/images/fingerprint-daemon.png
rename to src/security/images/fingerprint-daemon.png
Binary files differ
diff --git a/src/devices/tech/security/images/fingerprint-data-flow.png b/src/security/images/fingerprint-data-flow.png
similarity index 100%
rename from src/devices/tech/security/images/fingerprint-data-flow.png
rename to src/security/images/fingerprint-data-flow.png
Binary files differ
diff --git a/src/devices/tech/security/images/gatekeeper-flow.png b/src/security/images/gatekeeper-flow.png
similarity index 100%
rename from src/devices/tech/security/images/gatekeeper-flow.png
rename to src/security/images/gatekeeper-flow.png
Binary files differ
diff --git a/src/devices/tech/security/images/image00.png b/src/security/images/image00.png
similarity index 100%
rename from src/devices/tech/security/images/image00.png
rename to src/security/images/image00.png
Binary files differ
diff --git a/src/devices/tech/security/images/image02.png b/src/security/images/image02.png
similarity index 100%
rename from src/devices/tech/security/images/image02.png
rename to src/security/images/image02.png
Binary files differ
diff --git a/src/devices/tech/security/images/image03.png b/src/security/images/image03.png
similarity index 100%
rename from src/devices/tech/security/images/image03.png
rename to src/security/images/image03.png
Binary files differ
diff --git a/src/devices/tech/security/images/image_gmail_installed.png b/src/security/images/image_gmail_installed.png
similarity index 100%
rename from src/devices/tech/security/images/image_gmail_installed.png
rename to src/security/images/image_gmail_installed.png
Binary files differ
diff --git a/src/devices/tech/security/images/image_install.png b/src/security/images/image_install.png
similarity index 100%
rename from src/devices/tech/security/images/image_install.png
rename to src/security/images/image_install.png
Binary files differ
diff --git a/src/devices/tech/security/images/patchreward.png b/src/security/images/patchreward.png
similarity index 100%
rename from src/devices/tech/security/images/patchreward.png
rename to src/security/images/patchreward.png
Binary files differ
diff --git a/src/devices/tech/security/images/permissions_check.png b/src/security/images/permissions_check.png
similarity index 100%
rename from src/devices/tech/security/images/permissions_check.png
rename to src/security/images/permissions_check.png
Binary files differ
diff --git a/src/devices/tech/security/images/tiny-robot.png b/src/security/images/tiny-robot.png
similarity index 100%
rename from src/devices/tech/security/images/tiny-robot.png
rename to src/security/images/tiny-robot.png
Binary files differ
diff --git a/src/devices/tech/security/images/verified_boot.png b/src/security/images/verified_boot.png
similarity index 100%
rename from src/devices/tech/security/images/verified_boot.png
rename to src/security/images/verified_boot.png
Binary files differ
diff --git a/src/devices/tech/security/implement.jd b/src/security/implement.jd
similarity index 100%
rename from src/devices/tech/security/implement.jd
rename to src/security/implement.jd
diff --git a/src/devices/tech/security/index.jd b/src/security/index.jd
similarity index 98%
rename from src/devices/tech/security/index.jd
rename to src/security/index.jd
index cb5c881..fb3db45 100644
--- a/src/devices/tech/security/index.jd
+++ b/src/security/index.jd
@@ -34,7 +34,7 @@
security that provides the flexibility required for an open platform, while
providing protection for all users of the platform. For information about
reporting security issues and the update process,
- see <a href="{@docRoot}devices/tech/security/overview/updates-resources.html">Security Updates and Resources</a>.</p>
+ see <a href="overview/updates-resources.html">Security Updates and Resources</a>.</p>
<p>Android was designed with developers in mind. Security controls were designed
to reduce the burden on developers. Security-savvy developers can easily work
with and rely on flexible security controls. Developers less familiar with
diff --git a/src/devices/tech/security/overview/acknowledgements.jd b/src/security/overview/acknowledgements.jd
similarity index 98%
rename from src/devices/tech/security/overview/acknowledgements.jd
rename to src/security/overview/acknowledgements.jd
index 5b62a71..13b4f68 100644
--- a/src/devices/tech/security/overview/acknowledgements.jd
+++ b/src/security/overview/acknowledgements.jd
@@ -55,6 +55,9 @@
<p><a href="mailto:laginimaineb@gmail.com">Gal Beniamini</a> (<a href="http://bits-please.blogspot.com">http://bits-please.blogspot.com</a>)</p>
+<p>Michael Peck of <a href="https://www.mitre.org">The MITRE Corporation</a>
+(<a href="mailto:mpeck@mitre.org">mpeck@mitre.org</a>)</p>
+
</div>
<h2 id=2014>2014</h2>
diff --git a/src/devices/tech/security/overview/app-security.jd b/src/security/overview/app-security.jd
similarity index 100%
rename from src/devices/tech/security/overview/app-security.jd
rename to src/security/overview/app-security.jd
diff --git a/src/devices/tech/security/overview/index.jd b/src/security/overview/index.jd
similarity index 100%
rename from src/devices/tech/security/overview/index.jd
rename to src/security/overview/index.jd
diff --git a/src/devices/tech/security/overview/kernel-security.jd b/src/security/overview/kernel-security.jd
similarity index 98%
rename from src/devices/tech/security/overview/kernel-security.jd
rename to src/security/overview/kernel-security.jd
index 12ae1bb..326ac18 100644
--- a/src/devices/tech/security/overview/kernel-security.jd
+++ b/src/security/overview/kernel-security.jd
@@ -107,7 +107,7 @@
<p>Android uses Security-Enhanced
Linux (SELinux) to apply access control policies and establish an environment of
mandatory access control (mac). See <a
-href="{@docRoot}devices/tech/security/selinux/index.html">Validating
+href="{@docRoot}security/selinux/index.html">Validating
Security-Enhanced Linux in
Android</a> for details.</p>
<h3 id="crypto">Cryptography</h3>
@@ -166,7 +166,7 @@
administrator and enforced by the operating system. Filesystem encryption
requires the use of a user password, pattern-based screen lock is not supported.</p>
<p>More details on implementation of filesystem encryption are available at <a
-href="/devices/tech/security/encryption/index.html">Encryption</a>.</p>
+href="{@docRoot}security/encryption/index.html">Encryption</a>.</p>
<h3 id="password-protection">Password Protection</h3>
<p>Android can be configured to verify a user-supplied password prior to providing
access to a device. In addition to preventing unauthorized use of the device,
diff --git a/src/devices/tech/security/overview/updates-resources.jd b/src/security/overview/updates-resources.jd
similarity index 97%
rename from src/devices/tech/security/overview/updates-resources.jd
rename to src/security/overview/updates-resources.jd
index c4561f4..8c8d047 100644
--- a/src/devices/tech/security/overview/updates-resources.jd
+++ b/src/security/overview/updates-resources.jd
@@ -174,7 +174,7 @@
<p>Whether a vulnerability that compromises the kernel is considered "high" or
"critical" depends on the device and the version of Android. On devices with a
TEE (or TrustZone) and <a
-href="http://source.android.com/devices/tech/security/verifiedboot/index.html">verified
+href="{@docRoot}security/verifiedboot/index.html">verified
boot</a>, a kernel compromise is considered "high" because exploiting it won't
allow permanently affecting the operation of the device unless a vulnerability is
discovered in the TEE or verified boot implementation. In general, if the
@@ -251,7 +251,7 @@
<p>Security information exists throughout the Android Open Source and Developer
sites. Good places to start:<br>
-<a href="http://source.android.com/devices/tech/security/index.html">http://source.android.com/devices/tech/security/index.html</a><br>
+<a href="http://source.android.com/security/index.html">{@docRoot}security/index.html</a><br>
<a href="https://developer.android.com/training/articles/security-tips.html">https://developer.android.com/training/articles/security-tips.html</a></p>
<p>Community resource for discussion about Android security: <a
diff --git a/src/security/security_toc.cs b/src/security/security_toc.cs
new file mode 100644
index 0000000..467e35d
--- /dev/null
+++ b/src/security/security_toc.cs
@@ -0,0 +1,113 @@
+<!--
+ Copyright 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<?cs # Table of contents for security?>
+<ul id="nav">
+ <!-- Security -->
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/index.html">
+ <span class="en">Security</span>
+ </a>
+ </div>
+ <ul>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/overview/index.html">
+ <span class="en">Overview</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>security/overview/kernel-security.html">Kernel security</a></li>
+ <li><a href="<?cs var:toroot ?>security/overview/app-security.html">App security</a></li>
+ <li><a href="<?cs var:toroot ?>security/overview/updates-resources.html">Updates and resources</a></li>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/enhancements/index.html">
+ <span class="en">Enhancements</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>security/enhancements/enhancements60.html">Android 6.0</a></li>
+ <li><a href="<?cs var:toroot ?>security/enhancements/enhancements50.html">Android 5.0</a></li>
+ <li><a href="<?cs var:toroot ?>security/enhancements/enhancements44.html">Android 4.4</a></li>
+ <li><a href="<?cs var:toroot ?>security/enhancements/enhancements43.html">Android 4.3</a></li>
+ <li><a href="<?cs var:toroot ?>security/enhancements/enhancements42.html">Android 4.2</a></li>
+ <li><a href="<?cs var:toroot ?>security/enhancements/enhancements41.html">Android 4.1</a></li>
+ </ul>
+ </li>
+ <li><a href="<?cs var:toroot ?>security/overview/acknowledgements.html">Acknowledgements</a></li>
+ </ul>
+ </li>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/implement.html">
+ <span class="en">Implementation</span>
+ </a>
+ </div>
+ <ul>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/authentication/index.html">
+ <span class="en">Authentication</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>security/authentication/fingerprint-hal.html">Fingerprint HAL</a></li>
+ <li><a href="<?cs var:toroot ?>security/authentication/gatekeeper.html">Gatekeeper</a></li>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/authentication/keymaster.html">
+ <span class="en">Keymaster</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>security/authentication/km-features.html">Features</a></li>
+ <li><a href="<?cs var:toroot ?>security/authentication/km-implementer-ref.html">Implementer's Reference</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li><a href="<?cs var:toroot ?>security/encryption/index.html">Full Disk Encryption</a></li>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/selinux/index.html">
+ <span class="en">SELinux</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>security/selinux/concepts.html">Concepts</a></li>
+ <li><a href="<?cs var:toroot ?>security/selinux/implement.html">Implementation</a></li>
+ <li><a href="<?cs var:toroot ?>security/selinux/customize.html">Customization</a></li>
+ <li><a href="<?cs var:toroot ?>security/selinux/validate.html">Validation</a></li>
+ </ul>
+ </li>
+ <li class="nav-section">
+ <div class="nav-section-header">
+ <a href="<?cs var:toroot ?>security/verifiedboot/index.html">
+ <span class="en">Verified Boot</span>
+ </a>
+ </div>
+ <ul>
+ <li><a href="<?cs var:toroot ?>security/verifiedboot/verified-boot.html">Verifying boot</a></li>
+ <li><a href="<?cs var:toroot ?>security/verifiedboot/dm-verity.html">Implementing dm-verity</a></li>
+ </ul>
+ </li>
+
+ </ul>
+ </li>
+ </ul>
+ <!-- End Security -->
+</ul>
diff --git a/src/devices/tech/security/selinux/concepts.jd b/src/security/selinux/concepts.jd
similarity index 100%
rename from src/devices/tech/security/selinux/concepts.jd
rename to src/security/selinux/concepts.jd
diff --git a/src/devices/tech/security/selinux/customize.jd b/src/security/selinux/customize.jd
similarity index 100%
rename from src/devices/tech/security/selinux/customize.jd
rename to src/security/selinux/customize.jd
diff --git a/src/devices/tech/security/selinux/implement.jd b/src/security/selinux/implement.jd
similarity index 100%
rename from src/devices/tech/security/selinux/implement.jd
rename to src/security/selinux/implement.jd
diff --git a/src/devices/tech/security/selinux/index.jd b/src/security/selinux/index.jd
similarity index 100%
rename from src/devices/tech/security/selinux/index.jd
rename to src/security/selinux/index.jd
diff --git a/src/devices/tech/security/selinux/validate.jd b/src/security/selinux/validate.jd
similarity index 100%
rename from src/devices/tech/security/selinux/validate.jd
rename to src/security/selinux/validate.jd
diff --git a/src/devices/tech/security/verifiedboot/dm-verity.jd b/src/security/verifiedboot/dm-verity.jd
similarity index 100%
rename from src/devices/tech/security/verifiedboot/dm-verity.jd
rename to src/security/verifiedboot/dm-verity.jd
diff --git a/src/devices/tech/security/verifiedboot/index.jd b/src/security/verifiedboot/index.jd
similarity index 100%
rename from src/devices/tech/security/verifiedboot/index.jd
rename to src/security/verifiedboot/index.jd
diff --git a/src/devices/tech/security/verifiedboot/verified-boot.jd b/src/security/verifiedboot/verified-boot.jd
similarity index 100%
rename from src/devices/tech/security/verifiedboot/verified-boot.jd
rename to src/security/verifiedboot/verified-boot.jd
diff --git a/src/source/brands.jd b/src/source/brands.jd
index c345c02..34a14fc 100644
--- a/src/source/brands.jd
+++ b/src/source/brands.jd
@@ -81,19 +81,21 @@
<blockquote><em>Android is a trademark of Google Inc.</em></blockquote></p>
<p>Here are acceptable examples:</p>
-<img src="{@docRoot}images/JB-TM-example.png" alt="Jelly Bean trademark example" />
-<img src="{@docRoot}images/8100-TM-example.png" alt="8100 series trademark example" />
-<img src="{@docRoot}images/XBrand-TM-example.jpg" alt="XBrand trademark example" />
+<img src="images/JB-TM-example.png" alt="Jelly Bean trademark example" />
+<img src="images/8100-TM-example.png" alt="8100 series trademark example" />
+ <p>And one unacceptable example:</p>
+<img src="images/XBrand-TM-example.jpg" alt="XBrand trademark example" />
</li>
</ul>
<div style="float:right;width:200px;margin-left:30px">
- <img alt="" src="{@docRoot}images/Android_Robot_100.png"
+ <img alt="" src="images/Android_Robot_100.png"
style="margin-left:50px">
<p style="text-align:center">
<a href="http://developer.android.com/images/brand/Android_Robot_100.png">100x118</a> |
<a href="http://developer.android.com/images/brand/Android_Robot_200.png">200x237</a><br>
<a href="http://developer.android.com/downloads/brand/Android_Robot_outlined.ai">Illustrator (.ai)</a></p>
+ <img alt="" src="images/No_PeaceBot_200.jpg">
</div>
<h3 id="robot-android">Android robot</h3>
@@ -104,9 +106,13 @@
Guidelines</a> and the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons license</a>
for additional details.</p>
+<p style="padding-top: 70px">The Android Peace Robot or any variation of the Android Peace Robot
+(with peace sign) may not be used in partner marketing.</p>
+
<h3 id="logo-android" style="clear:right">Android logo</h3>
-<div style="float:right;width:210px;margin-left:30px;margin-top:-10px">
+<div style="float:right;width:250px;margin-left:30px;margin-top:-10px">
+ <img alt="No Logo" src="images/android_logo_new_crossed_out.png">
<img alt="No Logo" src="http://developer.android.com/images/brand/android_logo_no.png">
</div>
@@ -114,7 +120,7 @@
logo and custom typeface may not be used. Nor can these images be used with the
Android robot.</p>
-<h2 id="brand-google_play">Google Play</h2>
+<h2 style="padding-top:50px" id="brand-google_play">Google Play</h2>
<p>Use of the “Google Play” name and the Google Play Store icon on the
packaging of the hardware, marketing materials of the hardware, or the hardware
diff --git a/src/images/8100-TM-example.png b/src/source/images/8100-TM-example.png
similarity index 100%
rename from src/images/8100-TM-example.png
rename to src/source/images/8100-TM-example.png
Binary files differ
diff --git a/src/images/Android_Robot_100.png b/src/source/images/Android_Robot_100.png
similarity index 100%
rename from src/images/Android_Robot_100.png
rename to src/source/images/Android_Robot_100.png
Binary files differ
diff --git a/src/images/JB-TM-example.png b/src/source/images/JB-TM-example.png
similarity index 100%
rename from src/images/JB-TM-example.png
rename to src/source/images/JB-TM-example.png
Binary files differ
diff --git a/src/source/images/No_PeaceBot_200.jpg b/src/source/images/No_PeaceBot_200.jpg
new file mode 100644
index 0000000..739f968
--- /dev/null
+++ b/src/source/images/No_PeaceBot_200.jpg
Binary files differ
diff --git a/src/images/XBrand-TM-example.jpg b/src/source/images/XBrand-TM-example.jpg
similarity index 100%
rename from src/images/XBrand-TM-example.jpg
rename to src/source/images/XBrand-TM-example.jpg
Binary files differ
diff --git a/src/source/images/android_logo_new_crossed_out.png b/src/source/images/android_logo_new_crossed_out.png
new file mode 100644
index 0000000..646935e
--- /dev/null
+++ b/src/source/images/android_logo_new_crossed_out.png
Binary files differ
diff --git a/src/source/images/android_logo_old_crossed_out.png b/src/source/images/android_logo_old_crossed_out.png
new file mode 100644
index 0000000..a256d93
--- /dev/null
+++ b/src/source/images/android_logo_old_crossed_out.png
Binary files differ
diff --git a/src/source/report-bugs.jd b/src/source/report-bugs.jd
index fc5653e..3b65e8f 100644
--- a/src/source/report-bugs.jd
+++ b/src/source/report-bugs.jd
@@ -28,7 +28,7 @@
improve Android is to let us know about any problems you find with it.</p>
<h2 id="report-issues">Report Issues</h2>
<p class="note"><strong>Note:</strong> For security vulnerabilities, please see
-<a href="{@docRoot}devices/tech/security/overview/updates-resources.html#reporting-security-issues">Reporting Security Issues</a>. If you think you've found
+<a href="{@docRoot}security/overview/updates-resources.html#reporting-security-issues">Reporting Security Issues</a>. If you think you've found
a security vulnerability, <em>please don't use the forms below</em>. Using a public form may
allow anyone to see your report, which may put users at risk until the bug is
fixed. Instead, please send an email detailing the issue to security@android.com.</p>