From 26bb6e92ba392b28eb2edabb639f8750f859ce20 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Mon, 26 Apr 2010 09:33:47 -0700 Subject: [PATCH] Fixing spelling errors in adb docs Change-Id: I9376717165a01e207034f84a31f85335d3740f18 --- adb/OVERVIEW.TXT | 2 +- adb/SERVICES.TXT | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/adb/OVERVIEW.TXT b/adb/OVERVIEW.TXT index 6a5191aee..c40695af6 100644 --- a/adb/OVERVIEW.TXT +++ b/adb/OVERVIEW.TXT @@ -35,7 +35,7 @@ As a whole, everything works through the following components: (through USB for devices, through TCP for emulators) and provide a few services for clients that run on the host. - The ADB server considers that a device is ONLINE when it has succesfully + The ADB server considers that a device is ONLINE when it has successfully connected to the adbd program within it. Otherwise, the device is OFFLINE, meaning that the ADB server detected a new device/emulator, but could not connect to the adbd daemon. diff --git a/adb/SERVICES.TXT b/adb/SERVICES.TXT index b0124a4da..be4d50bec 100644 --- a/adb/SERVICES.TXT +++ b/adb/SERVICES.TXT @@ -74,7 +74,7 @@ host-usb: host-local: A variant of host-serial used to target the single emulator instance - running on the host. This will fail if therre is none or more than one. + running on the host. This will fail if there is none or more than one. host: When asking for information related to a device, 'host:' can also be @@ -146,7 +146,7 @@ remount: dev: Opens a device file and connects the client directly to it for read/write purposes. Useful for debugging, but may require special - priviledges and thus may not run on all devices. is a full + privileges and thus may not run on all devices. is a full path from the root of the filesystem. tcp: @@ -173,7 +173,7 @@ log: framebuffer: This service is used to send snapshots of the framebuffer to a client. - It requires sufficient priviledges but works as follow: + It requires sufficient privileges but works as follow: After the OKAY, the service sends 16-byte binary structure containing the following fields (little-endian format): @@ -190,14 +190,14 @@ framebuffer: one byte through the channel, which will trigger the service to send it 'size' bytes of framebuffer data. - If the adbd daemon doesn't have sufficient priviledges to open + If the adbd daemon doesn't have sufficient privileges to open the framebuffer device, the connection is simply closed immediately. dns: This service is an exception because it only runs within the ADB server. It is used to implement USB networking, i.e. to provide a network connection to the device through the host machine (note: this is the exact opposite of - network thetering). + network tethering). It is used to perform a gethostbyname(
) on the host and return the corresponding IP address as a 4-byte string. @@ -209,7 +209,7 @@ recover: - creating a file named /tmp/update - reading 'size' bytes from the client and writing them to /tmp/update - - when everything is read succesfully, create a file named /tmp/update.start + - when everything is read successfully, create a file named /tmp/update.start This service can only work when the device is in recovery mode. Otherwise, the /tmp directory doesn't exist and the connection will be closed immediately.