Searched refs:IsP2PEnabled (Results 1 – 6 of 6) sorted by relevance
36 ON_CALL(*this, IsP2PEnabled()) in MockP2PManager()37 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::IsP2PEnabled)); in MockP2PManager()75 MOCK_METHOD0(IsP2PEnabled, bool());
116 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()118 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()130 EXPECT_TRUE(manager_->IsP2PEnabled()); in TEST_F()132 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()
39 bool IsP2PEnabled() override { return is_p2p_enabled_; } in IsP2PEnabled() function
71 virtual bool IsP2PEnabled() = 0;
126 bool IsP2PEnabled() override;233 bool P2PManagerImpl::IsP2PEnabled() { in IsP2PEnabled() function in chromeos_update_engine::P2PManagerImpl
338 if (!system_state_->p2p_manager()->IsP2PEnabled()) { in CalculateP2PParams()1774 !system_state_->p2p_manager()->IsP2PEnabled()) { in StartP2PAtStartup()1792 if (!system_state_->p2p_manager()->IsP2PEnabled()) { in StartP2PAndPerformHousekeeping()