Searched refs:KeyError (Results 1 – 7 of 7) sorted by relevance
74 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()
454 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()
585 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()
336 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()
54 enum class KeyError : int { enum
206 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()
97 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()