Home
last modified time | relevance | path

Searched refs:putUInt16 (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/mtp/
DMtpDataPacket.cpp66 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code); in setOperationCode()
270 void MtpDataPacket::putUInt16(uint16_t value) { in putUInt16() function in android::MtpDataPacket
371 putUInt16(*values++); in putAUInt16()
378 putUInt16((*values)[i]); in putAUInt16()
435 putUInt16(string[i]); in putString()
438 putUInt16(0); in putString()
453 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
463 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeData()
542 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
590 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
DMtpStringBuffer.cpp176 packet->putUInt16(ch); in writeToPacket()
180 packet->putUInt16(0); in writeToPacket()
DMtpPacket.cpp103 void MtpPacket::putUInt16(int offset, uint16_t value) { in putUInt16() function in android::MtpPacket
120 putUInt16(MTP_CONTAINER_CODE_OFFSET, code); in setContainerCode()
DMtpServer.cpp448 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
455 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
464 mData.putUInt16(0); //Functional Mode in doGetDeviceInfo()
544 mData.putUInt16(storage->getType()); in doGetStorageInfo()
545 mData.putUInt16(storage->getFileSystemType()); in doGetStorageInfo()
546 mData.putUInt16(storage->getAccessCapability()); in doGetStorageInfo()
734 mData.putUInt16(info.mFormat); in doGetObjectInfo()
735 mData.putUInt16(info.mProtectionStatus); in doGetObjectInfo()
744 mData.putUInt16(info.mThumbFormat); in doGetObjectInfo()
752 mData.putUInt16(info.mAssociationType); in doGetObjectInfo()
DMtpResponsePacket.cpp40 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_RESPONSE); in write()
DMtpRequestPacket.cpp66 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_COMMAND); in write()
DMtpEventPacket.cpp47 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_EVENT); in write()
DMtpPacket.h67 void putUInt16(int offset, uint16_t value);
DMtpProperty.cpp181 packet.putUInt16(mCode); in write()
182 packet.putUInt16(mType); in write()
213 packet.putUInt16(mEnumLength); in write()
502 packet.putUInt16(value.u.u16); in writeValue()
DMtpDevice.cpp466 mData.putUInt16(info->mFormat); in sendObjectInfo()
467 mData.putUInt16(info->mProtectionStatus); in sendObjectInfo()
469 mData.putUInt16(info->mThumbFormat); in sendObjectInfo()
477 mData.putUInt16(info->mAssociationType); in sendObjectInfo()
DMtpDataPacket.h70 void putUInt16(uint16_t value);
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp429 packet.putUInt16(longValue); in getObjectPropertyValue()
611 packet.putUInt16(longValue); in getDevicePropertyValue()
718 packet.putUInt16(propertyCodes[i]); in getObjectPropertyList()
720 packet.putUInt16(type); in getObjectPropertyList()
733 packet.putUInt16(longValues[i]); in getObjectPropertyList()