Home
last modified time | relevance | path

Searched refs:EnsureP2PRunning (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/cros/
Dmock_p2p_manager.h38 ON_CALL(*this, EnsureP2PRunning()) in MockP2PManager()
40 testing::Invoke(&fake_, &FakeP2PManager::EnsureP2PRunning)); in MockP2PManager()
76 MOCK_METHOD0(EnsureP2PRunning, bool());
Dp2p_manager_unittest.cc446 EXPECT_TRUE(manager_->EnsureP2PRunning()); in TEST_F()
448 EXPECT_FALSE(manager_->EnsureP2PRunning()); in TEST_F()
451 EXPECT_TRUE(manager_->EnsureP2PRunning()); in TEST_F()
454 EXPECT_FALSE(manager_->EnsureP2PRunning()); in TEST_F()
Dfake_p2p_manager.h41 bool EnsureP2PRunning() override { return ensure_p2p_running_result_; } in EnsureP2PRunning() function
Dp2p_manager.h75 virtual bool EnsureP2PRunning() = 0;
Dp2p_manager.cc127 bool EnsureP2PRunning() override;
273 bool P2PManagerImpl::EnsureP2PRunning() { in EnsureP2PRunning() function in chromeos_update_engine::P2PManagerImpl
Dupdate_attempter_unittest.cc927 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()).Times(0); in TEST_F()
935 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()).Times(0); in TEST_F()
944 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()); in TEST_F()
Dupdate_attempter.cc1766 if (!SystemState::Get()->p2p_manager()->EnsureP2PRunning()) { in StartP2PAndPerformHousekeeping()