/bootable/recovery/recovery_ui/ |
D | ui.cpp | 55 RecoveryUI::RecoveryUI() in RecoveryUI() function in RecoveryUI 84 RecoveryUI::~RecoveryUI() { in ~RecoveryUI() 92 void RecoveryUI::OnKeyDetected(int key_code) { in OnKeyDetected() 104 bool RecoveryUI::InitScreensaver() { in InitScreensaver() 143 bool RecoveryUI::Init(const std::string& /* locale */) { in Init() 144 ev_init(std::bind(&RecoveryUI::OnInputEvent, this, std::placeholders::_1, std::placeholders::_2), in Init() 147 ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init() 150 ev_iterate_touch_inputs(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init() 182 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected() 224 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent() [all …]
|
D | device.cpp | 52 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device()
|
D | screen_ui.cpp | 869 RecoveryUI::Init(locale); in Init()
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | device.h | 27 class RecoveryUI; variable 63 explicit Device(RecoveryUI* ui); 67 virtual RecoveryUI* GetUI() { in GetUI() 73 virtual void ResetUI(RecoveryUI* ui) { in ResetUI() 129 std::unique_ptr<RecoveryUI> ui_;
|
D | ui.h | 31 class RecoveryUI { 59 RecoveryUI(); 61 virtual ~RecoveryUI();
|
D | stub_ui.h | 27 class StubRecoveryUI : public RecoveryUI {
|
D | screen_ui.h | 194 class ScreenRecoveryUI : public RecoveryUI, public DrawInterface {
|
/bootable/recovery/install/ |
D | wipe_data.cpp | 39 static bool EraseVolume(const char* volume, RecoveryUI* ui, bool convert_fbe) { in EraseVolume() 43 ui->SetBackground(RecoveryUI::ERASING); in EraseVolume() 44 ui->SetProgressType(RecoveryUI::INDETERMINATE); in EraseVolume() 87 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func) { in WipeCache() 105 RecoveryUI* ui = device->GetUI(); in WipeData()
|
D | adb_install.cpp | 93 static auto AdbInstallPackageHandler(RecoveryUI* ui, int* result) { in AdbInstallPackageHandler() 185 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() 209 ui->SetProgressType(RecoveryUI::EMPTY); in ListenAndExecuteMinadbdCommands() 210 ui->SetBackground(RecoveryUI::NO_COMMAND); in ListenAndExecuteMinadbdCommands() 275 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() 343 RecoveryUI* ui = device->GetUI(); in ApplyFromAdb()
|
D | fuse_sdcard_install.cpp | 57 static std::string BrowseDirectory(const std::string& path, Device* device, RecoveryUI* ui) { in BrowseDirectory() 97 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in BrowseDirectory() 136 int ApplyFromSdcard(Device* device, RecoveryUI* ui) { in ApplyFromSdcard()
|
D | install.cpp | 330 int* max_temperature, RecoveryUI* ui) { in try_update_binary() 460 ui->SetBackground(RecoveryUI::NONE); in try_update_binary() 576 int* max_temperature, RecoveryUI* ui) { in really_install_package() 577 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in really_install_package() 580 ui->SetProgressType(RecoveryUI::DETERMINATE); in really_install_package() 596 path, std::bind(&RecoveryUI::SetProgress, ui, std::placeholders::_1)); in really_install_package() 636 int retry_count, RecoveryUI* ui) { in install_package() 717 bool verify_package(Package* package, RecoveryUI* ui) { in verify_package()
|
/bootable/recovery/ |
D | common.h | 25 class RecoveryUI; variable 29 extern RecoveryUI* ui;
|
D | recovery.cpp | 206 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in prompt_and_wipe_data() 356 ui->SetBackground(RecoveryUI::ERASING); in wipe_ab_device() 357 ui->SetProgressType(RecoveryUI::INDETERMINATE); in wipe_ab_device() 424 if (chosen_item == static_cast<size_t>(RecoveryUI::KeyError::INTERRUPTED)) { in choose_recovery_file() 437 ui->SetProgressType(RecoveryUI::INDETERMINATE); in run_graphics_test() 438 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in run_graphics_test() 441 ui->SetBackground(RecoveryUI::ERROR); in run_graphics_test() 444 ui->SetBackground(RecoveryUI::NO_COMMAND); in run_graphics_test() 447 ui->SetBackground(RecoveryUI::ERASING); in run_graphics_test() 452 ui->SetBackground(RecoveryUI::INSTALLING_UPDATE); in run_graphics_test() [all …]
|
D | recovery_main.cpp | 70 RecoveryUI* ui = nullptr; 189 static void ListenRecoverySocket(RecoveryUI* ui, std::atomic<Device::BuiltinAction>& action) { in ListenRecoverySocket() 432 ui->SetBackground(RecoveryUI::NONE); in main()
|
/bootable/recovery/fastboot/ |
D | fastboot.cpp | 40 RecoveryUI* ui = device->GetUI(); in StartFastboot() 74 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()
|
/bootable/recovery/install/include/install/ |
D | install.h | 51 int retry_count, RecoveryUI* ui); 55 bool verify_package(Package* package, RecoveryUI* ui);
|
D | fuse_sdcard_install.h | 22 int ApplyFromSdcard(Device* device, RecoveryUI* ui);
|
D | wipe_data.h | 27 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm);
|
/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()
|