Searched refs:EnsureP2PRunning (Results 1 – 7 of 7) sorted by relevance
38 ON_CALL(*this, EnsureP2PRunning()) in MockP2PManager()40 testing::Invoke(&fake_, &FakeP2PManager::EnsureP2PRunning)); in MockP2PManager()76 MOCK_METHOD0(EnsureP2PRunning, bool());
438 EXPECT_TRUE(manager_->EnsureP2PRunning()); in TEST_F()440 EXPECT_FALSE(manager_->EnsureP2PRunning()); in TEST_F()443 EXPECT_TRUE(manager_->EnsureP2PRunning()); in TEST_F()446 EXPECT_FALSE(manager_->EnsureP2PRunning()); in TEST_F()
41 bool EnsureP2PRunning() override { return ensure_p2p_running_result_; } in EnsureP2PRunning() function
76 virtual bool EnsureP2PRunning() = 0;
127 bool EnsureP2PRunning() override;278 bool P2PManagerImpl::EnsureP2PRunning() { in EnsureP2PRunning() function in chromeos_update_engine::P2PManagerImpl
964 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()).Times(0); in TEST_F()972 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()).Times(0); in TEST_F()981 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()); in TEST_F()
1798 if (!system_state_->p2p_manager()->EnsureP2PRunning()) { in StartP2PAndPerformHousekeeping()