Searched refs:MAX_FILE_CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance
56 constexpr int MAX_FILE_CHUNK_SIZE = 3145728; variable576 mBuffer1.resize(MAX_FILE_CHUNK_SIZE); in start()577 mBuffer2.resize(MAX_FILE_CHUNK_SIZE); in start()578 posix_madvise(mBuffer1.data(), MAX_FILE_CHUNK_SIZE, in start()580 posix_madvise(mBuffer2.data(), MAX_FILE_CHUNK_SIZE, in start()676 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()820 length = std::min(static_cast<uint64_t>(MAX_FILE_CHUNK_SIZE), file_length); in sendFile()
32 constexpr int MAX_FILE_CHUNK_SIZE = 3 * 1024 * 1024; variable83 ffs_handle->mBuffer1.resize(MAX_FILE_CHUNK_SIZE); in MtpFfsHandleTest()84 ffs_handle->mBuffer2.resize(MAX_FILE_CHUNK_SIZE); in MtpFfsHandleTest()