Home | History | Annotate | Download | only in jni

Lines Matching full: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,
366 (jlong)handle, 0, (jlong)property, 0, 0);
389 if (property == MTP_PROPERTY_DATE_MODIFIED || property == MTP_PROPERTY_DATE_ADDED) {
396 if (property == MTP_PROPERTY_ORIGINAL_RELEASE_DATE) {
530 MtpObjectProperty property,
534 if (!getObjectPropertyInfo(property, type))
551 (jint)handle, (jint)property, longValue, stringValue);
560 MtpResponseCode MyMtpDatabase::getDevicePropertyValue(MtpDeviceProperty property,
564 if (property == MTP_DEVICE_PROPERTY_BATTERY_LEVEL) {
571 if (!getDevicePropertyInfo(property, type))
575 (jint)property, mLongBuffer, mStringBuffer);
633 MtpResponseCode MyMtpDatabase::setDevicePropertyValue(MtpDeviceProperty property,
637 if (!getDevicePropertyInfo(property, type))
654 (jint)property, longValue, stringValue);
663 MtpResponseCode MyMtpDatabase::resetDeviceProperty(MtpDeviceProperty /*property*/) {
668 uint32_t format, uint32_t property,
673 (jlong)handle, (jint)format, (jlong)property, (jint)groupCode, (jint)depth);
912 MtpObjectProperty property;
951 bool MyMtpDatabase::getObjectPropertyInfo(MtpObjectProperty property, int& type) {
955 if (entry->property == property) {
963 bool MyMtpDatabase::getDevicePropertyInfo(MtpDeviceProperty property, int& type) {
967 if (entry->property == property) {
1014 MtpProperty* MyMtpDatabase::getObjectPropertyDesc(MtpObjectProperty property,
1033 switch (property) {
1036 result = new MtpProperty(property, MTP_TYPE_UINT16, false, format);
1040 result = new MtpProperty(property, MTP_TYPE_UINT16);
1046 result = new MtpProperty(property, MTP_TYPE_UINT32);
1049 result = new MtpProperty(property, MTP_TYPE_UINT64);
1052 result = new MtpProperty(property, MTP_TYPE_UINT128);
1062 result = new MtpProperty(property, MTP_TYPE_STR);
1067 result = new MtpProperty(property, MTP_TYPE_STR);
1072 result = new MtpProperty(property, MTP_TYPE_STR, true);
1075 result = new MtpProperty(property, MTP_TYPE_UINT16);
1079 result = new MtpProperty(property, MTP_TYPE_UINT32);
1083 result = new MtpProperty(property, MTP_TYPE_UINT16);
1087 result = new MtpProperty(property, MTP_TYPE_UINT32);
1095 MtpProperty* MyMtpDatabase::getDevicePropertyDesc(MtpDeviceProperty property) {
1100 switch (property) {
1106 result = new MtpProperty(property, MTP_TYPE_STR, writable);
1110 (jint)property, mLongBuffer, mStringBuffer);
1119 ALOGE("unable to read device property, response: %04X", ret);
1124 result = new MtpProperty(property, MTP_TYPE_UINT8);