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 | 29 class MtpPacket { 41 explicit MtpPacket(int bufferSize); 42 virtual ~MtpPacket(); 49 void copyFrom(const MtpPacket& src); 72 DISALLOW_COPY_AND_ASSIGN(MtpPacket);
|
D | MtpDataPacket.cpp | 53 : MtpPacket(MTP_BUFFER_SIZE), // MAX_USBFS_BUFFER_SIZE in MtpDataPacket() 62 MtpPacket::reset(); in reset() 67 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code); in setOperationCode() 71 MtpPacket::putUInt32(MTP_CONTAINER_TRANSACTION_ID_OFFSET, id); in setTransactionID() 453 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() 454 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write() 463 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, length); in writeData() 464 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeData() 479 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); in read() 542 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() [all …]
|
D | MtpDataPacket.h | 31 class MtpDataPacket : public MtpPacket { 125 …inline uint32_t getContainerLength() const { return MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_… in getContainerLength()
|
D | MtpResponsePacket.h | 27 class MtpResponsePacket : public MtpPacket {
|
D | MtpEventPacket.h | 27 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 | 29 "MtpPacket.cpp",
|