platform_system_core/adb/daemon
Josh Gao af086e9a95 adbd: respond to device-to-host control transfers.
Failing to write to the endpoint results in subsequent reads on ep0 to
fail with EL2HLT, so do an empty write to fulfill the transfer.

Bug: http://b/131867920
Test: manually tested with modified auto client
Change-Id: If2eec162ca4b31a9974c7bd5802be51cee9e2708
2019-05-21 16:39:51 -07:00
..
include/adbd adbd: extract functionfs fd creation. 2018-10-18 13:58:06 -07:00
abb.cpp adbd: switch abb to ConsumePrefix. 2019-02-25 13:59:00 -08:00
abb_service.cpp Adding EXEC version of calling ABB. 2019-02-23 06:15:03 +00:00
auth.cpp Notify the framework when an adb key is authorized 2019-05-09 16:05:40 -07:00
file_sync_service.cpp adb: Avoid extra std::string copies 2019-03-26 12:00:19 -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: don't use <error.h>. 2018-10-22 17:04:32 -07:00
framebuffer_service.h adbd: compile for host. 2019-01-23 12:59:41 -08:00
jdwp_service.cpp adb: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
main.cpp adbd: allowing adb root when the device is unlocked 2019-03-15 03:04:46 +08: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
reboot_service.cpp adbd: compile for host. 2019-01-23 12:59:41 -08:00
reboot_service.h adbd: compile for host. 2019-01-23 12:59:41 -08:00
remount_service.cpp adbd: cleanups in remount/verity. 2019-03-06 13:03:30 -08:00
remount_service.h adb: use /system/bin/remount command 2019-03-04 11:12:54 -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 adbd: switch daemon/services to ConsumePrefix. 2019-02-25 13:49:25 -08:00
set_verity_enable_state_service.cpp adbd: cleanups in remount/verity. 2019-03-06 13:03:30 -08:00
set_verity_enable_state_service.h adbd: compile for host. 2019-01-23 12:59:41 -08:00
shell_service.cpp Binding err to inout for raw protocol for in-process execute. 2019-04-10 11:13:39 -07:00
shell_service.h Adding EXEC version of calling ABB. 2019-02-23 06:15:03 +00:00
shell_service_test.cpp Binding err to inout for raw protocol for in-process execute. 2019-04-10 11:13:39 -07:00
transport_qemu.cpp adbd: fix TCP bind address. 2019-01-30 14:49:20 -08:00
usb.cpp adbd: respond to device-to-host control transfers. 2019-05-21 16:39:51 -07:00
usb_dummy.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_ffs.cpp adbd: open functionfs ep0 as O_RDWR. 2018-10-18 13:58:06 -07:00
usb_legacy.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00