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());
125 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()127 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()139 EXPECT_TRUE(manager_->IsP2PEnabled()); in TEST_F()141 EXPECT_FALSE(manager_->IsP2PEnabled()); in TEST_F()
39 bool IsP2PEnabled() override { return is_p2p_enabled_; } in IsP2PEnabled() function
70 virtual bool IsP2PEnabled() = 0;
126 bool IsP2PEnabled() override;228 bool P2PManagerImpl::IsP2PEnabled() { in IsP2PEnabled() function in chromeos_update_engine::P2PManagerImpl
347 if (!SystemState::Get()->p2p_manager()->IsP2PEnabled()) { in CalculateP2PParams()1745 if (!SystemState::Get()->p2p_manager()->IsP2PEnabled()) { in StartP2PAtStartup()1760 if (!SystemState::Get()->p2p_manager()->IsP2PEnabled()) { in StartP2PAndPerformHousekeeping()