platform_system_core/adb/client
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
..
pairing Pass the os handle to the tls connection. 2020-03-26 02:18:07 +00:00
adb_client.cpp Revert "Revert "Support socket activation of adb server"" 2019-12-11 08:20:20 +00:00
adb_client.h [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
adb_install.cpp adb: implement compression for file sync. 2020-03-26 16:08:41 -07:00
adb_install.h Adds atomic install support to adb 2019-01-11 18:13:36 +00:00
adb_wifi.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
auth.cpp [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
bugreport.cpp adb: don't use <error.h>. 2018-10-22 17:04:32 -07:00
bugreport.h adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
commandline.cpp adb: implement compression for file sync. 2020-03-26 16:08:41 -07:00
commandline.h adb: report error in copy_to_file. 2020-02-04 13:47:57 -08:00
console.cpp NFC: Fix potentially uninitialized 'port' variable. 2019-05-09 12:55:41 -07:00
fastdeploy.cpp adb: implement compression for file sync. 2020-03-26 16:08:41 -07:00
fastdeploy.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fastdeploycallbacks.cpp FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fastdeploycallbacks.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
file_sync_client.cpp adb: implement compression for file sync. 2020-03-26 16:08:41 -07:00
file_sync_client.h adb: implement compression for file sync. 2020-03-26 16:08:41 -07:00
incremental.cpp [adb] Fix incremental installation on Windows 2020-03-18 22:28:01 -07:00
incremental.h [adb data server] wait for installation results before terminates 2020-03-17 20:19:47 -07:00
incremental_server.cpp Adding block kind to protocol for future streaming of a tree. 2020-03-20 11:18:33 -07:00
incremental_server.h [adb data server] wait for installation results before terminates 2020-03-17 20:19:47 -07:00
incremental_utils.cpp [adb] Fix incremental installation on Windows 2020-03-18 22:28:01 -07:00
incremental_utils.h [adb incremental] send priority blocks first 2020-03-17 20:19:49 -07:00
line_printer.cpp adb: win32: LinePrinter Unicode support 2018-09-02 16:27:12 -07:00
line_printer.h adb: don't spew push/pull progress to dumb terminals. 2018-08-22 17:28:33 -07:00
main.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
transport_mdns.cpp Properly remove adb DNS services. 2020-02-24 17:58:34 -08:00
usb_dispatch.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_libusb.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_linux.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00
usb_osx.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00
usb_windows.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00