Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpProperty.h28 struct MtpPropertyValue { struct
50 MtpPropertyValue mDefaultValue; argument
51 MtpPropertyValue mCurrentValue;
55 MtpPropertyValue* mDefaultArrayValues;
57 MtpPropertyValue* mCurrentArrayValues;
70 MtpPropertyValue mMinimumValue;
71 MtpPropertyValue mMaximumValue;
72 MtpPropertyValue mStepSize;
76 MtpPropertyValue* mEnumValues;
96 const MtpPropertyValue& getCurrentValue() { return mCurrentValue; } in getCurrentValue()
[all …]
DMtpProperty.cpp173 mEnumValues = new MtpPropertyValue[mEnumLength]; in read()
311 mEnumValues = new MtpPropertyValue[count]; in setFormEnum()
400 void MtpProperty::print(MtpPropertyValue& value, std::string& buffer) { in print()
448 bool MtpProperty::readValue(MtpDataPacket& packet, MtpPropertyValue& value) { in readValue()
503 void MtpProperty::writeValue(MtpDataPacket& packet, MtpPropertyValue& value) { in writeValue()
558 MtpPropertyValue* MtpProperty::readArrayValues(MtpDataPacket& packet, uint32_t& length) { in readArrayValues()
565 length >= INT32_MAX / sizeof(MtpPropertyValue)) ) { in readArrayValues()
569 MtpPropertyValue* result = new MtpPropertyValue[length]; in readArrayValues()
578 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length… in writeArrayValues()