Searched refs:fake_hardware_ (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 178 FakeHardware fake_hardware_; member in chromeos_update_engine::PostinstallRunnerActionTest 217 &fake_boot_control_, &fake_hardware_); in RunPostinstallActionWithInstallPlan() 250 PostinstallRunnerAction action(&fake_boot_control_, &fake_hardware_); in TEST_F() 289 EXPECT_FALSE(fake_hardware_.IsPowerwashScheduled()); in TEST_F() 290 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F() 310 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F() 311 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F() 326 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F() 327 EXPECT_FALSE(fake_hardware_.GetIsRollbackPowerwashScheduled()); in TEST_F() 342 EXPECT_TRUE(fake_hardware_.IsPowerwashScheduled()); in TEST_F() [all …]
|
D | delta_performer_integration_test.cc | 111 FakeHardware fake_hardware_; member 145 &fake_hardware_, in RunManifestValidation() 168 FakeHardware fake_hardware_; member in chromeos_update_engine::DeltaPerformerIntegrationTest 805 &state->fake_hardware_, in ApplyDeltaFile() 1131 fake_hardware_.SetVersion("system", "5"); in TEST_F() 1132 fake_hardware_.SetVersion("product", "99"); in TEST_F() 1133 fake_hardware_.SetBuildTimestamp(1); in TEST_F() 1148 fake_hardware_.SetVersion("system", "5"); in TEST_F() 1149 fake_hardware_.SetVersion("product", "99"); in TEST_F() 1150 fake_hardware_.SetBuildTimestamp(1); in TEST_F() [all …]
|
D | delta_performer_unittest.cc | 439 FakeHardware fake_hardware_; member in chromeos_update_engine::DeltaPerformerTest 444 &fake_hardware_, 804 fake_hardware_.SetBuildTimestamp(2); in TEST_F() 818 fake_hardware_.SetBuildTimestamp(1); in TEST_F() 822 fake_hardware_.SetVersion("system", "5"); in TEST_F() 1015 fake_hardware_.SetIsOfficialBuild(false); in TEST_F() 1026 fake_hardware_.SetIsOfficialBuild(true); in TEST_F() 1031 fake_hardware_.SetIsOfficialBuild(false); in TEST_F() 1037 fake_hardware_.SetIsOfficialBuild(true); in TEST_F() 1042 fake_hardware_.SetIsOfficialBuild(false); in TEST_F() [all …]
|
/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_};
|
/system/update_engine/cros/ |
D | fake_system_state.h | 137 hardware_ = hardware ? hardware : &fake_hardware_; in set_hardware() 206 CHECK(hardware_ == &fake_hardware_); in fake_hardware() 207 return &fake_hardware_; in fake_hardware() 268 FakeHardware fake_hardware_; variable
|
D | fake_system_state.cc | 27 hardware_(&fake_hardware_), in FakeSystemState()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 227 FakeHardware* fake_hardware() { return &fake_hardware_; } in fake_hardware() 231 FakeHardware fake_hardware_; member in chromeos_update_engine::AnyHttpFetcherTest 264 new LibcurlHttpFetcher(proxy_resolver, &fake_hardware_); in NewLargeFetcher() 268 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher() 307 new LibcurlHttpFetcher(proxy_resolver, &fake_hardware_)); in NewLargeFetcher() 313 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher() 387 fake_hardware_.SetIsOfficialBuild(false); in NewLargeFetcher()
|