platform_bootable_recovery/minadbd
xunchang ea2912f187 Create a FuseDataProvider base class
The fuse data provider for adb/sdcard shares common code and structures.
This cl creates a FuseDataProvider base class and provides
implementations for adb and sdcard.

In the follow cls, we can kill the provider_vtab struct; and also add
another implementation to parse a block map file and provides data.

Test: unit tests pass, sideload a package, apply a package from sdcard
Change-Id: If8311666a52a2e3c0fbae0ee9688fa6d01e4ad09
2019-03-19 11:11:58 -07:00
..
Android.bp Create a FuseDataProvider base class 2019-03-19 11:11:58 -07:00
AndroidTest.xml Add test config to minadbd_test 2017-03-28 22:13:38 -07:00
fuse_adb_provider.cpp Create a FuseDataProvider base class 2019-03-19 11:11:58 -07:00
fuse_adb_provider.h Create a FuseDataProvider base class 2019-03-19 11:11:58 -07:00
fuse_adb_provider_test.cpp Create a FuseDataProvider base class 2019-03-19 11:11:58 -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 Create a FuseDataProvider base class 2019-03-19 11:11:58 -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.