Home
last modified time | relevance | path

Searched refs:hardware_ (Results 1 – 20 of 20) sorted by relevance

/system/update_engine/
Ddaemon_state_android.cc37 hardware_ = hardware::CreateHardware(); in Initialize()
38 if (!hardware_) { in Initialize()
43 LOG_IF(INFO, !hardware_->IsNormalBootMode()) << "Booted in dev mode."; in Initialize()
44 LOG_IF(INFO, !hardware_->IsOfficialBuild()) << "Booted non-official build."; in Initialize()
50 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
68 this, prefs_.get(), boot_control_.get(), hardware_.get())); in Initialize()
Dreal_system_state.cc65 hardware_ = hardware::CreateHardware(); in Initialize()
66 if (!hardware_) { in Initialize()
71 LOG_IF(INFO, !hardware_->IsNormalBootMode()) << "Booted in dev mode."; in Initialize()
72 LOG_IF(INFO, !hardware_->IsOfficialBuild()) << "Booted non-official build."; in Initialize()
83 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
95 if (!hardware_->GetPowerwashSafeDirectory(&powerwash_safe_path)) { in Initialize()
Dfake_system_state.h68 inline HardwareInterface* hardware() override { return hardware_; } in hardware()
126 hardware_ = hardware ? hardware : &fake_hardware_; in set_hardware()
190 CHECK(hardware_ == &fake_hardware_); in fake_hardware()
255 HardwareInterface* hardware_; variable
Dupdate_attempter_android.h54 HardwareInterface* hardware_);
130 HardwareInterface* hardware_; variable
Dreal_system_state.h92 inline HardwareInterface* hardware() override { return hardware_.get(); } in hardware()
155 std::unique_ptr<HardwareInterface> hardware_; variable
Dupdate_attempter_android.cc87 hardware_(hardware), in UpdateAttempterAndroid()
163 install_plan_.hash_checks_mandatory = hardware_->IsOfficialBuild(); in ApplyPayload()
445 new LibcurlHttpFetcher(&proxy_resolver_, hardware_); in BuildUpdateActions()
453 hardware_, in BuildUpdateActions()
461 new PostinstallRunnerAction(boot_control_, hardware_)); in BuildUpdateActions()
Dfake_system_state.cc29 hardware_(&fake_hardware_), in FakeSystemState()
Ddaemon_state_android.h60 std::unique_ptr<HardwareInterface> hardware_; variable
Dlibcurl_http_fetcher.cc49 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()
52 if (!hardware_->IsOfficialBuild()) in LibcurlHttpFetcher()
54 if (!hardware_->IsOOBEComplete(nullptr)) in LibcurlHttpFetcher()
209 if (hardware_->IsOfficialBuild()) { in ResumeTransfer()
Dlibcurl_http_fetcher.h181 HardwareInterface* hardware_; variable
/system/update_engine/update_manager/
Dreal_system_provider.cc41 hardware_->IsNormalBootMode())); in Init()
45 hardware_->IsOfficialBuild())); in Init()
51 base::Unretained(hardware_), nullptr))); in Init()
Dreal_config_provider.h34 : hardware_(hardware) {} in RealConfigProvider()
55 chromeos_update_engine::HardwareInterface* hardware_; variable
Dreal_system_provider.h35 : hardware_(hardware), boot_control_(boot_control) {} in RealSystemProvider()
62 chromeos_update_engine::HardwareInterface* hardware_; variable
Dreal_config_provider.cc43 if (hardware_->IsNormalBootMode()) { in Init()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h42 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
128 HardwareInterface* hardware_; variable
Ddelta_performer.h84 hardware_(hardware), in DeltaPerformer()
303 HardwareInterface* hardware_; variable
Ddownload_action.cc48 hardware_(hardware), in DownloadAction()
189 prefs_, boot_control_, hardware_, delegate_, &install_plan_)); in PerformAction()
Ddownload_action.h140 HardwareInterface* hardware_; variable
Dpostinstall_runner_action.cc59 if (hardware_->SchedulePowerwash()) { in PerformAction()
336 hardware_->CancelPowerwash(); in CompletePostinstall()
Ddelta_performer.cc1343 if (hardware_->IsOfficialBuild() || in GetPublicKeyFromResponse()