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()
64 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()441 if (!packet.getUInt16(value.u.u16)) return false; in readValue()
135 if (!packet->getUInt16(ch)) in readFromPacket()
906 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()
61 bool MtpDataPacket::getUInt16(uint16_t& value) { in getUInt16() function in android::MtpDataPacket156 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()
53 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { in getUInt16() function in android::DataSource
2205 if (!mDataSource->getUInt16(offset + 2, &referenceCount)) { in parseSegmentIndex()3663 if (!mDataSource->getUInt16(drmoffset, &numsubsamples)) { in parseSampleAuxiliaryInformationOffsets()3670 if (!mDataSource->getUInt16(drmoffset, &numclear)) { in parseSampleAuxiliaryInformationOffsets()
69 bool getUInt16(off64_t offset, uint16_t *x);
494 if (!packet.getUInt16(temp)) return false; in readLongValue()