Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Ddaemon_state_android.cc38 hardware_ = hardware::CreateHardware(); in Initialize()
39 if (!hardware_) { in Initialize()
44 LOG_IF(INFO, !hardware_->IsNormalBootMode()) << "Booted in dev mode."; in Initialize()
45 LOG_IF(INFO, !hardware_->IsOfficialBuild()) << "Booted non-official build."; in Initialize()
49 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
71 hardware_.get(), in Initialize()
Ddaemon_state_android.h60 std::unique_ptr<HardwareInterface> hardware_; variable
Dupdate_attempter_android.h61 HardwareInterface* hardware_,
208 HardwareInterface* hardware_; variable
Dupdate_attempter_android_unittest.cc70 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidTest
73 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr};
Dupdate_attempter_android.cc140 hardware_(hardware), in UpdateAttempterAndroid()
225 install_plan_.hash_checks_mandatory = hardware_->IsOfficialBuild(); in ApplyPayload()
294 new LibcurlHttpFetcher(&proxy_resolver_, hardware_); in ApplyPayload()
396 hardware_->SetWarmReset(false); in ResetStatus()
399 hardware_->SetVbmetaDigestForInactiveSlot(true /* reset */); in ResetStatus()
759 hardware_, in BuildUpdateActions()
767 std::make_unique<PostinstallRunnerAction>(boot_control_, hardware_); in BuildUpdateActions()
/system/update_engine/cros/
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.cc52 hardware_ = hardware::CreateHardware(); in Initialize()
53 if (!hardware_) { in Initialize()
61 LOG_IF(INFO, !hardware_->IsNormalBootMode()) << "Booted in dev mode."; in Initialize()
62 LOG_IF(INFO, !hardware_->IsOfficialBuild()) << "Booted non-official build."; in Initialize()
86 if (!hardware_->GetNonVolatileDirectory(&non_volatile_path)) { in Initialize()
98 if (!hardware_->GetPowerwashSafeDirectory(&powerwash_safe_path)) { in Initialize()
170 if (!hardware_->IsOfficialBuild()) { in Initialize()
Dfake_system_state.h79 inline HardwareInterface* hardware() override { return hardware_; } in hardware()
137 hardware_ = hardware ? hardware : &fake_hardware_; in set_hardware()
206 CHECK(hardware_ == &fake_hardware_); in fake_hardware()
287 HardwareInterface* hardware_; variable
Dreal_system_state.h79 HardwareInterface* hardware() override { return hardware_.get(); } in hardware()
142 std::unique_ptr<HardwareInterface> hardware_; variable
Dfake_system_state.cc27 hardware_(&fake_hardware_), in FakeSystemState()
Ddownload_action_chromeos.cc51 hardware_(hardware), in DownloadActionChromeos()
243 hardware_, in StartDownloading()
265 hardware_, in StartDownloading()
Ddownload_action_chromeos.h121 HardwareInterface* hardware_; variable
/system/update_engine/update_manager/
Dreal_config_provider.h33 : hardware_(hardware) {} in RealConfigProvider()
45 chromeos_update_engine::HardwareInterface* hardware_; variable
Dreal_config_provider.cc25 "is_oobe_enabled", hardware_->IsOOBEEnabled())); in Init()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc58 : boot_control_(boot_control), hardware_(hardware) { in PostinstallRunnerAction()
93 if (hardware_->SchedulePowerwash( in PerformAction()
199 hardware_->GetPartitionMountOptions(partition.name))) { in PerformPartitionPostinstall()
377 hardware_->SetWarmReset(true); in Cleanup()
379 hardware_->SetVbmetaDigestForInactiveSlot(false); in Cleanup()
400 hardware_->CancelPowerwash(); in Cleanup()
Dpostinstall_runner_action.h130 HardwareInterface* hardware_; variable
Ddelta_performer.h77 hardware_(hardware), in DeltaPerformer()
335 HardwareInterface* hardware_; variable
Ddelta_performer.cc997 if (!hardware_->IsOfficialBuild() && !install_plan_->public_key_rsa.empty()) { in GetPublicKey()
1083 if (!hardware_->AllowDowngrade()) { in ValidateManifest()
1116 if (hardware_->GetVersionForLogging(partition_name).empty()) { in CheckTimestampError()
1132 hardware_->IsPartitionUpdateValid(partition_name, partition.version()); in CheckTimestampError()
1169 if (manifest_.max_timestamp() < hardware_->GetBuildTimestamp()) { in CheckTimestampError()
1171 << hardware_->GetBuildTimestamp() in CheckTimestampError()
/system/update_engine/
Ddownload_action.cc47 hardware_(hardware), in DownloadAction()
131 hardware_, in StartDownloading()
152 hardware_, in StartDownloading()
Dlibcurl_http_fetcher.cc97 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()
100 if (!hardware_->IsOfficialBuild()) in LibcurlHttpFetcher()
102 if (hardware_->IsOOBEEnabled() && !hardware_->IsOOBEComplete(nullptr)) in LibcurlHttpFetcher()
262 if (hardware_->IsOfficialBuild()) { in ResumeTransfer()
Dlibcurl_http_fetcher.h244 HardwareInterface* hardware_; variable
/system/update_engine/common/
Ddownload_action.h126 HardwareInterface* hardware_; variable