Lines Matching refs:property
131 MtpObjectProperty property,
135 MtpObjectProperty property,
138 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
141 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
144 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
147 uint32_t format, uint32_t property,
162 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
163 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
170 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
173 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
362 MtpObjectProperty property, in getObjectPropertyValue() argument
366 (jlong)handle, 0, (jlong)property, 0, 0); in getObjectPropertyValue()
389 if (property == MTP_PROPERTY_DATE_MODIFIED || property == MTP_PROPERTY_DATE_ADDED) { in getObjectPropertyValue()
396 if (property == MTP_PROPERTY_ORIGINAL_RELEASE_DATE) { in getObjectPropertyValue()
530 MtpObjectProperty property, in setObjectPropertyValue() argument
534 if (!getObjectPropertyInfo(property, type)) in setObjectPropertyValue()
551 (jint)handle, (jint)property, longValue, stringValue); in setObjectPropertyValue()
560 MtpResponseCode MyMtpDatabase::getDevicePropertyValue(MtpDeviceProperty property, in getDevicePropertyValue() argument
564 if (property == MTP_DEVICE_PROPERTY_BATTERY_LEVEL) { in getDevicePropertyValue()
571 if (!getDevicePropertyInfo(property, type)) in getDevicePropertyValue()
575 (jint)property, mLongBuffer, mStringBuffer); in getDevicePropertyValue()
633 MtpResponseCode MyMtpDatabase::setDevicePropertyValue(MtpDeviceProperty property, in setDevicePropertyValue() argument
637 if (!getDevicePropertyInfo(property, type)) in setDevicePropertyValue()
654 (jint)property, longValue, stringValue); in setDevicePropertyValue()
668 uint32_t format, uint32_t property, in getObjectPropertyList() argument
673 (jlong)handle, (jint)format, (jlong)property, (jint)groupCode, (jint)depth); in getObjectPropertyList()
908 MtpObjectProperty property; member
947 bool MyMtpDatabase::getObjectPropertyInfo(MtpObjectProperty property, int& type) { in getObjectPropertyInfo() argument
951 if (entry->property == property) { in getObjectPropertyInfo()
959 bool MyMtpDatabase::getDevicePropertyInfo(MtpDeviceProperty property, int& type) { in getDevicePropertyInfo() argument
963 if (entry->property == property) { in getDevicePropertyInfo()
1010 MtpProperty* MyMtpDatabase::getObjectPropertyDesc(MtpObjectProperty property, in getObjectPropertyDesc() argument
1029 switch (property) { in getObjectPropertyDesc()
1032 result = new MtpProperty(property, MTP_TYPE_UINT16, false, format); in getObjectPropertyDesc()
1036 result = new MtpProperty(property, MTP_TYPE_UINT16); in getObjectPropertyDesc()
1042 result = new MtpProperty(property, MTP_TYPE_UINT32); in getObjectPropertyDesc()
1045 result = new MtpProperty(property, MTP_TYPE_UINT64); in getObjectPropertyDesc()
1048 result = new MtpProperty(property, MTP_TYPE_UINT128); in getObjectPropertyDesc()
1058 result = new MtpProperty(property, MTP_TYPE_STR); in getObjectPropertyDesc()
1063 result = new MtpProperty(property, MTP_TYPE_STR); in getObjectPropertyDesc()
1068 result = new MtpProperty(property, MTP_TYPE_STR, true); in getObjectPropertyDesc()
1071 result = new MtpProperty(property, MTP_TYPE_UINT16); in getObjectPropertyDesc()
1075 result = new MtpProperty(property, MTP_TYPE_UINT32); in getObjectPropertyDesc()
1079 result = new MtpProperty(property, MTP_TYPE_UINT16); in getObjectPropertyDesc()
1083 result = new MtpProperty(property, MTP_TYPE_UINT32); in getObjectPropertyDesc()
1091 MtpProperty* MyMtpDatabase::getDevicePropertyDesc(MtpDeviceProperty property) { in getDevicePropertyDesc() argument
1096 switch (property) { in getDevicePropertyDesc()
1102 result = new MtpProperty(property, MTP_TYPE_STR, writable); in getDevicePropertyDesc()
1106 (jint)property, mLongBuffer, mStringBuffer); in getDevicePropertyDesc()
1120 result = new MtpProperty(property, MTP_TYPE_UINT8); in getDevicePropertyDesc()