Home
last modified time | relevance | path

Searched refs:mock_payload_state (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/
Dupdate_attempter_unittest.cc136 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
139 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
143 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
146 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
407 EXPECT_CALL(*fake_system_state_.mock_payload_state(), UpdateFailed(_)) in TEST_F()
412 EXPECT_CALL(*(fake_system_state_.mock_payload_state()), GetCurrentUrl()) in TEST_F()
414 fake_system_state_.mock_payload_state()->SetResponse(response); in TEST_F()
416 EXPECT_EQ(url1, fake_system_state_.mock_payload_state()->GetCurrentUrl()); in TEST_F()
425 EXPECT_CALL(*fake_system_state_.mock_payload_state(), UpdateFailed(err)); in TEST_F()
Domaha_response_handler_action_unittest.cc138 EXPECT_CALL(*(fake_system_state_.mock_payload_state()), GetCurrentUrl()) in DoTest()
453 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in TEST_F()
457 EXPECT_CALL(*fake_system_state_.mock_payload_state(), GetP2PUrl()) in TEST_F()
459 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in TEST_F()
Domaha_request_action_unittest.cc789 MockPayloadState mock_payload_state; in TEST_F() local
790 fake_system_state_.set_payload_state(&mock_payload_state); in TEST_F()
792 EXPECT_CALL(mock_payload_state, GetRollbackVersion()) in TEST_F()
2351 MockPayloadState mock_payload_state; in P2PTest() local
2352 fake_system_state_.set_payload_state(&mock_payload_state); in P2PTest()
2353 EXPECT_CALL(mock_payload_state, P2PAttemptAllowed()) in P2PTest()
2355 EXPECT_CALL(mock_payload_state, GetUsingP2PForDownloading()) in P2PTest()
2357 EXPECT_CALL(mock_payload_state, GetUsingP2PForSharing()) in P2PTest()
2359 EXPECT_CALL(mock_payload_state, SetUsingP2PForDownloading(_)) in P2PTest()
2361 EXPECT_CALL(mock_payload_state, SetUsingP2PForSharing(_)) in P2PTest()
[all …]
Dfake_system_state.h208 inline testing::NiceMock<MockPayloadState>* mock_payload_state() { in mock_payload_state() function
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc255 EXPECT_CALL(*fake_system_state.mock_payload_state(), NextPayload()) in TEST()
541 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in StartDownload()