Searched refs:getUInt16 (Results 1 – 15 of 15) sorted by relevance
63 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()
52 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()
66 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()
94 uint16_t MtpPacket::getUInt16(int offset) const { in getUInt16() function in android::MtpPacket116 return getUInt16(MTP_CONTAINER_CODE_OFFSET); in getContainerCode()124 return getUInt16(MTP_CONTAINER_TYPE_OFFSET); in getContainerType()
48 bool getUInt16(uint16_t& value);49 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); } in getInt16()
65 uint16_t getUInt16(int offset) const;
129 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()447 if (!packet.getUInt16(value.u.u16)) return false; in readValue()
135 if (!packet->getUInt16(ch)) in readFromPacket()
912 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()914 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status in doSendObjectInfo()917 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format in doSendObjectInfo()925 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
80 bool MtpDataPacket::getUInt16(uint16_t& value) { in getUInt16() function in android::MtpDataPacket175 if (!getUInt16(value)) { in getAUInt16()
148 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()
55 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { in getUInt16() function in android::DataSource
2434 if (!mDataSource->getUInt16(offset + 2, &referenceCount)) { in parseSegmentIndex()3995 if (!mDataSource->getUInt16(drmoffset, &numsubsamples)) { in parseSampleAuxiliaryInformationOffsets()4002 if (!mDataSource->getUInt16(drmoffset, &numclear)) { in parseSampleAuxiliaryInformationOffsets()
69 bool getUInt16(off64_t offset, uint16_t *x);
509 if (!packet.getUInt16(temp)) return false; in readLongValue()