Searched refs:p2p_manager (Results 1 – 7 of 7) sorted by relevance
75 FilePath path = system_state_->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd()88 P2PManager* p2p_manager = system_state_->p2p_manager(); in SetupP2PSharingFd() local90 if (!p2p_manager->FileShare(p2p_file_id_, payload_->size)) { in SetupP2PSharingFd()98 FilePath path = p2p_manager->FileGetPath(p2p_file_id_); in SetupP2PSharingFd()119 p2p_manager->FileGetVisible(p2p_file_id_, &p2p_visible_); in SetupP2PSharingFd()270 FilePath path = system_state_->p2p_manager()->FileGetPath(file_id); in StartDownloading()355 system_state_->p2p_manager()->FileMakeVisible(p2p_file_id_); in ReceivedBytes()
93 inline P2PManager* p2p_manager() override { return p2p_manager_; } in p2p_manager() function157 inline void set_p2p_manager(P2PManager* p2p_manager) { in set_p2p_manager() argument158 p2p_manager_ = p2p_manager ? p2p_manager : &mock_p2p_manager_; in set_p2p_manager()
101 virtual P2PManager* p2p_manager() = 0;
118 inline P2PManager* p2p_manager() override { return p2p_manager_.get(); } in p2p_manager() function
310 system_state_->p2p_manager()->SetDevicePolicy(device_policy); in RefreshDevicePolicy()324 if (!system_state_->p2p_manager()->IsP2PEnabled()) { in CalculateP2PParams()1564 !system_state_->p2p_manager()->IsP2PEnabled()) { in StartP2PAtStartup()1569 if (system_state_->p2p_manager()->CountSharedFiles() < 1) { in StartP2PAtStartup()1582 if (!system_state_->p2p_manager()->IsP2PEnabled()) { in StartP2PAndPerformHousekeeping()1588 if (!system_state_->p2p_manager()->EnsureP2PRunning()) { in StartP2PAndPerformHousekeeping()1594 if (!system_state_->p2p_manager()->PerformHousekeeping()) { in StartP2PAndPerformHousekeeping()
275 'p2p_manager.cc',
1433 if (system_state_->p2p_manager()) { in LookupPayloadViaP2P()1436 system_state_->p2p_manager()->LookupUrlForFile( in LookupPayloadViaP2P()