Home
last modified time | relevance | path

Searched refs:getUInt16 (Results 1 – 15 of 15) 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()
73 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.h48 bool getUInt16(uint16_t& value);
49 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); } in getInt16()
DMtpPacket.h64 uint16_t getUInt16(int offset) const;
DMtpProperty.cpp129 if (!packet.getUInt16(mCode)) return false; in read()
131 if (!packet.getUInt16(mType)) return false; in read()
168 if (!packet.getUInt16(mEnumLength)) return false; in read()
441 if (!packet.getUInt16(value.u.u16)) return false; in readValue()
DMtpStringBuffer.cpp135 if (!packet->getUInt16(ch)) in readFromPacket()
DMtpServer.cpp906 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
908 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status in doSendObjectInfo()
911 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format in doSendObjectInfo()
919 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
DMtpDataPacket.cpp61 bool MtpDataPacket::getUInt16(uint16_t& value) { in getUInt16() function in android::MtpDataPacket
156 if (!getUInt16(value)) { in getAUInt16()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp148 if (!mSource->getUInt16(i, &soi)) { in parseJPEG()
173 if (!mSource->getUInt16(i, &chunkSize)) { in parseJPEG()
208 if (!mSource->getUInt16(i + 1, &height) in parseJPEG()
209 || !mSource->getUInt16(i + 3, &width)) { in parseJPEG()
DDataSource.cpp53 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { in getUInt16() function in android::DataSource
DMPEG4Extractor.cpp2205 if (!mDataSource->getUInt16(offset + 2, &referenceCount)) { in parseSegmentIndex()
3663 if (!mDataSource->getUInt16(drmoffset, &numsubsamples)) { in parseSampleAuxiliaryInformationOffsets()
3670 if (!mDataSource->getUInt16(drmoffset, &numclear)) { in parseSampleAuxiliaryInformationOffsets()
/frameworks/av/include/media/stagefright/
DDataSource.h69 bool getUInt16(off64_t offset, uint16_t *x);
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp494 if (!packet.getUInt16(temp)) return false; in readLongValue()