Searched refs:chosen_item (Results 1 – 4 of 4) sorted by relevance
70 auto chosen_item = ui->ShowMenu( in StartFastboot() local74 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()80 return kFastbootMenuActions[chosen_item].second; in StartFastboot()
90 size_t chosen_item = 0; in BrowseDirectory() local92 chosen_item = ui->ShowMenu( in BrowseDirectory()93 headers, entries, chosen_item, true, in BrowseDirectory()97 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()101 const std::string& item = entries[chosen_item]; in BrowseDirectory()102 if (chosen_item == 0) { in BrowseDirectory()
170 size_t chosen_item = ui->ShowMenu( in yes_no() local173 return (chosen_item == 1); in yes_no()180 size_t chosen_item = ui->ShowPromptWipeDataConfirmationMenu( in ask_to_wipe_data() local184 return (chosen_item == 1); in ask_to_wipe_data()202 size_t chosen_item = ui->ShowPromptWipeDataMenu( in prompt_and_wipe_data() local206 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data()209 if (chosen_item != 1) { in prompt_and_wipe_data()417 size_t chosen_item = 0; in choose_recovery_file() local419 chosen_item = ui->ShowMenu( in choose_recovery_file()420 headers, entries, chosen_item, true, in choose_recovery_file()[all …]
1203 int chosen_item = -1; in ShowMenu() local1204 while (chosen_item < 0) { in ShowMenu()1231 chosen_item = selected; in ShowMenu()1237 chosen_item = action; in ShowMenu()1244 return chosen_item; in ShowMenu()