Home
last modified time | relevance | path

Searched refs:file_length (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp163 uint32_t file_length = mfr.length; in receiveFile() local
182 while (file_length > 0 || write) { in receiveFile()
183 if (file_length > 0) { in receiveFile()
184 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()
189 if (file_length != MAX_MTP_FILE_SIZE && ret < static_cast<int>(length)) { in receiveFile()
218 if (file_length == MAX_MTP_FILE_SIZE) { in receiveFile()
221 file_length = 0; in receiveFile()
224 file_length -= ret; in receiveFile()
247 uint64_t file_length = mfr.length; in sendFile() local
249 file_length + sizeof(mtp_data_header)); in sendFile()
[all …]
DMtpFfsHandle.cpp441 uint32_t file_length = mfr.length; in receiveFile() local
461 while (file_length > 0 || has_write) { in receiveFile()
463 if (file_length > 0) { in receiveFile()
464 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()
486 if (file_length > 0) { in receiveFile()
519 if (file_length == MAX_MTP_FILE_SIZE) { in receiveFile()
522 file_length = 0; in receiveFile()
530 file_length -= ret; in receiveFile()
558 uint64_t file_length = mfr.length; in sendFile() local
560 file_length + sizeof(mtp_data_header)); in sendFile()
[all …]
/frameworks/base/startop/scripts/iorap/
Dcompile_handcrafted_file.py232 file_entry.file_length = rec.length
233 stats_length_total += file_entry.file_length
236 filename_stats[filename] = filename_stats.get(filename, 0) + file_entry.file_length
Danalyze_prefetch_file.py144 … FileEntry(id=entry.index_id, name=file_name, offset=entry.file_offset, length=entry.file_length)