Home | History | Annotate | Download | only in jni

Lines Matching refs:property

139                                             MtpObjectProperty property,
143 MtpObjectProperty property,
146 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
149 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
152 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
155 uint32_t format, uint32_t property,
171 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
172 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
179 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
182 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
383 MtpObjectProperty property,
395 static_cast<jint>(property),
541 MtpObjectProperty property,
545 if (!getObjectPropertyInfo(property, type))
562 (jint)handle, (jint)property, longValue, stringValue);
571 MtpResponseCode MtpDatabase::getDevicePropertyValue(MtpDeviceProperty property,
576 if (!getDevicePropertyInfo(property, type))
580 (jint)property, mLongBuffer, mStringBuffer);
637 MtpResponseCode MtpDatabase::setDevicePropertyValue(MtpDeviceProperty property,
641 if (!getDevicePropertyInfo(property, type))
658 (jint)property, longValue, stringValue);
667 MtpResponseCode MtpDatabase::resetDeviceProperty(MtpDeviceProperty /*property*/) {
672 uint32_t format, uint32_t property,
683 static_cast<jint>(property),
1077 MtpObjectProperty property;
1117 bool MtpDatabase::getObjectPropertyInfo(MtpObjectProperty property, int& type) {
1121 if (entry->property == property) {
1129 bool MtpDatabase::getDevicePropertyInfo(MtpDeviceProperty property, int& type) {
1133 if (entry->property == property) {
1180 MtpProperty* MtpDatabase::getObjectPropertyDesc(MtpObjectProperty property,
1199 switch (property) {
1202 result = new MtpProperty(property, MTP_TYPE_UINT16, false, format);
1206 result = new MtpProperty(property, MTP_TYPE_UINT16);
1212 result = new MtpProperty(property, MTP_TYPE_UINT32);
1215 result = new MtpProperty(property, MTP_TYPE_UINT64);
1218 result = new MtpProperty(property, MTP_TYPE_UINT128);
1228 result = new MtpProperty(property, MTP_TYPE_STR);
1233 result = new MtpProperty(property, MTP_TYPE_STR);
1238 result = new MtpProperty(property, MTP_TYPE_STR, true);
1241 result = new MtpProperty(property, MTP_TYPE_UINT16);
1245 result = new MtpProperty(property, MTP_TYPE_UINT32);
1249 result = new MtpProperty(property, MTP_TYPE_UINT16);
1253 result = new MtpProperty(property, MTP_TYPE_UINT32);
1261 MtpProperty* MtpDatabase::getDevicePropertyDesc(MtpDeviceProperty property) {
1268 (jint)property, mLongBuffer, mStringBuffer);
1270 switch (property) {
1277 result = new MtpProperty(property, MTP_TYPE_STR, writable);
1288 result = new MtpProperty(property, MTP_TYPE_UINT8);
1298 result = new MtpProperty(property, MTP_TYPE_UINT32);
1304 ALOGE("Unrecognized property %x", property);
1307 ALOGE("unable to read device property, response: %04X", ret);