Home
last modified time | relevance | path

Searched refs:MtpPacket (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/mtp/
DMtpPacket.cpp31 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 …]
DMtpPacket.h29 class MtpPacket {
41 explicit MtpPacket(int bufferSize);
42 virtual ~MtpPacket();
49 void copyFrom(const MtpPacket& src);
72 DISALLOW_COPY_AND_ASSIGN(MtpPacket);
DMtpDataPacket.cpp53 : 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 …]
DMtpDataPacket.h31 class MtpDataPacket : public MtpPacket {
125 …inline uint32_t getContainerLength() const { return MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_… in getContainerLength()
DMtpResponsePacket.h27 class MtpResponsePacket : public MtpPacket {
DMtpEventPacket.h27 class MtpEventPacket : public MtpPacket {
DMtpRequestPacket.h28 class MtpRequestPacket : public MtpPacket {
DMtpResponsePacket.cpp31 : MtpPacket(512) in MtpResponsePacket()
DMtpRequestPacket.cpp31 : MtpPacket(512), in MtpRequestPacket()
DMtpEventPacket.cpp31 : MtpPacket(512) in MtpEventPacket()
DAndroid.bp29 "MtpPacket.cpp",