platform_bootable_recovery/otautil
Tianjie Xu d5fbcc1ba9 Remove the old log files if cache space is insufficient for OTA
We set the limit of the max stash size to 80% of cache size. But the
cache space can still be insufficient for the update if the log files
occupy a large chunk of /cache. So remove the old logs for now to make
room for the update.

Bug: 77528881
Test: unit tests pass
Change-Id: Ia8bcb0ace11f8164ad9290bfb360e08e31d282cb
2018-04-13 11:33:47 -07:00
..
include/otautil Remove the old log files if cache space is insufficient for OTA 2018-04-13 11:33:47 -07:00
Android.bp Add a singleton CacheLocation to replace the hard coded locations 2018-02-28 11:19:11 -08:00
cache_location.cpp Remove the old log files if cache space is insufficient for OTA 2018-04-13 11:33:47 -07:00
DirUtil.cpp otautil: Export headers. 2017-10-03 14:41:32 -07:00
rangeset.cpp Load-balancing update_verifier worker threads. 2017-11-08 23:04:28 -08:00
SysUtil.cpp otautil: #include <errno.h> for TEMP_FAILURE_RETRY. 2017-10-11 12:15:49 -07:00
ThermalUtil.cpp otautil: Export headers. 2017-10-03 14:41:32 -07:00