Home
last modified time | relevance | path

Searched refs:zero_packet (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/mtp/
DMtpFfsHandle.h51 int doAsync(void* data, size_t len, bool read, bool zero_packet);
89 int receiveFile(mtp_file_range mfr, bool zero_packet) override;
DIMtpHandle.h30 virtual int receiveFile(mtp_file_range mfr, bool zero_packet) = 0;
DMtpFfsCompatHandle.h38 int receiveFile(mtp_file_range mfr, bool zero_packet) override;
DMtpFfsHandle.cpp133 int MtpFfsHandle::doAsync(void* data, size_t len, bool read, bool zero_packet) { in doAsync() argument
152 if (len % packet_size == 0 && zero_packet) { in doAsync()
438 int MtpFfsHandle::receiveFile(mtp_file_range mfr, bool zero_packet) { in receiveFile() argument
547 if ((ret % packet_size == 0 && !short_packet) || zero_packet) { in receiveFile()
DMtpFfsCompatHandle.cpp160 int MtpFfsCompatHandle::receiveFile(mtp_file_range mfr, bool zero_packet) { in receiveFile() argument
238 if (ret % packet_size == 0 || zero_packet) { in receiveFile()