Searched refs:mPacketSize (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 76 if (mPacketSize - mOffset < sizeof(value)) in getUInt8() 83 if (mPacketSize - mOffset < sizeof(value)) in getUInt16() 92 if (mPacketSize - mOffset < sizeof(value)) in getUInt32() 102 if (mPacketSize - mOffset < sizeof(value)) in getUInt64() 253 if (mPacketSize < mOffset) in putInt8() 254 mPacketSize = mOffset; in putInt8() 260 if (mPacketSize < mOffset) in putUInt8() 261 mPacketSize = mOffset; in putUInt8() 268 if (mPacketSize < mOffset) in putInt16() 269 mPacketSize = mOffset; in putInt16() [all …]
|
D | MtpResponsePacket.cpp | 40 putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() 42 int ret = h->write(mBuffer, mPacketSize); in write() 53 mPacketSize = ret; in read() 55 mPacketSize = 0; in read()
|
D | MtpPacket.cpp | 35 mPacketSize(0) in MtpPacket() 51 mPacketSize = MTP_CONTAINER_HEADER_SIZE; in reset() 72 for (size_t i = 0; i < mPacketSize; i++) { in dump() 88 int length = src.mPacketSize; in copyFrom() 90 mPacketSize = length; in copyFrom() 149 if (mPacketSize < offset + sizeof(uint32_t)) in setParameter() 150 mPacketSize = offset + sizeof(uint32_t); in setParameter()
|
D | MtpEventPacket.cpp | 42 putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() 46 event.length = mPacketSize; in write() 56 mPacketSize = 0; in sendRequest() 67 mPacketSize = req->actual_length; in readResponse()
|
D | MtpRequestPacket.cpp | 52 mPacketSize = read_size; in read() 66 putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write() 69 request->buffer_length = mPacketSize; in write()
|
D | MtpPacket.h | 39 size_t mPacketSize; variable
|
D | MtpDataPacket.h | 125 inline bool hasData() const { return mPacketSize > MTP_CONTAINER_HEADER_SIZE; } in hasData()
|
/frameworks/base/media/java/android/media/tv/tuner/dvr/ |
D | DvrSettings.java | 68 private final long mPacketSize; field in DvrSettings 77 mPacketSize = packetSize; in DvrSettings() 110 return mPacketSize; in getPacketSize() 136 private long mPacketSize; field in DvrSettings.Builder 176 this.mPacketSize = packetSize; in setPacketSize() 195 mStatusMask, mLowThreshold, mHighThreshold, mPacketSize, mDataFormat); in build()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbEndpointDescriptor.java | 73 private int mPacketSize; // 4:2 Maximum Packet Size this endpoint is capable of field in UsbEndpointDescriptor 96 return mPacketSize; in getPacketSize() 122 return new UsbEndpoint(mEndpointAddress, mAttributes, mPacketSize, mInterval); in toAndroid() 129 mPacketSize = stream.unpackUsbShort(); in parseRawDescriptors()
|
D | UsbDeviceDescriptor.java | 43 private byte mPacketSize; // 7:1 Maximum Packet Size for Zero Endpoint. field in UsbDeviceDescriptor 78 return mPacketSize; in getPacketSize() 173 mPacketSize = stream.getByte(); in parseRawDescriptors()
|