Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsHandle.h52 int doAsync(void* data, size_t len, bool read, bool zero_packet);
92 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.cpp134 int MtpFfsHandle::doAsync(void* data, size_t len, bool read, bool zero_packet) { in doAsync() argument
153 if (len % packet_size == 0 && zero_packet) { in doAsync()
443 int MtpFfsHandle::receiveFile(mtp_file_range mfr, bool zero_packet) { in receiveFile() argument
554 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()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockHandle.h72 int receiveFile(mtp_file_range mfr, bool zero_packet) { in receiveFile() argument