Home
last modified time | relevance | path

Searched refs:fake_hardware_ (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/update_manager/
Dreal_system_provider_unittest.cc58 &fake_hardware_, &fake_boot_control_, kiosk_app_proxy_mock_.get())); in SetUp()
61 new RealSystemProvider(&fake_hardware_, &fake_boot_control_, nullptr)); in SetUp()
66 chromeos_update_engine::FakeHardware fake_hardware_; member in chromeos_update_manager::UmRealSystemProviderTest
83 fake_hardware_.SetIsOOBEComplete(base::Time()); in TEST_F()
88 fake_hardware_.UnsetIsOOBEComplete(); in TEST_F()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc168 FakeHardware fake_hardware_; member in chromeos_update_engine::PostinstallRunnerActionTest
206 &fake_boot_control_, &fake_hardware_); in RunPostinstallActionWithInstallPlan()
236 PostinstallRunnerAction action(&fake_boot_control_, &fake_hardware_); in TEST_F()
275 EXPECT_FALSE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
276 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F()
296 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
297 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F()
312 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
313 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F()
328 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
[all …]
Ddelta_performer_unittest.cc440 FakeHardware fake_hardware_; member in chromeos_update_engine::DeltaPerformerTest
445 &fake_hardware_,
894 fake_hardware_.SetBuildTimestamp(2); in TEST_F()
1087 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
1098 fake_hardware_.SetIsOfficialBuild(true); in TEST_F()
1103 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
1109 fake_hardware_.SetIsOfficialBuild(true); in TEST_F()
1114 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
1120 fake_hardware_.SetIsOfficialBuild(true); in TEST_F()
1125 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
[all …]
Ddelta_performer_integration_test.cc104 FakeHardware fake_hardware_; member
786 &state->fake_hardware_, in ApplyDeltaFile()
/system/update_engine/
Dlibcurl_http_fetcher_unittest.cc41 fake_hardware_.SetIsOfficialBuild(true); in SetUp()
42 fake_hardware_.SetIsOOBEEnabled(false); in SetUp()
46 FakeHardware fake_hardware_; member in chromeos_update_engine::LibcurlHttpFetcherTest
47 MockLibcurlHttpFetcher libcurl_fetcher_{nullptr, &fake_hardware_};
Dfake_system_state.h126 hardware_ = hardware ? hardware : &fake_hardware_; in set_hardware()
195 CHECK(hardware_ == &fake_hardware_); in fake_hardware()
196 return &fake_hardware_; in fake_hardware()
244 FakeHardware fake_hardware_; variable
Dfake_system_state.cc29 hardware_(&fake_hardware_), in FakeSystemState()
/system/update_engine/common/
Dhttp_fetcher_unittest.cc218 FakeHardware* fake_hardware() { return &fake_hardware_; } in fake_hardware()
222 FakeHardware fake_hardware_; member in chromeos_update_engine::AnyHttpFetcherTest
255 new LibcurlHttpFetcher(proxy_resolver, &fake_hardware_); in NewLargeFetcher()
259 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()
298 new LibcurlHttpFetcher(proxy_resolver, &fake_hardware_)); in NewLargeFetcher()
304 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()
378 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()