Home
last modified time | relevance | path

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

/system/update_engine/
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.cc147 EXPECT_EQ(manager_->CountSharedFiles(), 0); in TEST_F()
165 EXPECT_EQ(manager_->CountSharedFiles(), 5); in TEST_F()
185 EXPECT_EQ(manager_->CountSharedFiles(), 3); in TEST_F()
212 EXPECT_EQ(manager_->CountSharedFiles(), 0); in TEST_F()
239 EXPECT_EQ(manager_->CountSharedFiles(), 5); in TEST_F()
259 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.h161 virtual int CountSharedFiles() = 0;
Dp2p_manager.cc141 int CountSharedFiles() override;
668 int P2PManagerImpl::CountSharedFiles() { in CountSharedFiles() function in chromeos_update_engine::P2PManagerImpl
Dupdate_attempter.cc1569 if (system_state_->p2p_manager()->CountSharedFiles() < 1) { in StartP2PAtStartup()
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc645 EXPECT_EQ(p2p_manager_->CountSharedFiles(), 0); in TEST_F()
700 EXPECT_EQ(1, p2p_manager_->CountSharedFiles()); in TEST_F()
706 EXPECT_EQ(0, p2p_manager_->CountSharedFiles()); in TEST_F()