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.cpp91 bool MtpDataPacket::getUInt32(uint32_t& value) { in getUInt32() function in android::MtpDataPacket
114 return getUInt32(value[0]) && getUInt32(value[1]) && getUInt32(value[2]) && getUInt32(value[3]); in getUInt128()
124 if (!getUInt32(count)) in getAInt8()
140 if (!getUInt32(count)) in getAUInt8()
156 if (!getUInt32(count)) in getAInt16()
172 if (!getUInt32(count)) in getAUInt16()
188 if (!getUInt32(count)) in getAInt32()
204 if (!getUInt32(count)) in getAUInt32()
209 if (!getUInt32(value)) { in getAUInt32()
220 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()
126 …inline uint32_t getContainerLength() const { return MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_… in getContainerLength()
DMtpServer.cpp933 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // storage ID in doSendObjectInfo()
937 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
940 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size in doSendObjectInfo()
941 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width in doSendObjectInfo()
942 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height in doSendObjectInfo()
943 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix width in doSendObjectInfo()
944 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix height in doSendObjectInfo()
945 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image bit depth in doSendObjectInfo()
946 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // parent in doSendObjectInfo()
948 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
[all …]
DMtpPacket.h69 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.cpp163 if (!packet.getUInt32(mGroupCode)) return false; in read()
464 if (!packet.getUInt32(value.u.u32)) return false; in readValue()
549 if (!packet.getUInt32(length)) return NULL; in readArrayValues()
/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSourceBase.h75 bool getUInt32(off64_t offset, uint32_t *x) { in getUInt32() function
116 return getUInt32(offset, x); in getUInt32Var()
133 if (getUInt32(offset, &tmp)) { in getUInt64Var()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp1217 if (!mDataSource->getUInt32(data_offset + 4, &entry_count)) { in parseChunk()
1236 if (!mDataSource->getUInt32(entriesoffset, &sd) || in parseChunk()
1237 !mDataSource->getUInt32(entriesoffset + 4, (uint32_t*)&mt)) { in parseChunk()
2685 mDataSource->getUInt32(data_offset + 4, &d32); in parseChunk()
2759 if (!mDataSource->getUInt32(data_offset + 4, &trex.track_ID) || in parseChunk()
2760 !mDataSource->getUInt32(data_offset + 8, &trex.default_sample_description_index) || in parseChunk()
2761 !mDataSource->getUInt32(data_offset + 12, &trex.default_sample_duration) || in parseChunk()
2762 !mDataSource->getUInt32(data_offset + 16, &trex.default_sample_size) || in parseChunk()
2763 !mDataSource->getUInt32(data_offset + 20, &trex.default_sample_flags)) { in parseChunk()
3080 if (!mDataSource->getUInt32(offset, &size) || size < kAC4MinimumBoxSize) { in parseAC4SpecificBox()
[all …]
DItemTable.cpp718 if (!source()->getUInt32(offset, (uint32_t *)&mWidth) in parse()
719 || !source()->getUInt32(offset + 4, (uint32_t *)&mHeight)) { in parse()
817 if (!source()->getUInt32(offset, &colour_type)) { in parse()
863 if (!source()->getUInt32(offset, &entryCount)) { in parse()
1092 if (!source()->getUInt32(offset, &item_type)) { in parse()
/frameworks/av/include/media/
DMediaExtractorPluginHelper.h355 bool getUInt32(off64_t offset, uint32_t *x) { in getUInt32() function
398 return getUInt32(offset, x); in getUInt32Var()
416 if (getUInt32(offset, &tmp)) { in getUInt64Var()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp512 if (!packet.getUInt32(temp)) return false; in readLongValue()