Home
last modified time | relevance | path

Searched refs:getUInt32 (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/mtp/
DMtpObjectInfo.cpp62 if (!packet.getUInt32(mStorageID)) return false; in read()
65 if (!packet.getUInt32(mCompressedSize)) return false; in read()
67 if (!packet.getUInt32(mThumbCompressedSize)) return false; in read()
68 if (!packet.getUInt32(mThumbPixWidth)) return false; in read()
69 if (!packet.getUInt32(mThumbPixHeight)) return false; in read()
70 if (!packet.getUInt32(mImagePixWidth)) return false; in read()
71 if (!packet.getUInt32(mImagePixHeight)) return false; in read()
72 if (!packet.getUInt32(mImagePixDepth)) return false; in read()
73 if (!packet.getUInt32(mParent)) return false; in read()
75 if (!packet.getUInt32(mAssociationDesc)) return false; in read()
[all …]
DMtpDataPacket.cpp90 bool MtpDataPacket::getUInt32(uint32_t& value) { in getUInt32() function in android::MtpDataPacket
113 return getUInt32(value[0]) && getUInt32(value[1]) && getUInt32(value[2]) && getUInt32(value[3]); in getUInt128()
123 if (!getUInt32(count)) in getAInt8()
139 if (!getUInt32(count)) in getAUInt8()
155 if (!getUInt32(count)) in getAInt16()
171 if (!getUInt32(count)) in getAUInt16()
187 if (!getUInt32(count)) in getAInt32()
203 if (!getUInt32(count)) in getAUInt32()
208 if (!getUInt32(value)) { in getAUInt32()
219 if (!getUInt32(count)) in getAInt64()
[all …]
DMtpPacket.cpp98 uint32_t MtpPacket::getUInt32(int offset) const { in getUInt32() function in android::MtpPacket
128 return getUInt32(MTP_CONTAINER_TRANSACTION_ID_OFFSET); in getTransactionID()
140 return getUInt32(MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t)); in getParameter()
DMtpDataPacket.h51 bool getUInt32(uint32_t& value);
52 inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); } in getInt32()
125 …inline uint32_t getContainerLength() const { return MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_… in getContainerLength()
DMtpServer.cpp934 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // storage ID in doSendObjectInfo()
938 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
941 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size in doSendObjectInfo()
942 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width in doSendObjectInfo()
943 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height in doSendObjectInfo()
944 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix width in doSendObjectInfo()
945 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix height in doSendObjectInfo()
946 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image bit depth in doSendObjectInfo()
947 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // parent in doSendObjectInfo()
949 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
[all …]
DMtpPacket.h68 uint32_t getUInt32(int offset) const;
DMtpStorageInfo.cpp57 if (!packet.getUInt32(mFreeSpaceObjects)) return false; in read()
DMtpDeviceInfo.cpp67 if (!packet.getUInt32(mVendorExtensionID)) return false; in read()
DMtpProperty.cpp159 if (!packet.getUInt32(mGroupCode)) return false; in read()
455 if (!packet.getUInt32(value.u.u32)) return false; in readValue()
540 if (!packet.getUInt32(length)) return NULL; in readArrayValues()
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp1066 if (!mDataSource->getUInt32(data_offset + 4, &entry_count)) { in parseChunk()
1088 if (!mDataSource->getUInt32(entriesoffset, &sd) || in parseChunk()
1089 !mDataSource->getUInt32(entriesoffset + 4, (uint32_t*)&mt)) { in parseChunk()
2158 mDataSource->getUInt32(data_offset + 4, &d32); in parseChunk()
2240 if (!mDataSource->getUInt32(data_offset + 4, &trex.track_ID) || in parseChunk()
2241 !mDataSource->getUInt32(data_offset + 8, &trex.default_sample_description_index) || in parseChunk()
2242 !mDataSource->getUInt32(data_offset + 12, &trex.default_sample_duration) || in parseChunk()
2243 !mDataSource->getUInt32(data_offset + 16, &trex.default_sample_size) || in parseChunk()
2244 !mDataSource->getUInt32(data_offset + 20, &trex.default_sample_flags)) { in parseChunk()
2492 if (!mDataSource->getUInt32(offset, &size) || size < kAC3SpecificBoxSize) { in parseAC3SpecificBox()
[all …]
DDataSource.cpp69 bool DataSource::getUInt32(off64_t offset, uint32_t *x) { in getUInt32() function in android::DataSource
111 return getUInt32(offset, x); in getUInt32Var()
129 if (getUInt32(offset, &tmp)) { in getUInt64Var()
DItemTable.cpp639 if (!source()->getUInt32(offset, &mWidth) in parse()
640 || !source()->getUInt32(offset + 4, &mHeight)) { in parse()
731 if (!source()->getUInt32(offset, &colour_type)) { in parse()
777 if (!source()->getUInt32(offset, &entryCount)) { in parse()
1020 if (!source()->getUInt32(offset, &extension_type)) { in parse()
1045 if (!source()->getUInt32(offset, &item_type)) { in parse()
/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSource.h73 bool getUInt32(off64_t offset, uint32_t *x);
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp522 if (!packet.getUInt32(temp)) return false; in readLongValue()