Home
last modified time | relevance | path

Searched refs:CountSharedFiles (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/cros/
Dmock_p2p_manager.h66 ON_CALL(*this, CountSharedFiles()) in MockP2PManager()
68 testing::Invoke(&fake_, &FakeP2PManager::CountSharedFiles)); in MockP2PManager()
88 MOCK_METHOD0(CountSharedFiles, int());
Dp2p_manager_unittest.cc155 EXPECT_EQ(manager_->CountSharedFiles(), 0); in TEST_F()
173 EXPECT_EQ(manager_->CountSharedFiles(), 5); in TEST_F()
193 EXPECT_EQ(manager_->CountSharedFiles(), 3); in TEST_F()
220 EXPECT_EQ(manager_->CountSharedFiles(), 0); in TEST_F()
247 EXPECT_EQ(manager_->CountSharedFiles(), 5); in TEST_F()
267 EXPECT_EQ(manager_->CountSharedFiles(), 3); in TEST_F()
Dfake_p2p_manager.h74 int CountSharedFiles() override { return count_shared_files_result_; } in CountSharedFiles() function
Dp2p_manager.h160 virtual int CountSharedFiles() = 0;
Ddownload_action_chromeos_unittest.cc633 EXPECT_EQ(p2p_manager_->CountSharedFiles(), 0); in TEST_F()
688 EXPECT_EQ(1, p2p_manager_->CountSharedFiles()); in TEST_F()
694 EXPECT_EQ(0, p2p_manager_->CountSharedFiles()); in TEST_F()
Dp2p_manager.cc140 int CountSharedFiles() override;
663 int P2PManagerImpl::CountSharedFiles() { in CountSharedFiles() function in chromeos_update_engine::P2PManagerImpl
Dupdate_attempter.cc1750 if (SystemState::Get()->p2p_manager()->CountSharedFiles() < 1) { in StartP2PAtStartup()