Searched refs:chosen_item (Results 1 – 4 of 4) sorted by relevance
165 size_t chosen_item = device->GetUI()->ShowMenu( in yes_no() local168 return (chosen_item == 1); in yes_no()175 size_t chosen_item = device->GetUI()->ShowPromptWipeDataConfirmationMenu( in ask_to_wipe_data() local179 return (chosen_item == 1); in ask_to_wipe_data()197 size_t chosen_item = device->GetUI()->ShowPromptWipeDataMenu( in prompt_and_wipe_data() local201 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data()204 if (chosen_item != 1) { in prompt_and_wipe_data()254 size_t chosen_item = 0; in choose_recovery_file() local256 chosen_item = device->GetUI()->ShowMenu( in choose_recovery_file()257 headers, entries, chosen_item, true, in choose_recovery_file()[all …]
71 auto chosen_item = ui->ShowMenu( in StartFastboot() local75 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()81 return kFastbootMenuActions[chosen_item].second; in StartFastboot()
92 size_t chosen_item = 0; in BrowseDirectory() local94 chosen_item = ui->ShowMenu( in BrowseDirectory()95 headers, entries, chosen_item, true, in BrowseDirectory()99 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory()103 const std::string& item = entries[chosen_item]; in BrowseDirectory()104 if (chosen_item == 0) { in BrowseDirectory()
1238 int chosen_item = -1; in ShowMenu() local1239 while (chosen_item < 0) { in ShowMenu()1266 chosen_item = selected; in ShowMenu()1272 chosen_item = action; in ShowMenu()1279 return chosen_item; in ShowMenu()