platform_system_core/adb/daemon
Josh Gao 50ab0a6900 adb: implement compression for file sync.
This improves performance when syncing by up to 2x (remote cuttlefish
goes from 11.9 MB/s to 21.3 MB/s, blueline over USB 2.0 from 36 MB/s
to 70 MB/s).

This results in a slight drop in push speeds over USB 3.0 (125 -> 115
MB/s on blueline), presumably because we're compressing and extracting
on only a single thread, but the gains over lower bandwidth transports
make this worth it to submit this now and parallelize later.

Bug: https://issuetracker.google.com/150827486
Test: ADB_COMPRESSION={0, 1} test_device.py (with new/old adbd)
Change-Id: Ic2a0c974f1b6efecda115f87d336e3caac810035
Merged-In: Ic2a0c974f1b6efecda115f87d336e3caac810035
(cherry picked from commit 939fc19aee)
2020-03-26 16:08:41 -07:00
..
include/adbd adbd: move jdwp listening logic into ART. 2019-06-25 12:37:20 -07:00
abb.cpp [adb] Speed up the streaming install 2019-08-08 12:55:51 -07:00
abb_service.cpp [adb] Speed up the streaming install 2019-08-08 12:55:51 -07:00
adb_wifi.cpp [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
auth.cpp [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
file_sync_service.cpp adb: implement compression for file sync. 2020-03-26 16:08:41 -07:00
file_sync_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
framebuffer_service.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
framebuffer_service.h adbd: compile for host. 2019-01-23 12:59:41 -08:00
jdwp_service.cpp adbd: move jdwp listening logic into ART. 2019-06-25 12:37:20 -07:00
logging.cpp adbd: add runtime-configurable logging. 2020-03-02 12:44:54 -08:00
logging.h adbd: add runtime-configurable logging. 2020-03-02 12:44:54 -08:00
main.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
mdns.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
mdns.h [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
restart_service.cpp adbd: log when exiting due to root/unroot/tcpip/usb. 2019-02-19 13:12:59 -08:00
restart_service.h adbd: compile for host. 2019-01-23 12:59:41 -08:00
services.cpp adbd: add runtime-configurable logging. 2020-03-02 12:44:54 -08:00
shell_service.cpp adbd: add runtime-configurable logging. 2020-03-02 12:44:54 -08:00
shell_service.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
shell_service_test.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
transport_qemu.cpp [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
usb.cpp Reland "adb: turn CHECKs into an error + transport restart." 2020-03-02 22:59:54 -08:00
usb_dummy.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_ffs.cpp Reland "adb: daemon: Assign valid fd to usb_handle ep0 file descriptor" 2020-03-02 22:59:54 -08:00
usb_legacy.cpp Fix non-aio USB read issue for fastbootd 2019-05-29 23:10:50 +00:00