platform_bootable_recovery/recovery_ui
Hongguang Chen 042672729c Add EthernetDevice to manage ethernet connection.
The current fastbootd only supports USB protocol. But some Android TV
devices are built without USB port. The fastbootd cannot be used on
those ATV devices due to it. aosp/1295566 enables fastbootd over
ethernet.

This change adds an EthernetDevice to manage ethernet connection and set
fastbootd protcol property fastbootd.protocol to enable fastbootd over
ethernet in recovery mode. It uses IPv6 link-local address to not expose
the devices out of the network segment. The devices who want to use this
EthernetDevice should add
“TARGET_RECOVERY_UI_LIB := librecovery_ui_ethernet” into BoardConfig.mk.

BUG: 152544169
Test: Enter and exit fastboot mode and check eth0 IPv6 link-local address
on screen UI.

Change-Id: I73fe44be3790bdba5a6059fbba3f7264b21eed99
2020-05-15 15:18:41 -07:00
..
include/recovery_ui Add EthernetDevice to manage ethernet connection. 2020-05-15 15:18:41 -07:00
Android.bp Add EthernetDevice to manage ethernet connection. 2020-05-15 15:18:41 -07:00
default_device.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
device.cpp Remove common.h 2019-08-15 13:40:16 -07:00
ethernet_device.cpp Add EthernetDevice to manage ethernet connection. 2020-05-15 15:18:41 -07:00
ethernet_ui.cpp Add EthernetDevice to manage ethernet connection. 2020-05-15 15:18:41 -07:00
screen_ui.cpp Recovery UI meet issue if image size is too large 2020-02-21 16:20:47 +00:00
stub_ui.cpp Implement ShowMenu for StubRecoveryUI 2019-06-27 15:54:59 -07:00
ui.cpp Consolidate the wait in recovery's reboot 2020-03-13 16:09:48 -07:00
vr_device.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
vr_ui.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
wear_device.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
wear_ui.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00