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()
50 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.cc63 hardware_ = hardware::CreateHardware(); in Initialize()
64 if (!hardware_) { in Initialize()
74 LOG_IF(INFO, !hardware_->IsNormalBootMode()) << "Booted in dev mode."; in Initialize()
75 LOG_IF(INFO, !hardware_->IsOfficialBuild()) << "Booted non-official build."; in Initialize()
93 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
105 if (!hardware_->GetPowerwashSafeDirectory(&powerwash_safe_path)) { in Initialize()
Dfake_system_state.h68 inline HardwareInterface* hardware() override { return hardware_; } in hardware()
124 hardware_ = hardware ? hardware : &fake_hardware_; in set_hardware()
189 CHECK(hardware_ == &fake_hardware_); in fake_hardware()
254 HardwareInterface* hardware_; variable
Dreal_system_state.h93 inline HardwareInterface* hardware() override { return hardware_.get(); } in hardware()
152 std::unique_ptr<HardwareInterface> hardware_; variable
Dupdate_attempter_android.h56 HardwareInterface* hardware_);
167 HardwareInterface* hardware_; variable
Dfake_system_state.cc29 hardware_(&fake_hardware_), in FakeSystemState()
Ddaemon_state_android.h60 std::unique_ptr<HardwareInterface> hardware_; variable
Dlibcurl_http_fetcher.cc100 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()
103 if (!hardware_->IsOfficialBuild()) in LibcurlHttpFetcher()
105 if (hardware_->IsOOBEEnabled() && !hardware_->IsOOBEComplete(nullptr)) in LibcurlHttpFetcher()
268 if (hardware_->IsOfficialBuild()) { in ResumeTransfer()
Dupdate_attempter_android_unittest.cc61 &daemon_state_, &prefs_, &boot_control_, &hardware_};
66 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidTest
Dupdate_attempter_android.cc107 hardware_(hardware), in UpdateAttempterAndroid()
195 install_plan_.hash_checks_mandatory = hardware_->IsOfficialBuild(); in ApplyPayload()
632 new LibcurlHttpFetcher(&proxy_resolver_, hardware_); in BuildUpdateActions()
640 hardware_, in BuildUpdateActions()
648 new PostinstallRunnerAction(boot_control_, hardware_)); in BuildUpdateActions()
Dlibcurl_http_fetcher.h185 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.cc100 hardware_->IsNormalBootMode())); in Init()
104 hardware_->IsOfficialBuild())); in Init()
110 base::Unretained(hardware_), nullptr))); in Init()
Dreal_system_provider.h42 : hardware_(hardware), in RealSystemProvider()
83 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.h42 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
128 HardwareInterface* hardware_; variable
Ddelta_performer.h76 hardware_(hardware), in DeltaPerformer()
270 HardwareInterface* hardware_; variable
Ddownload_action.h150 HardwareInterface* hardware_; variable
Dpostinstall_runner_action.cc61 if (hardware_->SchedulePowerwash()) { in PerformAction()
358 hardware_->CancelPowerwash(); in CompletePostinstall()
Ddownload_action.cc50 hardware_(hardware), in DownloadAction()
250 hardware_, in StartDownloading()
Ddelta_performer.cc1377 if (hardware_->IsOfficialBuild() || in GetPublicKeyFromResponse()
1451 if (manifest_.max_timestamp() < hardware_->GetBuildTimestamp()) { in ValidateManifest()
1453 << hardware_->GetBuildTimestamp() in ValidateManifest()