summaryrefslogtreecommitdiff
path: root/libsparse/sparse_read.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2017-10-09 09:27:16 -0700
committerMark Salyzyn <salyzyn@google.com>2017-10-10 09:37:59 -0700
commit6290982ee324a1612d575b276bb8a1c3b921548a (patch)
tree1da5958ef6a2267def5fcae3dfc2dd14b7cde346 /libsparse/sparse_read.cpp
parentbe729702ae8cf0771e8b69daf87bc251a13a3a60 (diff)
init+bootstat: reduce last reboot reason to canonical alias
To make parsing easier for last reboot reason. This also ensures that last boot reason matches the content that is typically returned by the bootloader or in turn landed in the canonical system boot reason. Simplify parsing in bootstat. Adjust and fix boot_reason_test.sh for new reality. Allow boot reason tests battery and kernel_panic to pass if device does not support pstore (empty before and after the test). If device somehow landed in fastboot mode while waiting for the display, issue a fastboot reboot to move the test along. Some cleanup and standardization changes to the test script. Test: system/core/bootstat/boot_reason_test.sh Bug: 63736262 Change-Id: I97d5467c0b4a6d65df3525f1a2d0051db813d5ad
Diffstat (limited to 'libsparse/sparse_read.cpp')
0 files changed, 0 insertions, 0 deletions