platform_bootable_recovery/minadbd
Tao Bao 5de19e2e02 minadbd: daemon_service_to_fd takes std::string_view.
The caller of daemon_service_to_fd() in core adb has switched to
std::string_view in [1]. The mismatch breaks the sideload service, as it
picks up the wrong daemon_service_to_fd() when serving sideload.

[1] https://android-review.googlesource.com/c/platform/system/core/+/850392

Bug: 122171762
Test: `adb sideload` on taimen.
Change-Id: Ie828400768523c35c5576e2c029e38fc0ad0aff9
2019-01-02 09:40:46 -08:00
..
Android.bp minadbd: daemon_service_to_fd takes std::string_view. 2019-01-02 09:40:46 -08:00
AndroidTest.xml Add test config to minadbd_test 2017-03-28 22:13:38 -07:00
fuse_adb_provider.cpp Clean up fuse_sideload and add a testcase. 2017-11-03 18:30:41 -07:00
fuse_adb_provider.h Clean up fuse_sideload and add a testcase. 2017-11-03 18:30:41 -07:00
fuse_adb_provider_test.cpp Clean up fuse_sideload and add a testcase. 2017-11-03 18:30:41 -07:00
minadbd.cpp minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
minadbd.h minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
minadbd_services.cpp minadbd: daemon_service_to_fd takes std::string_view. 2019-01-02 09:40:46 -08:00
README.md Address review comment. 2017-01-09 14:28:42 -08:00

minadbd is now mostly built from libadbd. The fuse features are unique to minadbd, and services.c has been modified as follows:

  • all services removed
  • all host mode support removed
  • sideload_service() added; this is the only service supported. It receives a single blob of data, writes it to a fixed filename, and makes the process exit.