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;
127 bool IsP2PEnabled() override;234 bool P2PManagerImpl::IsP2PEnabled() { in IsP2PEnabled() function in chromeos_update_engine::P2PManagerImpl
324 if (!system_state_->p2p_manager()->IsP2PEnabled()) { in CalculateP2PParams()1564 !system_state_->p2p_manager()->IsP2PEnabled()) { in StartP2PAtStartup()1582 if (!system_state_->p2p_manager()->IsP2PEnabled()) { in StartP2PAndPerformHousekeeping()