Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpDataPacket.cpp68 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code); in setOperationCode()
272 void MtpDataPacket::putUInt16(uint16_t value) { in putUInt16() function in android::MtpDataPacket
373 putUInt16(*values++); in putAUInt16()
380 putUInt16((*values)[i]); in putAUInt16()
437 putUInt16(string[i]); in putString()
440 putUInt16(0); in putString()
455 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
465 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeData()
544 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
592 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
DMtpStringBuffer.cpp122 packet->putUInt16(c); in writeToPacket()
126 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()
DMtpResponsePacket.cpp41 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_RESPONSE); in write()
DMtpRequestPacket.cpp67 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_COMMAND); in write()
DMtpEventPacket.cpp43 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_EVENT); in write()
DMtpPacket.h70 void putUInt16(int offset, uint16_t value);
DMtpServer.cpp470 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
477 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
486 mData.putUInt16(0); //Functional Mode in doGetDeviceInfo()
554 mData.putUInt16(storage->getType()); in doGetStorageInfo()
555 mData.putUInt16(storage->getFileSystemType()); in doGetStorageInfo()
556 mData.putUInt16(storage->getAccessCapability()); in doGetStorageInfo()
746 mData.putUInt16(info.mFormat); in doGetObjectInfo()
747 mData.putUInt16(info.mProtectionStatus); in doGetObjectInfo()
756 mData.putUInt16(info.mThumbFormat); in doGetObjectInfo()
764 mData.putUInt16(info.mAssociationType); in doGetObjectInfo()
DMtpProperty.cpp185 packet.putUInt16(mCode); in write()
186 packet.putUInt16(mType); in write()
217 packet.putUInt16(mEnumLength); in write()
521 packet.putUInt16(value.u.u16); in writeValue()
DMtpDataPacket.h71 void putUInt16(uint16_t value);
DMtpDevice.cpp478 mData.putUInt16(info->mFormat); in sendObjectInfo()
479 mData.putUInt16(info->mProtectionStatus); in sendObjectInfo()
481 mData.putUInt16(info->mThumbFormat); in sendObjectInfo()
489 mData.putUInt16(info->mAssociationType); in sendObjectInfo()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp482 packet.putUInt16(longValue); in getObjectPropertyValue()
654 packet.putUInt16(longValue); in getDevicePropertyValue()
760 packet.putUInt16(propertyCodes[i]); in getObjectPropertyList()
762 packet.putUInt16(type); in getObjectPropertyList()
793 packet.putUInt16(longValues[i]); in getObjectPropertyList()