Home
last modified time | relevance | path

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

/system/update_engine/
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.cc116 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()
Dfake_p2p_manager.h39 bool IsP2PEnabled() override { return is_p2p_enabled_; } in IsP2PEnabled() function
Dp2p_manager.h71 virtual bool IsP2PEnabled() = 0;
Dp2p_manager.cc126 bool IsP2PEnabled() override;
233 bool P2PManagerImpl::IsP2PEnabled() { in IsP2PEnabled() function in chromeos_update_engine::P2PManagerImpl
Dupdate_attempter.cc338 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()