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());
446 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()
41 bool EnsureP2PRunning() override { return ensure_p2p_running_result_; } in EnsureP2PRunning() function
75 virtual bool EnsureP2PRunning() = 0;
127 bool EnsureP2PRunning() override;273 bool P2PManagerImpl::EnsureP2PRunning() { in EnsureP2PRunning() function in chromeos_update_engine::P2PManagerImpl
927 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()
1766 if (!SystemState::Get()->p2p_manager()->EnsureP2PRunning()) { in StartP2PAndPerformHousekeeping()