Home
last modified time | relevance | path

Searched refs:p2p_size (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/payload_consumer/
Ddownload_action.cc137 off_t p2p_size = utils::FileSize(p2p_sharing_fd_); in WriteToP2PFile() local
138 if (p2p_size < 0) { in WriteToP2PFile()
143 if (p2p_size < file_offset) { in WriteToP2PFile()
145 << " but existing p2p file is only " << p2p_size in WriteToP2PFile()
/system/update_engine/
Dp2p_manager_unittest.cc264 off_t p2p_size = utils::FileSize(path); in CheckP2PFile() local
265 if (p2p_size < 0) { in CheckP2PFile()
271 if (p2p_size != expected_size) { in CheckP2PFile()
273 << " but size was " << p2p_size; in CheckP2PFile()