Searched refs:p2p_manager_ (Results 1 – 5 of 5) sorted by relevance
538 p2p_manager_.reset(P2PManager::Construct(test_conf, in SetupDownload()544 fake_system_state_.set_p2p_manager(p2p_manager_.get()); in SetupDownload()603 unique_ptr<P2PManager> p2p_manager_; member in chromeos_update_engine::P2PDownloadActionTest629 p2p_manager_->FileGetSize(file_id)); in TEST_F()631 p2p_manager_->FileGetExpectedSize(file_id)); in TEST_F()634 ReadFileToString(p2p_manager_->FileGetPath(file_id), &p2p_file_contents)); in TEST_F()645 EXPECT_EQ(p2p_manager_->CountSharedFiles(), 0); in TEST_F()655 ASSERT_TRUE(p2p_manager_->FileShare(file_id, data_.length())); in TEST_F()661 p2p_manager_->FileGetPath(file_id), existing_data.c_str(), 1000), in TEST_F()670 p2p_manager_->FileGetSize(file_id)); in TEST_F()[all …]
93 inline P2PManager* p2p_manager() override { return p2p_manager_; } in p2p_manager()158 p2p_manager_ = p2p_manager ? p2p_manager : &mock_p2p_manager_; in set_p2p_manager()230 CHECK(p2p_manager_ == &mock_p2p_manager_); in mock_p2p_manager()267 P2PManager* p2p_manager_; variable
118 inline P2PManager* p2p_manager() override { return p2p_manager_.get(); } in p2p_manager()186 std::unique_ptr<P2PManager> p2p_manager_; variable
36 p2p_manager_(&mock_p2p_manager_), in FakeSystemState()
177 p2p_manager_.reset( in Initialize()