Searched refs:fake_hardware_ (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/update_manager/ |
D | real_system_provider_unittest.cc | 58 &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/ |
D | postinstall_runner_action_unittest.cc | 168 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 …]
|
D | delta_performer_unittest.cc | 440 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 …]
|
D | delta_performer_integration_test.cc | 104 FakeHardware fake_hardware_; member 786 &state->fake_hardware_, in ApplyDeltaFile()
|
/system/update_engine/ |
D | libcurl_http_fetcher_unittest.cc | 41 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_};
|
D | fake_system_state.h | 126 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
|
D | fake_system_state.cc | 29 hardware_(&fake_hardware_), in FakeSystemState()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 218 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()
|