Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpDataPacket.cpp54 : MtpPacket(MTP_BUFFER_SIZE), // MAX_USBFS_BUFFER_SIZE in MtpDataPacket()
445 int ret = h->read(mBuffer, MTP_BUFFER_SIZE); in read()
538 if (mPacketSize < MTP_CONTAINER_HEADER_SIZE || mPacketSize > MTP_BUFFER_SIZE) { in write()
576 MTP_BUFFER_SIZE - (MTP_BUFFER_SIZE % request->max_packet_size); in write()
DMtpFfsCompatHandle.cpp50 constexpr int USB_FFS_MAX_WRITE = MTP_BUFFER_SIZE;
51 constexpr int USB_FFS_MAX_READ = MTP_BUFFER_SIZE;
DMtpDevice.cpp779 char buffer1[MTP_BUFFER_SIZE], buffer2[MTP_BUFFER_SIZE]; in readData()
804 req->buffer_length = remaining > MTP_BUFFER_SIZE ? in readData()
805 static_cast<size_t>(MTP_BUFFER_SIZE) : remaining; in readData()
Dmtp.h41 #define MTP_BUFFER_SIZE 16384 macro
DMtpServer.cpp1267 initialData == MTP_BUFFER_SIZE - MTP_CONTAINER_HEADER_SIZE); in doSendObject()
1419 initialData == MTP_BUFFER_SIZE - MTP_CONTAINER_HEADER_SIZE); in doSendPartialObject()