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()
177 void MtpDataPacket::putUInt16(uint16_t value) { in putUInt16() function in android::MtpDataPacket
278 putUInt16(*values++); in putAUInt16()
285 putUInt16((*values)[i]); in putAUInt16()
342 putUInt16(string[i]); in putString()
345 putUInt16(0); in putString()
360 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
370 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeData()
444 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in writeDataHeader()
453 MtpPacket::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA); in write()
DMtpStringBuffer.cpp169 packet->putUInt16(ch); in writeToPacket()
173 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()
DMtpRequestPacket.cpp53 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_COMMAND); in write()
DMtpResponsePacket.cpp40 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_RESPONSE); in write()
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()
537 mData.putUInt16(storage->getType()); in doGetStorageInfo()
538 mData.putUInt16(storage->getFileSystemType()); in doGetStorageInfo()
539 mData.putUInt16(storage->getAccessCapability()); in doGetStorageInfo()
701 mData.putUInt16(info.mFormat); in doGetObjectInfo()
702 mData.putUInt16(info.mProtectionStatus); in doGetObjectInfo()
711 mData.putUInt16(info.mThumbFormat); in doGetObjectInfo()
719 mData.putUInt16(info.mAssociationType); in doGetObjectInfo()
DMtpEventPacket.cpp47 putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_EVENT); in write()
DMtpPacket.h66 void putUInt16(int offset, uint16_t value);
DMtpProperty.cpp170 packet.putUInt16(mCode); in write()
171 packet.putUInt16(mType); in write()
202 packet.putUInt16(mEnumLength); in write()
483 packet.putUInt16(value.u.u16); in writeValue()
DMtpDevice.cpp421 mData.putUInt16(info->mFormat); in sendObjectInfo()
422 mData.putUInt16(info->mProtectionStatus); in sendObjectInfo()
424 mData.putUInt16(info->mThumbFormat); in sendObjectInfo()
432 mData.putUInt16(info->mAssociationType); in sendObjectInfo()
DMtpDataPacket.h69 void putUInt16(uint16_t value);
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp413 packet.putUInt16(longValue); in getObjectPropertyValue()
565 packet.putUInt16(longValue); in getDevicePropertyValue()
691 packet.putUInt16(propertyCodes[i]); in getObjectPropertyList()
693 packet.putUInt16(type); in getObjectPropertyList()
706 packet.putUInt16(longValues[i]); in getObjectPropertyList()