Searched refs:MtpPacket (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpPacket.cpp | 31 MtpPacket::MtpPacket(int bufferSize) in MtpPacket() function in android::MtpPacket 44 MtpPacket::~MtpPacket() { in ~MtpPacket() 49 void MtpPacket::reset() { in reset() 55 void MtpPacket::allocate(size_t length) { in allocate() 67 void MtpPacket::dump() { in dump() 87 void MtpPacket::copyFrom(const MtpPacket& src) { in copyFrom() 94 uint16_t MtpPacket::getUInt16(int offset) const { in getUInt16() 98 uint32_t MtpPacket::getUInt32(int offset) const { in getUInt32() 103 void MtpPacket::putUInt16(int offset, uint16_t value) { in putUInt16() 108 void MtpPacket::putUInt32(int offset, uint32_t value) { in putUInt32() [all …]
|
D | MtpPacket.h | 30 class MtpPacket { 42 explicit MtpPacket(int bufferSize); 43 virtual ~MtpPacket(); 50 void copyFrom(const MtpPacket& src); 73 DISALLOW_COPY_AND_ASSIGN(MtpPacket);
|
D | MtpDataPacket.cpp | 54 : MtpPacket(MTP_BUFFER_SIZE), // MAX_USBFS_BUFFER_SIZE in MtpDataPacket() 63 MtpPacket::reset(); in reset() 68 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code); in setOperationCode() 72 MtpPacket::putUInt32(MTP_CONTAINER_TRANSACTION_ID_OFFSET, id); in setTransactionID() 454 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() 455 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write() 464 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, length); in writeData() 465 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeData() 480 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); in read() 543 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() [all …]
|
D | MtpDataPacket.h | 31 class MtpDataPacket : public MtpPacket { 126 …inline uint32_t getContainerLength() const { return MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_… in getContainerLength()
|
D | MtpResponsePacket.h | 27 class MtpResponsePacket : public MtpPacket {
|
D | MtpEventPacket.h | 29 class MtpEventPacket : public MtpPacket {
|
D | MtpRequestPacket.h | 28 class MtpRequestPacket : public MtpPacket {
|
D | MtpResponsePacket.cpp | 31 : MtpPacket(512) in MtpResponsePacket()
|
D | MtpRequestPacket.cpp | 31 : MtpPacket(512), in MtpRequestPacket()
|
D | MtpEventPacket.cpp | 31 : MtpPacket(512) in MtpEventPacket()
|
D | Android.bp | 30 "MtpPacket.cpp",
|