summaryrefslogtreecommitdiffstats
path: root/verifier_test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-03 18:15:49 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-06-03 18:15:50 +0200
commita69e608a521f7818cc0f17ba86710bd5b18137f2 (patch)
treea94ee0f95bb444b33f5e18e6e393f053e4e6f5b3 /verifier_test.cpp
parentMerge "Really don't use TEMP_FAILURE_RETRY with close in recovery." (diff)
parentLog update outputs in order (diff)
downloadandroid_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.gz
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.bz2
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.lz
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.xz
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.zst
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.zip
Diffstat (limited to 'verifier_test.cpp')
-rw-r--r--verifier_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/verifier_test.cpp b/verifier_test.cpp
index 82546edce..21633dc20 100644
--- a/verifier_test.cpp
+++ b/verifier_test.cpp
@@ -141,6 +141,12 @@ class FakeUI : public RecoveryUI {
vfprintf(stderr, fmt, ap);
va_end(ap);
}
+ void PrintOnScreenOnly(const char* fmt, ...) {
+ va_list ap;
+ va_start(ap, fmt);
+ vfprintf(stderr, fmt, ap);
+ va_end(ap);
+ }
void ShowFile(const char*) { }
void StartMenu(const char* const * headers, const char* const * items,