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

/frameworks/av/media/mtp/
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 DMtpStorageInfo.cpp52 if (!packet.getUInt16(mStorageType)) return false;
53 if (!packet.getUInt16(mFileSystemType)) return false;
54 if (!packet.getUInt16(mAccessCapability)) return false;
H A DMtpDeviceInfo.cpp66 if (!packet.getUInt16(mStandardVersion)) return false;
68 if (!packet.getUInt16(mVendorExtensionVersion)) return false;
74 if (!packet.getUInt16(mFunctionalMode)) return false;
H A DMtpPacket.h67 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.h49 bool getUInt16(uint16_t& value);
50 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.cpp81 bool MtpDataPacket::getUInt16(uint16_t& value) { function in class:android::MtpDataPacket
176 if (!getUInt16(value)) {
H A DMtpServer.cpp933 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
935 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status
938 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format
946 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.cpp43 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { function in class:android::DataSource
H A DMPEG4Extractor.cpp2414 if (!mDataSource->getUInt16(offset, &channelCount)) {
2423 if (!mDataSource->getUInt16(offset, &sampleRate)) {
2571 if (!mDataSource->getUInt16(offset + 2, &referenceCount)) {
4182 if (!mDataSource->getUInt16(drmoffset, &numsubsamples)) {
4189 if (!mDataSource->getUInt16(drmoffset, &numclear)) {
/frameworks/av/include/media/stagefright/
H A DDataSource.h71 bool getUInt16(off64_t offset, uint16_t *x);
/frameworks/av/media/libstagefright/foundation/include/
H A DDataSource.h71 bool getUInt16(off64_t offset, uint16_t *x);
/frameworks/av/media/libstagefright/include/
H A DDataSource.h71 bool getUInt16(off64_t offset, uint16_t *x);
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp510 if (!packet.getUInt16(temp)) return false;

Completed in 200 milliseconds