Searched refs:hardware_ (Results 1 – 14 of 14) sorted by relevance
38 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()
60 std::unique_ptr<HardwareInterface> hardware_; variable
68 HardwareInterface* hardware_,250 HardwareInterface* hardware_; variable
86 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidTest89 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr};
169 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()
108 hardware_.SetIsOfficialBuild(false); in SetUp()358 FakeHardware hardware_; member in chromeos_update_engine::UpdateAttempterAndroidIntegrationTest375 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr};
86 : 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()
134 HardwareInterface* hardware_; variable
78 hardware_(hardware), in prefs_()333 HardwareInterface* hardware_; variable
1051 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()
47 hardware_(hardware), in DownloadAction()132 hardware_, in StartDownloading()155 hardware_, in StartDownloading()
97 : 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()
239 HardwareInterface* hardware_; variable
127 HardwareInterface* hardware_; variable