Searched refs:getUInt16 (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/media/mtp/
H A DMtpStorageInfo.cpp52 if (!packet.getUInt16(mStorageType)) return false;
53 if (!packet.getUInt16(mFileSystemType)) return false;
54 if (!packet.getUInt16(mAccessCapability)) return false;
H A DMtpObjectInfo.cpp63 if (!packet.getUInt16(mFormat)) return false;
64 if (!packet.getUInt16(mProtectionStatus)) return false;
66 if (!packet.getUInt16(mThumbFormat)) return false;
74 if (!packet.getUInt16(mAssociationType)) return false;
H A DMtpDeviceInfo.cpp66 if (!packet.getUInt16(mStandardVersion)) return false;
68 if (!packet.getUInt16(mVendorExtensionVersion)) return false;
73 if (!packet.getUInt16(mFunctionalMode)) return false;
H A DMtpPacket.h65 uint16_t getUInt16(int offset) const;
H A DMtpPacket.cpp94 uint16_t MtpPacket::getUInt16(int offset) const { function in class:android::MtpPacket
116 return getUInt16(MTP_CONTAINER_CODE_OFFSET);
124 return getUInt16(MTP_CONTAINER_TYPE_OFFSET);
H A DMtpDataPacket.h48 bool getUInt16(uint16_t& value);
49 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); }
H A DMtpProperty.cpp129 if (!packet.getUInt16(mCode)) return false;
131 if (!packet.getUInt16(mType)) return false;
168 if (!packet.getUInt16(mEnumLength)) return false;
447 if (!packet.getUInt16(value.u.u16)) return false;
H A DMtpStringBuffer.cpp135 if (!packet->getUInt16(ch))
H A DMtpDataPacket.cpp59 bool MtpDataPacket::getUInt16(uint16_t& value) { function in class:android::MtpDataPacket
154 if (!getUInt16(value)) {
H A DMtpServer.cpp912 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
914 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status
917 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format
925 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp148 if (!mSource->getUInt16(i, &soi)) {
173 if (!mSource->getUInt16(i, &chunkSize)) {
208 if (!mSource->getUInt16(i + 1, &height)
209 || !mSource->getUInt16(i + 3, &width)) {
H A DDataSource.cpp55 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { function in class:android::DataSource
H A DMPEG4Extractor.cpp2328 if (!mDataSource->getUInt16(offset + 2, &referenceCount)) {
3871 if (!mDataSource->getUInt16(drmoffset, &numsubsamples)) {
3878 if (!mDataSource->getUInt16(drmoffset, &numclear)) {
/frameworks/av/include/media/stagefright/
H A DDataSource.h69 bool getUInt16(off64_t offset, uint16_t *x);
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp509 if (!packet.getUInt16(temp)) return false;

Completed in 156 milliseconds