/bootable/recovery/recovery_ui/ |
D | ui.cpp | 61 RecoveryUI::RecoveryUI() in RecoveryUI() function in RecoveryUI 93 RecoveryUI::~RecoveryUI() { in ~RecoveryUI() 101 void RecoveryUI::OnKeyDetected(int key_code) { in OnKeyDetected() 113 bool RecoveryUI::InitScreensaver() { in InitScreensaver() 161 bool RecoveryUI::Init(const std::string& /* locale */) { in Init() 162 ev_init(std::bind(&RecoveryUI::OnInputEvent, this, std::placeholders::_1, std::placeholders::_2), in Init() 165 ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init() 168 ev_iterate_touch_inputs(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init() 215 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected() 262 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent() [all …]
|
D | device.cpp | 53 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device()
|
D | screen_ui.cpp | 910 RecoveryUI::Init(locale); in Init()
|
/bootable/recovery/install/ |
D | wipe_data.cpp | 38 static bool EraseVolume(const char* volume, RecoveryUI* ui, std::string_view new_fstype) { in EraseVolume() 62 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func, in WipeCache() 75 ui->SetBackground(RecoveryUI::ERASING); in WipeCache() 76 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeCache() 84 RecoveryUI* ui = device->GetUI(); in WipeData() 86 ui->SetBackground(RecoveryUI::ERASING); in WipeData() 87 ui->SetProgressType(RecoveryUI::INDETERMINATE); in WipeData()
|
D | adb_install.cpp | 117 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in AdbInstallPackageHandler() 190 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() 214 ui->SetProgressType(RecoveryUI::EMPTY); in ListenAndExecuteMinadbdCommands() 215 ui->SetBackground(RecoveryUI::NO_COMMAND); in ListenAndExecuteMinadbdCommands() 280 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() 348 RecoveryUI* ui = device->GetUI(); in ApplyFromAdb()
|
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()
|
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() 186 std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in InstallWithFuseFromPath()
|
D | snapshot_utils.cpp | 34 RecoveryUI* ui = device->GetUI(); in FinishPendingSnapshotMerges()
|
D | install.cpp | 557 ui->SetBackground(RecoveryUI::NONE); in TryUpdateBinary() 610 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in VerifyAndInstallPackage() 612 ui->SetProgressType(RecoveryUI::DETERMINATE); in VerifyAndInstallPackage() 724 bool verify_package(Package* package, RecoveryUI* ui) { in verify_package()
|
/bootable/recovery/ |
D | recovery.cpp | 125 static void FinishRecovery(RecoveryUI* ui) { in FinishRecovery() 202 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() 270 static void run_graphics_test(RecoveryUI* ui) { in run_graphics_test() 274 ui->SetProgressType(RecoveryUI::INDETERMINATE); in run_graphics_test() 275 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); 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() 289 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in run_graphics_test() [all …]
|
D | recovery_main.cpp | 66 static RecoveryUI* ui = nullptr; 199 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket() 455 ui->SetBackground(RecoveryUI::NONE); in main()
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
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_;
|
D | ui.h | 33 class RecoveryUI { 61 RecoveryUI(); 63 virtual ~RecoveryUI();
|
D | stub_ui.h | 27 class StubRecoveryUI : public RecoveryUI {
|
D | screen_ui.h | 194 class ScreenRecoveryUI : public RecoveryUI, public DrawInterface {
|
/bootable/recovery/fastboot/ |
D | fastboot.cpp | 67 RecoveryUI* ui = device->GetUI(); in StartFastboot() 100 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in StartFastboot() 103 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::TIMED_OUT)) { in StartFastboot()
|
/bootable/recovery/install/include/install/ |
D | wipe_data.h | 27 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm,
|
D | install.h | 58 bool verify_package(Package* package, RecoveryUI* ui);
|
/bootable/recovery/tests/unit/ |
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()
|