platform_bootable_recovery/tests/unit
Jerry Zhang b76af93ab5 recovery: Add ability to interrupt UI
Normally calling a UI method will block
indefinitely until the UI is actually
used. This creates a method to interrupt
the UI, causing waitKey to return -2. This
in turn, will cause ShowMenu to return -2.
This allows switching between recovery and
fastbootd via usb commands.

Test: adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test
Bug: 78793464
Change-Id: I4c6c9aa18d79070877841a5c9818acf723fa6096
2018-07-30 20:17:27 +00:00
..
applypatch_test.cpp tests: Clean up the temporary dirs post-run. 2018-07-12 12:54:15 -07:00
asn1_decoder_test.cpp Refactor asn1_decoder functions into a class. 2017-03-21 15:17:43 -07:00
commands_test.cpp updater: Add ABORT command. 2018-07-07 04:12:19 +00:00
dirutil_test.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00
locale_test.cpp Add the missing sr-Latn into png files and rename the png locale header 2017-03-24 16:54:52 -07:00
rangeset_test.cpp tests: Specify the death test style to avoid flakiness. 2018-06-05 14:06:59 -07:00
screen_ui_test.cpp recovery: Add ability to interrupt UI 2018-07-30 20:17:27 +00:00
sysutil_test.cpp Fix the arguments passed to getopt_long(3). 2018-07-17 12:16:53 -07:00
zip_test.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00