/aosp12/bootable/recovery/recovery_ui/ |
H A D | ui.cpp | 59 RecoveryUI::RecoveryUI() in RecoveryUI() function in RecoveryUI 87 RecoveryUI::~RecoveryUI() { in ~RecoveryUI() 381 case RecoveryUI::IGNORE: in ProcessKey() 384 case RecoveryUI::TOGGLE: in ProcessKey() 388 case RecoveryUI::REBOOT: in ProcessKey() 394 case RecoveryUI::ENQUEUE: in ProcessKey() 457 int RecoveryUI::WaitKey() { in WaitKey() 505 void RecoveryUI::InterruptKey() { in InterruptKey() 535 bool RecoveryUI::IsLongPress() { in IsLongPress() 553 void RecoveryUI::FlushKeys() { in FlushKeys() [all …]
|
H A D | device.cpp | 53 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device()
|
H A D | screen_ui.cpp | 904 RecoveryUI::Init(locale); in Init()
|
/aosp12/bootable/recovery/install/ |
H A D | wipe_data.cpp | 40 static bool EraseVolume(const char* volume, RecoveryUI* ui, bool convert_fbe) { in EraseVolume() 85 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func) { in WipeCache() 97 ui->SetBackground(RecoveryUI::ERASING); in WipeCache() 98 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeCache() 106 RecoveryUI* ui = device->GetUI(); in WipeData() 108 ui->SetBackground(RecoveryUI::ERASING); in WipeData() 109 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeData()
|
H A D | adb_install.cpp | 93 static auto AdbInstallPackageHandler(RecoveryUI* ui, InstallResult* result) { in AdbInstallPackageHandler() 116 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in AdbInstallPackageHandler() 189 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() 213 ui->SetProgressType(RecoveryUI::EMPTY); in ListenAndExecuteMinadbdCommands() 214 ui->SetBackground(RecoveryUI::NO_COMMAND); in ListenAndExecuteMinadbdCommands() 279 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() 347 RecoveryUI* ui = device->GetUI(); in ApplyFromAdb()
|
H A D | fuse_install.cpp | 58 static std::string BrowseDirectory(const std::string& path, Device* device, RecoveryUI* ui) { in BrowseDirectory() 99 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory() 149 InstallResult InstallWithFuseFromPath(std::string_view path, RecoveryUI* ui) { in InstallWithFuseFromPath() 185 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in InstallWithFuseFromPath()
|
H A D | wipe_device.cpp | 154 static bool CheckWipePackage(Package* wipe_package, RecoveryUI* ui) { in CheckWipePackage() 177 ui->SetBackground(RecoveryUI::ERASING); in WipeAbDevice() 178 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeAbDevice()
|
H A D | install.cpp | 338 int* max_temperature, RecoveryUI* ui) { in TryUpdateBinary() 491 ui->SetBackground(RecoveryUI::NONE); in TryUpdateBinary() 539 int* max_temperature, RecoveryUI* ui) { in VerifyAndInstallPackage() 540 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in VerifyAndInstallPackage() 542 ui->SetProgressType(RecoveryUI::DETERMINATE); in VerifyAndInstallPackage() 565 bool should_wipe_cache, int retry_count, RecoveryUI* ui) { in InstallPackage() 652 bool verify_package(Package* package, RecoveryUI* ui) { in verify_package()
|
H A D | snapshot_utils.cpp | 34 RecoveryUI* ui = device->GetUI(); in FinishPendingSnapshotMerges()
|
/aosp12/bootable/recovery/ |
H A D | recovery.cpp | 129 static void FinishRecovery(RecoveryUI* ui) { in FinishRecovery() 270 static void run_graphics_test(RecoveryUI* ui) { in run_graphics_test() 278 ui->SetBackground(RecoveryUI::ERROR); in run_graphics_test() 281 ui->SetBackground(RecoveryUI::NO_COMMAND); in run_graphics_test() 284 ui->SetBackground(RecoveryUI::ERASING); in run_graphics_test() 301 ui->SetProgressType(RecoveryUI::DETERMINATE); in run_graphics_test() 376 ui->SetBackground(RecoveryUI::ERROR); in PromptAndWait() 385 ui->SetProgressType(RecoveryUI::EMPTY); in PromptAndWait() 806 ui->SetBackground(RecoveryUI::ERROR); in start_recovery() 847 ui->SetBackground(RecoveryUI::NO_COMMAND); in start_recovery() [all …]
|
H A D | recovery_main.cpp | 66 static RecoveryUI* ui = nullptr; 195 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket() 451 ui->SetBackground(RecoveryUI::NONE); in main()
|
/aosp12/bootable/recovery/recovery_ui/include/recovery_ui/ |
H A D | device.h | 28 class RecoveryUI; variable 68 explicit Device(RecoveryUI* ui); 72 virtual RecoveryUI* GetUI() { in GetUI() 78 virtual void ResetUI(RecoveryUI* ui) { in ResetUI() 152 std::unique_ptr<RecoveryUI> ui_;
|
H A D | ui.h | 33 class RecoveryUI { 61 RecoveryUI(); 63 virtual ~RecoveryUI();
|
H A D | stub_ui.h | 27 class StubRecoveryUI : public RecoveryUI {
|
H A D | screen_ui.h | 194 class ScreenRecoveryUI : public RecoveryUI, public DrawInterface {
|
/aosp12/bootable/recovery/fastboot/ |
H A D | fastboot.cpp | 40 RecoveryUI* ui = device->GetUI(); in StartFastboot() 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()
|
/aosp12/hardware/google/pixel/recovery/ |
H A D | recovery_ui.cpp | 69 bool WipeKeysHook(::RecoveryUI *const ui) { in WipeKeysHook() 70 bool *(*WipeKeysFunc)(::RecoveryUI *const); in WipeKeysHook() 115 ::RecoveryUI* const ui = GetUI(); in PostWipeData()
|
/aosp12/bootable/recovery/install/include/install/ |
H A D | install.h | 52 bool should_wipe_cache, int retry_count, RecoveryUI* ui); 56 bool verify_package(Package* package, RecoveryUI* ui);
|
H A D | fuse_install.h | 28 InstallResult InstallWithFuseFromPath(std::string_view path, RecoveryUI* ui);
|
H A D | wipe_data.h | 27 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm);
|
/aosp12/bootable/recovery/tests/unit/ |
H A D | screen_ui_test.cpp | 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()
|