android_system_core/adb/daemon
Yurii Zubrytskyi 5dda7f6cea [adb] Optimize adbd's usb reading
Try to not allocate as many blocks on the heap, and reuse
memory instead of copying it

Get rid of unique_ptr and shared_ptr where possible, move
the Block objects themselves

Overall this reduces the time spent in memcpy() from 30% to
15% of the whole 'adb push' command, and gets rid of about 5%
of the time spent in the malloc/free calls

Test: builds
Change-Id: I8995115274b6f08a4df13c58183c928ef384a767
2019-11-28 18:24:01 -08: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
auth.cpp adbd: use libadbd_auth for authentication. 2019-11-04 15:46:20 -08:00
file_sync_service.cpp adbd: move posix_fadvise after open. 2019-05-01 13:40:01 -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
main.cpp Merge changes from topic "adbd_apex" 2019-11-05 23:36:39 +00:00
mdns.cpp Only set mdns_registered on success 2019-01-09 08:46:50 +01:00
mdns.h Make ADBD announce its presence over mDNS 2017-03-07 14:42:06 -08: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 Handle the reboot in the recovery user mode 2019-11-13 14:23:09 -08:00
shell_service.cpp adb: avoid leaking pty master FDs. 2019-07-30 14:48:57 -07: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 adbd: fix TCP bind address. 2019-01-30 14:49:20 -08:00
usb.cpp [adb] Optimize adbd's usb reading 2019-11-28 18:24:01 -08:00
usb_dummy.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_ffs.cpp Revert "adb: daemon: Assign valid fd to usb_handle ep0 file descriptor" 2019-06-25 08:01:04 -07:00
usb_legacy.cpp Fix non-aio USB read issue for fastbootd 2019-05-29 23:10:50 +00:00