Home | History | Annotate | Download | only in jni

Lines Matching refs:property

124                                             MtpObjectProperty property,
128 MtpObjectProperty property,
131 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
134 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
137 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
140 uint32_t format, uint32_t property,
155 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
156 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
163 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
166 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
354 MtpObjectProperty property,
358 (jlong)handle, 0, (jlong)property, 0, 0);
381 if (property == MTP_PROPERTY_DATE_MODIFIED || property == MTP_PROPERTY_DATE_ADDED) {
388 if (property == MTP_PROPERTY_ORIGINAL_RELEASE_DATE) {
467 MtpObjectProperty property,
471 if (!getObjectPropertyInfo(property, type))
516 (jint)handle, (jint)property, longValue, stringValue);
524 MtpResponseCode MyMtpDatabase::getDevicePropertyValue(MtpDeviceProperty property,
528 if (!getDevicePropertyInfo(property, type))
533 (jint)property, mLongBuffer, mStringBuffer);
590 MtpResponseCode MyMtpDatabase::setDevicePropertyValue(MtpDeviceProperty property,
594 if (!getDevicePropertyInfo(property, type))
639 (jint)property, longValue, stringValue);
647 MtpResponseCode MyMtpDatabase::resetDeviceProperty(MtpDeviceProperty property) {
652 uint32_t format, uint32_t property,
657 (jlong)handle, (jint)format, (jlong)property, (jint)groupCode, (jint)depth);
879 MtpObjectProperty property;
912 bool MyMtpDatabase::getObjectPropertyInfo(MtpObjectProperty property, int& type) {
916 if (entry->property == property) {
924 bool MyMtpDatabase::getDevicePropertyInfo(MtpDeviceProperty property, int& type) {
928 if (entry->property == property) {
975 MtpProperty* MyMtpDatabase::getObjectPropertyDesc(MtpObjectProperty property,
978 switch (property) {
981 result = new MtpProperty(property, MTP_TYPE_UINT16, false, format);
985 result = new MtpProperty(property, MTP_TYPE_UINT16);
990 result = new MtpProperty(property, MTP_TYPE_UINT32);
993 result = new MtpProperty(property, MTP_TYPE_UINT64);
996 result = new MtpProperty(property, MTP_TYPE_UINT128);
1006 result = new MtpProperty(property, MTP_TYPE_STR);
1011 result = new MtpProperty(property, MTP_TYPE_STR);
1016 result = new MtpProperty(property, MTP_TYPE_STR, true);
1023 MtpProperty* MyMtpDatabase::getDevicePropertyDesc(MtpDeviceProperty property) {
1028 switch (property) {
1034 result = new MtpProperty(property, MTP_TYPE_STR, writable);
1038 (jint)property, mLongBuffer, mStringBuffer);
1047 LOGE("unable to read device property, response: %04X", ret);