summaryrefslogtreecommitdiffstats
path: root/minadbd/fuse_adb_provider.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minadbd: Support rescue install and getprop commands.Tao Bao2019-04-191-4/+0
| | | | | | | | | | Bug: 128415917 Test: Enter rescue mode on taimen. Send the following commands: `adb rescue getprop ro.build.fingerprint` `adb rescue getprop ro.build.date.utc` `adb rescue install /path/to/package.zip` Test: Sideload on taimen w/ `adb sideload /path/to/package.zip`. Change-Id: Ibc25daf9fd13f7002e54789f67aaf85d06976bb8
* Remove the provider_vtabxunchang2019-03-191-15/+0
| | | | | | | | | It's no longer needed with the newly added FuseDataProvider class. Also cleans up the parameters for run_fuse_sideload. Bug: 127071893 Test: unit tests pass, run a sideload Change-Id: I1ccd6798d187cfc6ac9f559ffb3f3edf08dad55c
* Create a FuseDataProvider base classxunchang2019-03-191-14/+16
| | | | | | | | | | | | 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
* Clean up fuse_sideload and add a testcase.Tao Bao2017-11-041-28/+25
| | | | | | | | | | | | This CL mainly changes: a) moving the interface in struct provider_vtab to std::function; b) code cleanup, such as moving the declaration closer to the uses, using explicit type conversion. Test: recovery_component_test Test: minadbd_test Test: Sideload a package on marlin. Change-Id: Id0e3c70f1ada54a4cd985b54c84438c23ed4687e
* Minor minadbd cleanup.Elliott Hughes2016-06-171-2/+0
| | | | | | | Distinguish our "services.cpp" more clearly from the regular adbd "services.cpp", and remove a few useless includes of "sysdeps.h". Change-Id: Ided4945a3ac5916133322ca7e95fa51add9abaa4
* Move minadb over to new API.Elliott Hughes2015-05-021-13/+8
| | | | Change-Id: I889bcf2222245c7665287513669cae8831e37081
* Switch minadb over to C++.Elliott Hughes2015-04-101-0/+66
Change-Id: I5afaf70caa590525627c676c88b445d3162de33e