Searched refs:EnsureP2PNotRunning (Results 1 – 5 of 5) sorted by relevance
41 ON_CALL(*this, EnsureP2PNotRunning()) in MockP2PManager()43 testing::Invoke(&fake_, &FakeP2PManager::EnsureP2PNotRunning)); in MockP2PManager()77 MOCK_METHOD0(EnsureP2PNotRunning, bool());
453 EXPECT_TRUE(manager_->EnsureP2PNotRunning()); in TEST_F()455 EXPECT_FALSE(manager_->EnsureP2PNotRunning()); in TEST_F()458 EXPECT_TRUE(manager_->EnsureP2PNotRunning()); in TEST_F()461 EXPECT_FALSE(manager_->EnsureP2PNotRunning()); in TEST_F()
43 bool EnsureP2PNotRunning() override { return ensure_p2p_not_running_result_; } in EnsureP2PNotRunning() function
81 virtual bool EnsureP2PNotRunning() = 0;
129 bool EnsureP2PNotRunning() override;283 bool P2PManagerImpl::EnsureP2PNotRunning() { in EnsureP2PNotRunning() function in chromeos_update_engine::P2PManagerImpl714 if (may_be_running_ && !is_enabled_ && !EnsureP2PNotRunning()) { in OnEnabledStatusChange()