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.cc149 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
152 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
156 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
159 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp()
348 EXPECT_CALL(*fake_system_state_.mock_payload_state(), UpdateFailed(_)) in TEST_F()
354 EXPECT_CALL(*(fake_system_state_.mock_payload_state()), GetCurrentUrl()) in TEST_F()
356 fake_system_state_.mock_payload_state()->SetResponse(response); in TEST_F()
358 EXPECT_EQ(url1, fake_system_state_.mock_payload_state()->GetCurrentUrl()); in TEST_F()
367 EXPECT_CALL(*fake_system_state_.mock_payload_state(), UpdateFailed(err)); in TEST_F()
Domaha_response_handler_action_unittest.cc115 EXPECT_CALL(*(fake_system_state_.mock_payload_state()), GetCurrentUrl()) in DoTest()
420 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in TEST_F()
424 EXPECT_CALL(*fake_system_state_.mock_payload_state(), GetP2PUrl()) in TEST_F()
426 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in TEST_F()
Domaha_request_action_unittest.cc501 MockPayloadState mock_payload_state; in TEST_F() local
502 fake_system_state_.set_payload_state(&mock_payload_state); in TEST_F()
504 EXPECT_CALL(mock_payload_state, GetRollbackVersion()) in TEST_F()
1945 MockPayloadState mock_payload_state; in P2PTest() local
1946 fake_system_state_.set_payload_state(&mock_payload_state); in P2PTest()
1947 EXPECT_CALL(mock_payload_state, P2PAttemptAllowed()) in P2PTest()
1949 EXPECT_CALL(mock_payload_state, GetUsingP2PForDownloading()) in P2PTest()
1951 EXPECT_CALL(mock_payload_state, GetUsingP2PForSharing()) in P2PTest()
1953 EXPECT_CALL(mock_payload_state, SetUsingP2PForDownloading(_)) in P2PTest()
1955 EXPECT_CALL(mock_payload_state, SetUsingP2PForSharing(_)) in P2PTest()
[all …]
Dfake_system_state.h209 inline testing::NiceMock<MockPayloadState>* mock_payload_state() { in mock_payload_state() function
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc446 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in StartDownload()