platform_bootable_recovery/otautil
Tianjie Xu 2b1a464a70 Move the parse of last_install to recovery-persist
The recovery-persist used to look for the related recovery logs in
persist storage, and copy them under /data/misc/recovery during the
normal boot process.

As we also want to find out the sideload information from last_install,
it makes more sense to move the parse & report of non-a/b metrics to
recovery-persist. Thus we can avoid the race condition of the file
system between the native code and RecoverySystem.

Bug: 114278989
Test: unit test pass, check the event buffer for metrics report
Change-Id: I32d7b2b831bc74a61a70af9a2f0b8a7e9b3e36ee
2018-09-13 13:27:55 -07:00
..
include/otautil Move the parse of last_install to recovery-persist 2018-09-13 13:27:55 -07:00
Android.bp Move the parse of last_install to recovery-persist 2018-09-13 13:27:55 -07:00
dirutil.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00
mounts.cpp Merge libmounts into libotautil. 2018-04-27 21:13:57 -07:00
parse_install_logs.cpp Move the parse of last_install to recovery-persist 2018-09-13 13:27:55 -07:00
paths.cpp Drop the dependency on AB_OTA_UPDATER flag. 2018-06-19 10:50:43 -07:00
rangeset.cpp Enable c++17 in recovery_defaults. 2018-08-28 10:49:07 -07:00
sysutil.cpp Fix the arguments passed to getopt_long(3). 2018-07-17 12:16:53 -07:00
thermalutil.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00