Home
last modified time | relevance | path

Searched refs:fake_hardware_ (Results 1 – 7 of 7) 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.cc158 FakeHardware fake_hardware_; member in chromeos_update_engine::PostinstallRunnerActionTest
189 &fake_boot_control_, &fake_hardware_); in RunPostinstallAction()
219 PostinstallRunnerAction action(&fake_boot_control_, &fake_hardware_); in TEST_F()
257 EXPECT_FALSE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
258 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F()
277 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
278 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F()
292 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
293 EXPECT_TRUE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F()
304 EXPECT_FALSE(fake_hardware_.IsPowerwashScheduled()); in TEST_F()
[all …]
Ddelta_performer_unittest.cc431 FakeHardware fake_hardware_; member in chromeos_update_engine::DeltaPerformerTest
436 &fake_hardware_,
888 fake_hardware_.SetBuildTimestamp(2); in TEST_F()
1006 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
1017 fake_hardware_.SetIsOfficialBuild(true); in TEST_F()
1022 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
1028 fake_hardware_.SetIsOfficialBuild(true); in TEST_F()
1033 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
1039 fake_hardware_.SetIsOfficialBuild(true); in TEST_F()
1044 fake_hardware_.SetIsOfficialBuild(false); in TEST_F()
[all …]
Ddelta_performer_integration_test.cc99 FakeHardware fake_hardware_; member
726 &state->fake_hardware_, in ApplyDeltaFile()
/system/update_engine/
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.cc217 FakeHardware* fake_hardware() { return &fake_hardware_; } in fake_hardware()
221 FakeHardware fake_hardware_; member in chromeos_update_engine::AnyHttpFetcherTest
254 new LibcurlHttpFetcher(proxy_resolver, &fake_hardware_); in NewLargeFetcher()
258 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()
297 new LibcurlHttpFetcher(proxy_resolver, &fake_hardware_)); in NewLargeFetcher()
303 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()
377 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()