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.h30 class MtpPacket {
42 explicit MtpPacket(int bufferSize);
43 virtual ~MtpPacket();
50 void copyFrom(const MtpPacket& src);
73 DISALLOW_COPY_AND_ASSIGN(MtpPacket);
DMtpDataPacket.cpp54 : 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 …]
DMtpDataPacket.h31 class MtpDataPacket : public MtpPacket {
126 …inline uint32_t getContainerLength() const { return MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_… in getContainerLength()
DMtpResponsePacket.h27 class MtpResponsePacket : public MtpPacket {
DMtpEventPacket.h29 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.bp30 "MtpPacket.cpp",