Home
last modified time | relevance | path

Searched refs:hardware_ (Results 1 – 14 of 14) 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()
72 hardware_.get(), in Initialize()
Ddaemon_state_android.h60 std::unique_ptr<HardwareInterface> hardware_; variable
Dupdate_attempter_android.h68 HardwareInterface* hardware_,
250 HardwareInterface* hardware_; variable
Dupdate_attempter_android_unittest.cc86 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidTest
89 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr};
Dupdate_attempter_android.cc169 hardware_(hardware), in UpdateAttempterAndroid()
298 install_plan_.hash_checks_mandatory = hardware_->IsOfficialBuild(); in ApplyPayload()
372 LibcurlHttpFetcher* libcurl_fetcher = new LibcurlHttpFetcher(hardware_); in ApplyPayload()
906 hardware_, in BuildUpdateActions()
915 std::make_unique<PostinstallRunnerAction>(boot_control_, hardware_); in BuildUpdateActions()
1330 std::make_unique<PostinstallRunnerAction>(boot_control_, hardware_); in setShouldSwitchSlotOnReboot()
1409 hardware_->SetWarmReset(false); in resetShouldSwitchSlotOnReboot()
1412 hardware_->SetVbmetaDigestForInactiveSlot(true /* reset */); in resetShouldSwitchSlotOnReboot()
Dupdate_attempter_android_integration_test.cc108 hardware_.SetIsOfficialBuild(false); in SetUp()
358 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidIntegrationTest
375 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr};
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc86 : boot_control_(boot_control), hardware_(hardware) { in PostinstallRunnerAction()
130 if (hardware_->SchedulePowerwash( in PerformAction()
198 hardware_->GetPartitionMountOptions(partition.name))) { in MountPartition()
453 hardware_->CancelPowerwash(); in Cleanup()
473 hardware_->SetWarmReset(true); in Cleanup()
475 hardware_->SetVbmetaDigestForInactiveSlot(false); in Cleanup()
Dpostinstall_runner_action.h134 HardwareInterface* hardware_; variable
Ddelta_performer.h78 hardware_(hardware), in prefs_()
333 HardwareInterface* hardware_; variable
Ddelta_performer.cc1051 if (!hardware_->IsOfficialBuild() && !install_plan_->public_key_rsa.empty()) { in GetPublicKey()
1138 if (!hardware_->AllowDowngrade()) { in ValidateManifest()
1171 if (hardware_->GetVersionForLogging(partition_name).empty()) { in CheckTimestampError()
1187 hardware_->IsPartitionUpdateValid(partition_name, partition.version()); in CheckTimestampError()
1224 if (manifest_.max_timestamp() < hardware_->GetBuildTimestamp()) { in CheckTimestampError()
1226 << hardware_->GetBuildTimestamp() in CheckTimestampError()
/system/update_engine/
Ddownload_action.cc47 hardware_(hardware), in DownloadAction()
132 hardware_, in StartDownloading()
155 hardware_, in StartDownloading()
Dlibcurl_http_fetcher.cc97 : hardware_(hardware) { in LibcurlHttpFetcher()
100 if (!hardware_->IsOfficialBuild()) in LibcurlHttpFetcher()
102 if (hardware_->IsOOBEEnabled() && !hardware_->IsOOBEComplete(nullptr)) in LibcurlHttpFetcher()
261 if (hardware_->IsOfficialBuild()) { in ResumeTransfer()
Dlibcurl_http_fetcher.h239 HardwareInterface* hardware_; variable
/system/update_engine/common/
Ddownload_action.h127 HardwareInterface* hardware_; variable