Home
last modified time | relevance | path

Searched refs:MtpProperty (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/mtp/
DMtpProperty.cpp33 MtpProperty::MtpProperty() in MtpProperty() function in android::MtpProperty
52 MtpProperty::MtpProperty(MtpPropertyCode propCode, in MtpProperty() function in android::MtpProperty
105 MtpProperty::~MtpProperty() { in ~MtpProperty()
130 bool MtpProperty::read(MtpDataPacket& packet) { in read()
182 void MtpProperty::write(MtpDataPacket& packet) { in write()
223 void MtpProperty::setDefaultValue(const uint16_t* string) { in setDefaultValue()
233 void MtpProperty::setCurrentValue(const uint16_t* string) { in setCurrentValue()
243 void MtpProperty::setCurrentValue(const char* string) { in setCurrentValue()
253 void MtpProperty::setCurrentValue(MtpDataPacket& packet) { in setCurrentValue()
259 void MtpProperty::setFormRange(int min, int max, int step) { in setFormRange()
[all …]
DMtpProperty.h45 class MtpProperty {
79 MtpProperty();
80 MtpProperty(MtpPropertyCode propCode,
84 virtual ~MtpProperty();
DMtpDevice.h114 MtpProperty* getDevicePropDesc(MtpDeviceProperty code);
115 bool setDevicePropValueStr(MtpProperty* property);
116 MtpProperty* getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format);
119 bool getObjectPropValue(MtpObjectHandle handle, MtpProperty* property);
DIMtpDatabase.h25 class MtpProperty; variable
104 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
107 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property) = 0;
DMtpTypes.h51 class MtpProperty; variable
55 typedef std::vector<MtpProperty*> MtpPropertyList;
DMtpDevice.cpp263 MtpProperty* property = getDevicePropDesc(propCode); in initialize()
290 MtpProperty* property = getDevicePropDesc(propCode); in print()
308 MtpProperty* property = getObjectPropDesc(prop, format); in print()
591 MtpProperty* MtpDevice::getDevicePropDesc(MtpDeviceProperty code) { in getDevicePropDesc()
602 MtpProperty* property = new MtpProperty; in getDevicePropDesc()
611 bool MtpDevice::setDevicePropValueStr(MtpProperty* property) { in setDevicePropValueStr()
637 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { in getObjectPropDesc()
649 MtpProperty* property = new MtpProperty; in getObjectPropDesc()
658 bool MtpDevice::getObjectPropValue(MtpObjectHandle handle, MtpProperty* property) { in getObjectPropValue()
DAndroid.bp48 "MtpProperty.cpp",
DMtpServer.cpp1346 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); in doGetObjectPropDesc()
1359 MtpProperty* property = mDatabase->getDevicePropertyDesc(propCode); in doGetDevicePropDesc()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp232 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
235 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
1200 MtpProperty* MtpDatabase::getObjectPropertyDesc(MtpObjectProperty property, in getObjectPropertyDesc()
1218 MtpProperty* result = NULL; in getObjectPropertyDesc()
1222 result = new MtpProperty(property, MTP_TYPE_UINT16, false, format); in getObjectPropertyDesc()
1226 result = new MtpProperty(property, MTP_TYPE_UINT16); in getObjectPropertyDesc()
1232 result = new MtpProperty(property, MTP_TYPE_UINT32); in getObjectPropertyDesc()
1235 result = new MtpProperty(property, MTP_TYPE_UINT64); in getObjectPropertyDesc()
1238 result = new MtpProperty(property, MTP_TYPE_UINT128); in getObjectPropertyDesc()
1248 result = new MtpProperty(property, MTP_TYPE_STR); in getObjectPropertyDesc()
[all …]
Dandroid_mtp_MtpDevice.cpp419 MtpProperty property(MTP_DEVICE_PROPERTY_SESSION_INITIATOR_VERSION_INFO, MTP_TYPE_STR, true); in android_mtp_MtpDevice_set_device_property_init_version()
869 std::unique_ptr<MtpProperty> property( in android_mtp_MtpDevice_get_object_size_long()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.h102 MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format);
104 MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
DMtpMockDatabase.cpp280 MtpProperty* MtpMockDatabase::getObjectPropertyDesc(MtpObjectProperty property, in getObjectPropertyDesc()
288 MtpProperty* MtpMockDatabase::getDevicePropertyDesc(MtpDeviceProperty property) { in getDevicePropertyDesc()