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;
93 const MtpPropertyValue& getCurrentValue() { return mCurrentValue; } in getCurrentValue()
[all …]
DMtpProperty.cpp169 mEnumValues = new MtpPropertyValue[mEnumLength]; in read()
297 mEnumValues = new MtpPropertyValue[count]; in setFormEnum()
386 void MtpProperty::print(MtpPropertyValue& value, MtpString& buffer) { in print()
429 bool MtpProperty::readValue(MtpDataPacket& packet, MtpPropertyValue& value) { in readValue()
484 void MtpProperty::writeValue(MtpDataPacket& packet, MtpPropertyValue& value) { in writeValue()
539 MtpPropertyValue* MtpProperty::readArrayValues(MtpDataPacket& packet, uint32_t& length) { in readArrayValues()
546 length >= INT32_MAX / sizeof(MtpPropertyValue)) ) { in readArrayValues()
550 MtpPropertyValue* result = new MtpPropertyValue[length]; in readArrayValues()
559 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length… in writeArrayValues()