Home
last modified time | relevance | path

Searched refs:MtpPropertyValue (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/mtp/
DMtpProperty.h26 struct MtpPropertyValue { struct
48 MtpPropertyValue mDefaultValue; argument
49 MtpPropertyValue mCurrentValue;
53 MtpPropertyValue* mDefaultArrayValues;
55 MtpPropertyValue* mCurrentArrayValues;
68 MtpPropertyValue mMinimumValue;
69 MtpPropertyValue mMaximumValue;
70 MtpPropertyValue mStepSize;
74 MtpPropertyValue* mEnumValues;
97 void print(MtpPropertyValue& value, MtpString& buffer);
[all …]
DMtpProperty.cpp169 mEnumValues = new MtpPropertyValue[mEnumLength]; in read()
291 mEnumValues = new MtpPropertyValue[count]; in setFormEnum()
380 void MtpProperty::print(MtpPropertyValue& value, MtpString& buffer) { in print()
423 bool MtpProperty::readValue(MtpDataPacket& packet, MtpPropertyValue& value) { in readValue()
478 void MtpProperty::writeValue(MtpDataPacket& packet, MtpPropertyValue& value) { in writeValue()
533 MtpPropertyValue* MtpProperty::readArrayValues(MtpDataPacket& packet, uint32_t& length) { in readArrayValues()
540 length >= INT32_MAX / sizeof(MtpPropertyValue)) ) { in readArrayValues()
544 MtpPropertyValue* result = new MtpPropertyValue[length]; in readArrayValues()
553 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length… in writeArrayValues()