summaryrefslogtreecommitdiffstats
path: root/fuse_sdcard_install.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move apply_from_sdcard to fuse_sdcard_installxunchang2019-03-201-1/+4
| | | | | | | | | | | Move the sdcard installation function and all helper functions to a separate file, and drop the dependency on common.h. In the future, we want to move these functions into the install class. Bug: 127071893 Test: unit tests pass Change-Id: I0b7f7cbf0b68918e638e13878ca28bfca367088a
* Create a FuseDataProvider base classxunchang2019-03-191-0/+19
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