Home
last modified time | relevance | path

Searched refs:hardware_ (Results 1 – 22 of 22) 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()
48 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
68 this, prefs_.get(), boot_control_.get(), hardware_.get())); in Initialize()
Dhardware_chromeos_unittest.cc55 hardware_.LoadConfig(root_dir_.GetPath().value(), normal_mode); in CallLoadConfig()
58 HardwareChromeOS hardware_; member in chromeos_update_engine::HardwareChromeOSTest
64 EXPECT_TRUE(hardware_.IsOOBEEnabled()); in TEST_F()
71 EXPECT_TRUE(hardware_.IsOOBEEnabled()); in TEST_F()
80 EXPECT_FALSE(hardware_.IsOOBEEnabled()); in TEST_F()
87 EXPECT_FALSE(hardware_.IsOOBEEnabled()); in TEST_F()
Dreal_system_state.cc64 hardware_ = hardware::CreateHardware(); in Initialize()
65 if (!hardware_) { in Initialize()
75 LOG_IF(INFO, !hardware_->IsNormalBootMode()) << "Booted in dev mode."; in Initialize()
76 LOG_IF(INFO, !hardware_->IsOfficialBuild()) << "Booted non-official build."; in Initialize()
100 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
112 if (!hardware_->GetPowerwashSafeDirectory(&powerwash_safe_path)) { in Initialize()
192 if (!hardware_->IsOfficialBuild()) { in Initialize()
Dfake_system_state.h68 inline HardwareInterface* hardware() override { return hardware_; } in hardware()
126 hardware_ = hardware ? hardware : &fake_hardware_; in set_hardware()
195 CHECK(hardware_ == &fake_hardware_); in fake_hardware()
260 HardwareInterface* hardware_; variable
Dreal_system_state.h94 inline HardwareInterface* hardware() override { return hardware_.get(); } in hardware()
161 std::unique_ptr<HardwareInterface> hardware_; variable
Dfake_system_state.cc29 hardware_(&fake_hardware_), in FakeSystemState()
Ddaemon_state_android.h60 std::unique_ptr<HardwareInterface> hardware_; variable
Dupdate_attempter_android.h60 HardwareInterface* hardware_);
206 HardwareInterface* hardware_; variable
Dlibcurl_http_fetcher.cc98 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()
101 if (!hardware_->IsOfficialBuild()) in LibcurlHttpFetcher()
103 if (hardware_->IsOOBEEnabled() && !hardware_->IsOOBEComplete(nullptr)) in LibcurlHttpFetcher()
263 if (hardware_->IsOfficialBuild()) { in ResumeTransfer()
Dupdate_attempter_android_unittest.cc67 &daemon_state_, &prefs_, &boot_control_, &hardware_};
72 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidTest
Dupdate_attempter_android.cc140 hardware_(hardware), in UpdateAttempterAndroid()
223 install_plan_.hash_checks_mandatory = hardware_->IsOfficialBuild(); in ApplyPayload()
292 new LibcurlHttpFetcher(&proxy_resolver_, hardware_); in ApplyPayload()
375 hardware_->SetWarmReset(false); in ResetStatus()
735 hardware_, in BuildUpdateActions()
744 std::make_unique<PostinstallRunnerAction>(boot_control_, hardware_); in BuildUpdateActions()
Dlibcurl_http_fetcher.h244 HardwareInterface* hardware_; variable
/system/update_engine/update_manager/
Dreal_config_provider.h33 : hardware_(hardware) {} in RealConfigProvider()
45 chromeos_update_engine::HardwareInterface* hardware_; variable
Dreal_system_provider.cc99 "is_normal_boot_mode", hardware_->IsNormalBootMode())); in Init()
102 "is_official_build", hardware_->IsOfficialBuild())); in Init()
107 base::Unretained(hardware_), in Init()
Dreal_system_provider.h42 : hardware_(hardware), in RealSystemProvider()
85 chromeos_update_engine::HardwareInterface* const hardware_; variable
Dreal_config_provider.cc25 "is_oobe_enabled", hardware_->IsOOBEEnabled())); in Init()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h44 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
127 HardwareInterface* hardware_; variable
Dpostinstall_runner_action.cc68 if (hardware_->SchedulePowerwash(save_rollback_data)) { in PerformAction()
350 hardware_->SetWarmReset(true); in CompletePostinstall()
366 hardware_->CancelPowerwash(); in CompletePostinstall()
Ddelta_performer.h77 hardware_(hardware), in DeltaPerformer()
318 HardwareInterface* hardware_; variable
Ddownload_action.cc50 hardware_(hardware), in DownloadAction()
242 hardware_, in StartDownloading()
264 hardware_, in StartDownloading()
Ddownload_action.h147 HardwareInterface* hardware_; variable
Ddelta_performer.cc1541 if (!hardware_->IsOfficialBuild() && !install_plan_->public_key_rsa.empty()) { in GetPublicKey()
1632 if (manifest_.max_timestamp() < hardware_->GetBuildTimestamp()) { in ValidateManifest()
1634 << hardware_->GetBuildTimestamp() in ValidateManifest()
1637 if (!hardware_->AllowDowngrade()) { in ValidateManifest()