• Home
Name Date Size #Lines LOC

..--

Android.mkD03-May-2024557 3316

README.txtD03-May-20241.1 KiB4031

adb.cD03-May-20249.9 KiB413327

adb.hD03-May-202412.4 KiB419243

fdevent.cD03-May-202417.4 KiB696529

fdevent.hD03-May-20242.1 KiB8431

mutex_list.hD03-May-2024827 2712

services.cD03-May-20243.5 KiB163123

sockets.cD03-May-202419.3 KiB731517

sysdeps.hD03-May-202411.4 KiB495365

transport.cD03-May-202420.9 KiB825668

transport.hD03-May-2024930 275

transport_usb.cD03-May-20242.8 KiB12288

usb_linux_client.cD03-May-20243.7 KiB158106

utils.cD03-May-20242.5 KiB10765

utils.hD03-May-20242.4 KiB699

README.txt

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