aboutsummaryrefslogtreecommitdiffstats
path: root/fuse_sideload.cpp
Commit message (Collapse)AuthorAgeFilesLines
* recovery: Provide caching for sideload filesTom Marshall2015-11-251-1/+107
| | | | | | | | | | | | | | | Create a cache of block data received via adb. The cache size is set to ensure that there is at least 100mb available for the installer. When the cache is large enough to hold the entire file, each block is read via adb at most once. When the cache is not large enough to hold the entire file, the cache will need to be pruned. Because files tend to be read sequentially during install, the pruning algorithm attempts to discard blocks that are behind the current file position. Change-Id: Id8fc7fa5b38f1d80461eb576b1a1b5d53453cfc1
* recovery: Provide sideload cancellationTom Marshall2015-11-251-18/+21
| | | | Change-Id: I13f0c9ae5444652a2141442ef24258679a78d320
* recovery: Switch fuse_* to C++.Tao Bao2015-11-071-0/+524
Change-Id: Id50c3e6febd0ab61f10a654b9b265cf21a2d1701 (cherry picked from commit 71dc365f25676cfb3f62dbb7163697a8c3c5243d)