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;
95 const MtpPropertyValue& getCurrentValue() { return mCurrentValue; } in getCurrentValue()
[all …]
DMtpProperty.cpp173 mEnumValues = new MtpPropertyValue[mEnumLength]; in read()
301 mEnumValues = new MtpPropertyValue[count]; in setFormEnum()
390 void MtpProperty::print(MtpPropertyValue& value, std::string& buffer) { in print()
438 bool MtpProperty::readValue(MtpDataPacket& packet, MtpPropertyValue& value) { in readValue()
493 void MtpProperty::writeValue(MtpDataPacket& packet, MtpPropertyValue& value) { in writeValue()
548 MtpPropertyValue* MtpProperty::readArrayValues(MtpDataPacket& packet, uint32_t& length) { in readArrayValues()
555 length >= INT32_MAX / sizeof(MtpPropertyValue)) ) { in readArrayValues()
559 MtpPropertyValue* result = new MtpPropertyValue[length]; in readArrayValues()
568 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length… in writeArrayValues()