Home
last modified time | relevance | path

Searched refs:p2p_file_id_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_consumer/
Ddownload_action.cc75 FilePath path = system_state_->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd()
84 p2p_file_id_.clear(); in CloseP2PSharingFd()
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()
262 p2p_file_id_ = file_id; in StartDownloading()
263 LOG(INFO) << "p2p file id: " << p2p_file_id_; in StartDownloading()
324 if (!p2p_file_id_.empty()) { in ReceivedBytes()
341 if (!p2p_file_id_.empty()) in ReceivedBytes()
355 system_state_->p2p_manager()->FileMakeVisible(p2p_file_id_); in ReceivedBytes()
[all …]
Ddownload_action.h113 std::string p2p_file_id() { return p2p_file_id_; } in p2p_file_id()
178 std::string p2p_file_id_; variable
Ddownload_action_unittest.cc92 p2p_file_id_ = static_cast<DownloadAction*>(action)->p2p_file_id(); in ActionCompleted()
102 string p2p_file_id_; member in chromeos_update_engine::__anond321a0ef0111::DownloadActionTestProcessorDelegate
626 string file_id = delegate_.p2p_file_id_; in TEST_F()
644 EXPECT_EQ(delegate_.p2p_file_id_, ""); in TEST_F()
668 EXPECT_EQ(delegate_.p2p_file_id_, file_id); in TEST_F()