Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpDataPacket.cpp47 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code); in setOperationCode()
251 void MtpDataPacket::putUInt16(uint16_t value) { in putUInt16() function in android::MtpDataPacket
352 putUInt16(*values++); in putAUInt16()
359 putUInt16((*values)[i]); in putAUInt16()
416 putUInt16(string[i]); in putString()
419 putUInt16(0); in putString()
434 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
444 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeData()
518 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeDataHeader()
527 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.cpp447 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
454 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
463 mData.putUInt16(0); //Functional Mode in doGetDeviceInfo()
543 mData.putUInt16(storage->getType()); in doGetStorageInfo()
544 mData.putUInt16(storage->getFileSystemType()); in doGetStorageInfo()
545 mData.putUInt16(storage->getAccessCapability()); in doGetStorageInfo()
733 mData.putUInt16(info.mFormat); in doGetObjectInfo()
734 mData.putUInt16(info.mProtectionStatus); in doGetObjectInfo()
743 mData.putUInt16(info.mThumbFormat); in doGetObjectInfo()
751 mData.putUInt16(info.mAssociationType); in doGetObjectInfo()
DMtpResponsePacket.cpp40 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_RESPONSE); in write()
DMtpEventPacket.cpp47 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_EVENT); in write()
DMtpRequestPacket.cpp65 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_COMMAND); in write()
DMtpPacket.h66 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()
496 packet.putUInt16(value.u.u16); in writeValue()
DMtpDevice.cpp436 mData.putUInt16(info->mFormat); in sendObjectInfo()
437 mData.putUInt16(info->mProtectionStatus); in sendObjectInfo()
439 mData.putUInt16(info->mThumbFormat); in sendObjectInfo()
447 mData.putUInt16(info->mAssociationType); in sendObjectInfo()
DMtpDataPacket.h70 void putUInt16(uint16_t value);
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp414 packet.putUInt16(longValue); in getObjectPropertyValue()
596 packet.putUInt16(longValue); in getDevicePropertyValue()
695 packet.putUInt16(propertyCodes[i]); in getObjectPropertyList()
697 packet.putUInt16(type); in getObjectPropertyList()
710 packet.putUInt16(longValues[i]); in getObjectPropertyList()