platform_system_core/adb/daemon
Josh Gao 6fb9461103 adbd: when rebooting, don't close socket before pausing.
An accidental side-effect of the change to unique_fd was that we
started closing the reboot service socket before pausing and waiting
for our death. This results in the client immediately returning, which
means they might get a chance to run other commands before we actually
manage to reboot.

Bug: http://b/112104037
Test: adb reboot; adb devices
Change-Id: Id61321da0c08ebd1ab57f1ce926bafd9109dd9c2
2018-08-02 12:52:26 -07:00
..
include/adbd adb: Add io size and zero packet to usb_handle 2018-07-17 11:54:38 -07:00
auth.cpp [adb] Modernize codebase by replacing NULL with nullptr 2018-07-13 18:21:00 -07:00
file_sync_service.cpp adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -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: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
framebuffer_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
jdwp_service.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
main.cpp adbd: turn on fdsan warnings. 2018-07-25 18:49:37 -07:00
mdns.cpp adb: kill adb_thread_{create, join, detach, exit}. 2017-04-12 17:12:32 -07:00
mdns.h Make ADBD announce its presence over mDNS 2017-03-07 14:42:06 -08:00
remount_service.cpp adb: Correctly detect deduplicated ext4 partitions. 2018-07-30 16:08:29 -07:00
remount_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
services.cpp adbd: when rebooting, don't close socket before pausing. 2018-08-02 12:52:26 -07:00
set_verity_enable_state_service.cpp adb: use WriteFdExactly when no format 2018-07-27 10:53:54 -07:00
set_verity_enable_state_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
shell_service.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
shell_service.h adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
shell_service_test.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
usb.cpp Merge changes I31e444f3,If07ff05f,If3ba190d 2018-07-17 22:35:36 +00:00