Home
last modified time | relevance | path

Searched refs:RecoveryUI (Results 1 – 19 of 19) sorted by relevance

/bootable/recovery/recovery_ui/
Dui.cpp55 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 …]
Ddevice.cpp52 Device::Device(RecoveryUI* ui) : ui_(ui) { in Device()
Dscreen_ui.cpp869 RecoveryUI::Init(locale); in Init()
/bootable/recovery/recovery_ui/include/recovery_ui/
Ddevice.h27 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_;
Dui.h31 class RecoveryUI {
59 RecoveryUI();
61 virtual ~RecoveryUI();
Dstub_ui.h27 class StubRecoveryUI : public RecoveryUI {
Dscreen_ui.h194 class ScreenRecoveryUI : public RecoveryUI, public DrawInterface {
/bootable/recovery/install/
Dwipe_data.cpp39 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()
Dadb_install.cpp93 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()
Dfuse_sdcard_install.cpp57 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()
Dinstall.cpp330 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/
Dcommon.h25 class RecoveryUI; variable
29 extern RecoveryUI* ui;
Drecovery.cpp206 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 …]
Drecovery_main.cpp70 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/
Dfastboot.cpp40 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/
Dinstall.h51 int retry_count, RecoveryUI* ui);
55 bool verify_package(Package* package, RecoveryUI* ui);
Dfuse_sdcard_install.h22 int ApplyFromSdcard(Device* device, RecoveryUI* ui);
Dwipe_data.h27 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm);
/bootable/recovery/tests/unit/
Dscreen_ui_test.cpp336 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()