Searched refs:KeyError (Results 1 – 8 of 8) sorted by relevance
30 if (key == static_cast<int>(KeyError::INTERRUPTED) || in ShowMenu()31 key == static_cast<int>(KeyError::TIMED_OUT)) { in ShowMenu()
450 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()
585 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()
75 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()
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()
201 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()
56 enum class KeyError : int { enum
99 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()