Searched refs:fake_system_state (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/ |
D | payload_state_unittest.cc | 113 FakeSystemState fake_system_state; in TEST() local 114 NiceMock<MockPrefs>* prefs = fake_system_state.mock_prefs(); in TEST() 136 EXPECT_TRUE(payload_state.Initialize(&fake_system_state)); in TEST() 156 FakeSystemState fake_system_state; in TEST() local 157 NiceMock<MockPrefs>* prefs = fake_system_state.mock_prefs(); in TEST() 179 EXPECT_TRUE(payload_state.Initialize(&fake_system_state)); in TEST() 208 FakeSystemState fake_system_state; in TEST() local 209 NiceMock<MockPrefs>* prefs = fake_system_state.mock_prefs(); in TEST() 228 EXPECT_TRUE(payload_state.Initialize(&fake_system_state)); in TEST() 252 FakeSystemState fake_system_state; in TEST() local [all …]
|
D | metrics_utils_unittest.cc | 78 FakeSystemState fake_system_state; in TEST() local 84 fake_system_state.set_clock(&fake_clock); in TEST() 85 fake_system_state.set_prefs(&fake_prefs); in TEST() 92 &fake_system_state, state_variable_key, &duration)); in TEST() 96 &fake_system_state, state_variable_key, &duration)); in TEST() 102 &fake_system_state, state_variable_key, &duration)); in TEST() 105 &fake_system_state, state_variable_key, &duration)); in TEST() 112 &fake_system_state, state_variable_key, &duration)); in TEST() 115 &fake_system_state, state_variable_key, &duration)); in TEST() 121 &fake_system_state, state_variable_key, &duration)); in TEST() [all …]
|
D | metrics_reporter_omaha_unittest.cc | 61 FakeSystemState fake_system_state; in TEST_F() local 66 fake_system_state.set_clock(&fake_clock); in TEST_F() 67 fake_system_state.set_prefs(&fake_prefs); in TEST_F() 108 &fake_system_state, result, reaction, error_code); in TEST_F() 115 &fake_system_state, result, reaction, error_code); in TEST_F() 119 FakeSystemState fake_system_state; in TEST_F() local 121 OmahaRequestParams params(&fake_system_state); in TEST_F() 124 fake_system_state.set_request_params(¶ms); in TEST_F() 142 &fake_system_state, result, reaction, error_code); in TEST_F() 146 FakeSystemState fake_system_state; in TEST_F() local [all …]
|
D | omaha_request_action_fuzzer.cc | 34 chromeos_update_engine::FakeSystemState fake_system_state; in LLVMFuzzerTestOneInput() local 37 &fake_system_state, in LLVMFuzzerTestOneInput()
|
D | update_attempter_unittest.cc | 657 FakeSystemState fake_system_state; in TEST_F() local 659 &fake_system_state, nullptr, nullptr, false, ""); in TEST_F() 672 fake_system_state.fake_boot_control(), fake_system_state.fake_hardware()); in TEST_F()
|
D | BUILD.gn | 389 "fake_system_state.cc",
|
/system/update_engine/payload_consumer/ |
D | download_action_unittest.cc | 134 FakeSystemState fake_system_state; in TestWithData() local 154 fake_system_state.fake_boot_control()->SetSlotBootable( in TestWithData() 156 fake_system_state.fake_boot_control()->SetSlotBootable( in TestWithData() 166 fake_system_state.boot_control(), in TestWithData() 167 fake_system_state.hardware(), in TestWithData() 168 &fake_system_state, in TestWithData() 199 EXPECT_TRUE(fake_system_state.fake_boot_control()->IsSlotBootable( in TestWithData() 201 EXPECT_FALSE(fake_system_state.fake_boot_control()->IsSlotBootable( in TestWithData() 256 FakeSystemState fake_system_state; in TEST() local 257 EXPECT_CALL(*fake_system_state.mock_payload_state(), NextPayload()) in TEST() [all …]
|