platform_bootable_recovery/minadbd
xunchang 34690ced91 Add socket communication between recovery and minadbd
This cl adds a socket pair to support the communication between recovery
and minadbd. Therefore, minadbd will be able to issue multiple commands
to recovery and get back the status of each command.

This cl also switches the adb sideload from the recovery menu to use
this protocol; and moves minadbd to a separate binary.

Bug: 130166585
Test: sideload a package
Change-Id: I80d36d5c4e6fe1ae3ea23640907bc50c0dc0d482
2019-04-11 14:23:53 -07:00
..
Android.bp Add socket communication between recovery and minadbd 2019-04-11 14:23:53 -07:00
AndroidTest.xml Add test config to minadbd_test 2017-03-28 22:13:38 -07:00
fuse_adb_provider.cpp Remove the provider_vtab 2019-03-19 13:03:59 -07:00
fuse_adb_provider.h Remove the provider_vtab 2019-03-19 13:03:59 -07:00
fuse_adb_provider_test.cpp Create a FuseDataProvider base class 2019-03-19 11:11:58 -07:00
minadbd.cpp Add socket communication between recovery and minadbd 2019-04-11 14:23:53 -07:00
minadbd_services.cpp Add socket communication between recovery and minadbd 2019-04-11 14:23:53 -07:00
minadbd_services.h Add socket communication between recovery and minadbd 2019-04-11 14:23:53 -07:00
minadbd_types.h Add socket communication between recovery and minadbd 2019-04-11 14:23:53 -07: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.