summaryrefslogtreecommitdiffstats
path: root/fuse_sdcard_provider.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create a FuseDataProvider base classxunchang2019-03-191-22/+0
| | | | | | | | | | | | 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
* recovery: Fork a process for fuse when sideloading from SD card.Tao Bao2016-01-141-2/+1
| | | | | | | | | | | For applying update from SD card, we used to use a thread to serve the file with fuse. Since accessing through fuse involves going from kernel to userspace to kernel, it may run into deadlock (e.g. for mmap_sem) when a page fault occurs. Switch to using a process instead. Bug: 23783099 Bug: 26313124 Change-Id: Iac0f55b1bdb078cadb520cfe1133e70fbb26eadd
* recovery: Switch fuse_* to C++.Tao Bao2015-07-241-6/+0
| | | | | Change-Id: Id50c3e6febd0ab61f10a654b9b265cf21a2d1701 (cherry picked from commit 71dc365f25676cfb3f62dbb7163697a8c3c5243d)
* Switch minadb over to C++.Elliott Hughes2015-04-101-0/+6
| | | | Change-Id: I5afaf70caa590525627c676c88b445d3162de33e
* do sdcard sideloading through the fuse filesystemDoug Zongker2014-07-101-0/+23
Make a fuse filesystem that sits on top of the selected package file on the sdcard, so we can verify that the file contents don't change while being read and avoid copying the file to /tmp (that is, RAM) before verifying and installing it. Change-Id: Ifd982aa68bfe469eda5f839042648654bf7386a1