android_system_core/adb/daemon
Bowgo Tsai 9b30c0a7e6 adbd: allowing adb root when the device is unlocked
As there is no security guarantee when the device is unlocked,
allowing adb root gives us more rooms to debug a USER build images.

Also, this makes it possible to run VTS on a USER build GSI, with
setting ro.debuggable=1 and unlocking the device.

This basically re-lands a reverted change:
https://android-review.googlesource.com/c/platform/system/core/+/437815

Which isn't needed after we moved /sbin/adbd to /system/bin/adbd in
USERDEBUG GSI. But it's still needed for USER build GSI.

Bug: 126493225
Test: unlock a USER build device, check 'adb root' can work
Change-Id: I93f12c8a3fe65c96c947e4602795eadfe591c521
2019-03-15 03:04:46 +08: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 adbd: compile for host. 2019-01-23 12:59:41 -08:00
file_sync_service.cpp adb: update symlink timestamps. 2019-02-20 13:17:56 -08: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 Adding EXEC version of calling ABB. 2019-02-23 06:15:03 +00:00
shell_service.h Adding EXEC version of calling ABB. 2019-02-23 06:15:03 +00:00
shell_service_test.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
transport_qemu.cpp adbd: fix TCP bind address. 2019-01-30 14:49:20 -08:00
usb.cpp adbd: properly handle FUNCTIONFS_BIND without ENABLE. 2019-03-11 13:06:17 -07:00
usb_dummy.cpp adbd: compile for host. 2019-01-23 12:59:41 -08:00
usb_ffs.cpp adbd: open functionfs ep0 as O_RDWR. 2018-10-18 13:58:06 -07:00
usb_legacy.cpp adbd: implement a nonblocking USB Connection. 2018-10-19 17:53:18 -07:00