Home
last modified time | relevance | path

Searched refs:IsP2PEnabled (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/cros/
Dmock_p2p_manager.h36 ON_CALL(*this, IsP2PEnabled()) in MockP2PManager()
37 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::IsP2PEnabled)); in MockP2PManager()
75 MOCK_METHOD0(IsP2PEnabled, bool());
Dp2p_manager_unittest.cc125 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()
Dfake_p2p_manager.h39 bool IsP2PEnabled() override { return is_p2p_enabled_; } in IsP2PEnabled() function
Dp2p_manager.h70 virtual bool IsP2PEnabled() = 0;
Dp2p_manager.cc126 bool IsP2PEnabled() override;
228 bool P2PManagerImpl::IsP2PEnabled() { in IsP2PEnabled() function in chromeos_update_engine::P2PManagerImpl
Dupdate_attempter.cc347 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()