Lines Matching refs:chosen_item
170 size_t chosen_item = ui->ShowMenu(
173 return (chosen_item == 1);
180 size_t chosen_item = ui->ShowPromptWipeDataConfirmationMenu(
184 return (chosen_item == 1);
202 size_t chosen_item = ui->ShowPromptWipeDataMenu(
206 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) {
209 if (chosen_item != 1) {
417 size_t chosen_item = 0;
419 chosen_item = ui->ShowMenu(
420 headers, entries, chosen_item, true,
424 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) {
427 if (entries[chosen_item] == "Back") break;
429 ui->ShowFile(entries[chosen_item]);
494 size_t chosen_item = ui->ShowMenu(
498 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) {
504 (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT))
506 : device->InvokeMenuItem(chosen_item);