aboutsummaryrefslogtreecommitdiff
path: root/6_dev-tools-and-options
diff options
context:
space:
mode:
authorJoshua Duong <joshuaduong@google.com>2020-04-22 16:58:57 -0700
committerSachiyo Sugimoto <sachiyo@google.com>2020-06-26 19:28:11 +0000
commitfcdc54b8c14b21f1054595caa2edf6cf417a5bbd (patch)
treeba11662c57467fc1aa7e5cf183ed77b161a9ff55 /6_dev-tools-and-options
parent8bdcf5aabc109c64564069f890ec8e2233187ab8 (diff)
downloadcdd-fcdc54b8c14b21f1054595caa2edf6cf417a5bbd.tar.gz
CDD: Add Adb Wi-Fi CDD documentation.
To make it easier to debug with physical devices we are making it easy to use WiFi for ADB debugging by improving the app developer experience, improving device discovery via mDNS, and securing the connection between Android device and development machine. Bug: 145035407 Test: N/A Change-Id: I992bba62799a27ce8d14407985fccfafcf57b8dd
Diffstat (limited to '6_dev-tools-and-options')
-rw-r--r--6_dev-tools-and-options/6_1_developer_tools.md24
1 files changed, 19 insertions, 5 deletions
diff --git a/6_dev-tools-and-options/6_1_developer_tools.md b/6_dev-tools-and-options/6_1_developer_tools.md
index 802b984..9548790 100644
--- a/6_dev-tools-and-options/6_1_developer_tools.md
+++ b/6_dev-tools-and-options/6_1_developer_tools.md
@@ -48,12 +48,26 @@ SDK.
* [C-0-5] MUST support secure adb. Android includes support for secure
adb. Secure adb enables adb on known authenticated hosts.
* [C-0-6] MUST provide a mechanism allowing adb to be connected from a
- host machine. For example:
+ host machine. Specifically:
- * Device implementations without a USB port supporting peripheral mode
- MUST implement adb via local-area network (such as Ethernet or Wi-Fi).
- * MUST provide drivers for Windows 7, 9 and 10, allowing developers to
- connect to the device using the adb protocol.
+ If device implementations without a USB port support peripheral mode, they:
+
+ * [C-3-1] MUST implement adb via local-area network (such as Ethernet
+ or Wi-Fi).
+ * [C-3-2] MUST provide drivers for Windows 7, 8 and 10, allowing
+ developers to connect to the device using the adb protocol.
+
+ If device implementations support adb connections to a host machine via
+ Wi-Fi, they:
+
+ * [C-4-1] MUST have the `AdbManager#isAdbWifiSupported()` method
+ return `true`.
+
+ If device implementations support adb connections to a host machine via
+ Wi-Fi and includes at least one camera, they:
+
+ * [C-5-1] MUST have the `AdbManager#isAdbWifiQrSupported()` method
+ return `true`.
* [**Dalvik Debug Monitor Service (ddms)**](http://developer.android.com/tools/debugging/ddms.html)
* [C-0-7] MUST support all ddms features as documented in the Android SDK.