Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Ddownload_action.cc75 FilePath path = system_state_->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd()
88 P2PManager* p2p_manager = system_state_->p2p_manager(); in SetupP2PSharingFd() local
90 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()
/system/update_engine/
Dfake_system_state.h93 inline P2PManager* p2p_manager() override { return p2p_manager_; } in p2p_manager() function
157 inline void set_p2p_manager(P2PManager* p2p_manager) { in set_p2p_manager() argument
158 p2p_manager_ = p2p_manager ? p2p_manager : &mock_p2p_manager_; in set_p2p_manager()
Dsystem_state.h101 virtual P2PManager* p2p_manager() = 0;
Dreal_system_state.h118 inline P2PManager* p2p_manager() override { return p2p_manager_.get(); } in p2p_manager() function
Dupdate_attempter.cc310 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()
Dupdate_engine.gyp275 'p2p_manager.cc',
Domaha_request_action.cc1433 if (system_state_->p2p_manager()) { in LookupPayloadViaP2P()
1436 system_state_->p2p_manager()->LookupUrlForFile( in LookupPayloadViaP2P()