• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1The contents of this directory are copied from system/core/adb, with
2the following changes:
3
4adb.c
5  - much support for host mode and non-linux OS's stripped out; this
6    version only runs as adbd on the device.
7  - always setuid/setgid's itself to the shell user
8  - only uses USB transport
9  - references to JDWP removed
10  - main() removed
11  - all ADB_HOST and win32 code removed
12  - removed listeners, logging code, background server (for host)
13
14adb.h
15  - minor changes to match adb.c changes
16
17sockets.c
18  - references to JDWP removed
19  - ADB_HOST code removed
20
21services.c
22  - all services except echo_service (which is commented out) removed
23  - all host mode support removed
24  - sideload_service() added; this is the only service supported.  It
25    receives a single blob of data, writes it to a fixed filename, and
26    makes the process exit.
27
28Android.mk
29  - only builds in adbd mode; builds as static library instead of a
30    standalone executable.
31
32sysdeps.h
33  - changes adb_creat() to use O_NOFOLLOW
34
35transport.c
36  - removed ADB_HOST code
37
38transport_usb.c
39  - removed ADB_HOST code
40