Home
last modified time | relevance | path

Searched refs:getUInt16 (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/mtp/
DMtpObjectInfo.cpp63 if (!packet.getUInt16(mFormat)) return false; in read()
64 if (!packet.getUInt16(mProtectionStatus)) return false; in read()
66 if (!packet.getUInt16(mThumbFormat)) return false; in read()
74 if (!packet.getUInt16(mAssociationType)) return false; in read()
DMtpStorageInfo.cpp52 if (!packet.getUInt16(mStorageType)) return false; in read()
53 if (!packet.getUInt16(mFileSystemType)) return false; in read()
54 if (!packet.getUInt16(mAccessCapability)) return false; in read()
DMtpDeviceInfo.cpp66 if (!packet.getUInt16(mStandardVersion)) return false; in read()
68 if (!packet.getUInt16(mVendorExtensionVersion)) return false; in read()
74 if (!packet.getUInt16(mFunctionalMode)) return false; in read()
DMtpPacket.cpp94 uint16_t MtpPacket::getUInt16(int offset) const { in getUInt16() function in android::MtpPacket
116 return getUInt16(MTP_CONTAINER_CODE_OFFSET); in getContainerCode()
124 return getUInt16(MTP_CONTAINER_TYPE_OFFSET); in getContainerType()
DMtpDataPacket.h49 bool getUInt16(uint16_t& value);
50 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); } in getInt16()
DMtpPacket.h68 uint16_t getUInt16(int offset) const;
DMtpProperty.cpp133 if (!packet.getUInt16(mCode)) return false; in read()
135 if (!packet.getUInt16(mType)) return false; in read()
172 if (!packet.getUInt16(mEnumLength)) return false; in read()
466 if (!packet.getUInt16(value.u.u16)) return false; in readValue()
DMtpStringBuffer.cpp93 if (!packet->getUInt16(ch)) in readFromPacket()
DMtpDataPacket.cpp82 bool MtpDataPacket::getUInt16(uint16_t& value) { in getUInt16() function in android::MtpDataPacket
177 if (!getUInt16(value)) { in getAUInt16()
DMtpServer.cpp960 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
962 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status in doSendObjectInfo()
965 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format in doSendObjectInfo()
973 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp149 if (!mSource->getUInt16(i, &soi)) { in parseJPEG()
174 if (!mSource->getUInt16(i, &chunkSize)) { in parseJPEG()
209 if (!mSource->getUInt16(i + 1, &height) in parseJPEG()
210 || !mSource->getUInt16(i + 3, &width)) { in parseJPEG()
/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSourceBase.h50 bool getUInt16(off64_t offset, uint16_t *x) { in getUInt16() function
103 return getUInt16(offset, x); in getUInt16Var()
120 if (getUInt16(offset, &tmp)) { in getUInt32Var()
/frameworks/av/include/media/
DMediaExtractorPluginHelper.h328 bool getUInt16(off64_t offset, uint16_t *x) { in getUInt16() function
384 return getUInt16(offset, x); in getUInt16Var()
402 if (getUInt16(offset, &tmp)) { in getUInt32Var()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp403 if (!source()->getUInt16(offset, &data_reference_index)) { in parse()
427 if (!source()->getUInt16(offset, &extent_count)) { in parse()
613 if (!source()->getUInt16(offset, &count)) { in parse()
1145 if (!source()->getUInt16(offset, &item_protection_index)) { in parse()
DMPEG4Extractor.cpp2397 if (!mDataSource->getUInt16(data_offset, &len)) { in parseChunk()
3201 if (!mDataSource->getUInt16(*offset, channelCount)) { in parseChannelCountSampleRate()
3210 if (!mDataSource->getUInt16(*offset, sampleRate)) { in parseChannelCountSampleRate()
3688 if (!mDataSource->getUInt16(offset + 2, &referenceCount)) { in parseSegmentIndex()
5701 if (!mDataSource->getUInt16(offset, &numsubsamples)) { in parseClearEncryptedSizes()
5712 if (!mDataSource->getUInt16(offset, &numclear)) { in parseClearEncryptedSizes()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp558 if (!packet.getUInt16(temp)) return false; in readLongValue()