Home
last modified time | relevance | path

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

/bootable/recovery/fastboot/
Dfastboot.cpp74 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in StartFastboot()
77 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) { in StartFastboot()
/bootable/recovery/recovery_ui/
Dui.cpp454 return static_cast<int>(KeyError::INTERRUPTED); in WaitKey()
464 return static_cast<int>(KeyError::INTERRUPTED); in WaitKey()
488 int key = static_cast<int>(KeyError::TIMED_OUT); in WaitKey()
Dscreen_ui.cpp585 if (key == static_cast<int>(KeyError::INTERRUPTED)) break; in CheckBackgroundTextImages()
1088 if (key == static_cast<int>(KeyError::INTERRUPTED)) return; in ShowFile()
1194 if (IsKeyInterrupted()) return static_cast<size_t>(KeyError::INTERRUPTED); in ShowMenu()
1206 if (key == static_cast<int>(KeyError::INTERRUPTED)) { // WaitKey() was interrupted. in ShowMenu()
1207 return static_cast<size_t>(KeyError::INTERRUPTED); in ShowMenu()
1209 if (key == static_cast<int>(KeyError::TIMED_OUT)) { // WaitKey() timed out. in ShowMenu()
1216 return static_cast<size_t>(KeyError::TIMED_OUT); in ShowMenu()
/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/recovery_ui/include/recovery_ui/
Dui.h54 enum class KeyError : int { enum
/bootable/recovery/
Drecovery.cpp206 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data()
424 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in choose_recovery_file()
498 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wait()
504 (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) in prompt_and_wait()
/bootable/recovery/install/
Dfuse_sdcard_install.cpp97 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()