Home
last modified time | relevance | path

Searched refs:KeyError (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/recovery_ui/
Dstub_ui.cpp30 if (key == static_cast<int>(KeyError::INTERRUPTED) || in ShowMenu()
31 key == static_cast<int>(KeyError::TIMED_OUT)) { in ShowMenu()
Dui.cpp450 return static_cast<int>(KeyError::INTERRUPTED); in WaitKey()
460 return static_cast<int>(KeyError::INTERRUPTED); in WaitKey()
484 int key = static_cast<int>(KeyError::TIMED_OUT); in WaitKey()
Dscreen_ui.cpp585 if (key == static_cast<int>(KeyError::INTERRUPTED)) break; in CheckBackgroundTextImages()
1102 if (key == static_cast<int>(KeyError::INTERRUPTED)) return; in ShowFile()
1208 if (IsKeyInterrupted()) return static_cast<size_t>(KeyError::INTERRUPTED); in ShowMenu()
1220 if (key == static_cast<int>(KeyError::INTERRUPTED)) { // WaitKey() was interrupted. in ShowMenu()
1221 return static_cast<size_t>(KeyError::INTERRUPTED); in ShowMenu()
1223 if (key == static_cast<int>(KeyError::TIMED_OUT)) { // WaitKey() timed out. in ShowMenu()
1230 return static_cast<size_t>(KeyError::TIMED_OUT); in ShowMenu()
/bootable/recovery/fastboot/
Dfastboot.cpp75 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in StartFastboot()
78 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) { in StartFastboot()
/bootable/recovery/tests/unit/
Dscreen_ui_test.cpp336 return static_cast<int>(RecoveryUI::KeyError::INTERRUPTED); in WaitKey()
466 ASSERT_EQ(static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT), in TEST_F()
501 ASSERT_EQ(static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED), in TEST_F()
514 ASSERT_EQ(static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED), in TEST_F()
/bootable/recovery/
Drecovery.cpp201 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data()
261 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in choose_recovery_file()
397 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in PromptAndWait()
403 (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) in PromptAndWait()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dui.h56 enum class KeyError : int { enum
/bootable/recovery/install/
Dfuse_install.cpp99 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()