summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorBilly Lau <billylau@google.com>2016-11-22 18:33:31 +0000
committerBilly Lau <billylau@google.com>2016-11-22 21:25:02 +0000
commitd36115ef2f5c671e665a176f09c9d810df58bf89 (patch)
tree48d8f02be8861ba38d2493ab1edc2cb9f40f3a78 /libunwindstack/tests/MemoryFileTest.cpp
parentb6552f376ca2903d987faa9b05808d72952af858 (diff)
init: Reworked how we wait for COLDBOOT_DONE
Bug: 31800756 Instead of strictly timing out after 1s waiting for COLDBOOT_DONE, we wait for a considerably longer period of time, which would also allow slower non-production heavily instrumented debug builds to boot up. Upon successful wait, we measure the time taken and record the value into a system property: ro.cold_boot.duration. If timeout is still reached, we log an error message and abandon boot process, rebooting into recovery mode instead. Change-Id: Ic1df80546d8721b0e8c998ff294d5c5102de4e98
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions