platform_bootable_recovery/fuse_sideload
Tom Marshall cff2229a28 recovery: Provide caching for sideload files
Create a cache of block data received via adb.  The cache size is set
to ensure that there is at least 400mb 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
2024-09-08 01:05:13 +02:00
..
include Support starting fuse from a block map 2019-06-20 13:53:40 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to bootable/recovery 2021-02-14 10:37:20 -08:00
fuse_provider.cpp Fix non-ab fuse ota fail bug 2022-03-01 16:40:40 +08:00
fuse_sideload.cpp recovery: Provide caching for sideload files 2024-09-08 01:05:13 +02:00