Home | History | Annotate | Download | only in mtp

Lines Matching refs:MtpConstants

97             case MtpConstants.PROPERTY_STORAGE_ID:
99 type = MtpConstants.TYPE_UINT32;
101 case MtpConstants.PROPERTY_OBJECT_FORMAT:
103 type = MtpConstants.TYPE_UINT16;
105 case MtpConstants.PROPERTY_PROTECTION_STATUS:
107 type = MtpConstants.TYPE_UINT16;
109 case MtpConstants.PROPERTY_OBJECT_SIZE:
111 type = MtpConstants.TYPE_UINT64;
113 case MtpConstants.PROPERTY_OBJECT_FILE_NAME:
115 type = MtpConstants.TYPE_STR;
117 case MtpConstants.PROPERTY_NAME:
119 type = MtpConstants.TYPE_STR;
121 case MtpConstants.PROPERTY_DATE_MODIFIED:
123 type = MtpConstants.TYPE_STR;
125 case MtpConstants.PROPERTY_DATE_ADDED:
127 type = MtpConstants.TYPE_STR;
129 case MtpConstants.PROPERTY_ORIGINAL_RELEASE_DATE:
131 type = MtpConstants.TYPE_STR;
133 case MtpConstants.PROPERTY_PARENT_OBJECT:
135 type = MtpConstants.TYPE_UINT32;
137 case MtpConstants.PROPERTY_PERSISTENT_UID:
140 type = MtpConstants.TYPE_UINT128;
142 case MtpConstants.PROPERTY_DURATION:
144 type = MtpConstants.TYPE_UINT32;
146 case MtpConstants.PROPERTY_TRACK:
148 type = MtpConstants.TYPE_UINT16;
150 case MtpConstants.PROPERTY_DISPLAY_NAME:
152 type = MtpConstants.TYPE_STR;
154 case MtpConstants.PROPERTY_ARTIST:
155 type = MtpConstants.TYPE_STR;
157 case MtpConstants.PROPERTY_ALBUM_NAME:
158 type = MtpConstants.TYPE_STR;
160 case MtpConstants.PROPERTY_ALBUM_ARTIST:
162 type = MtpConstants.TYPE_STR;
164 case MtpConstants.PROPERTY_GENRE:
166 type = MtpConstants.TYPE_STR;
168 case MtpConstants.PROPERTY_COMPOSER:
170 type = MtpConstants.TYPE_STR;
172 case MtpConstants.PROPERTY_DESCRIPTION:
174 type = MtpConstants.TYPE_STR;
177 type = MtpConstants.TYPE_UNDEFINED;
291 return new MtpPropertyList(0, MtpConstants.RESPONSE_SPECIFICATION_BY_DEPTH_UNSUPPORTED);
330 return new MtpPropertyList(0, MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE);
336 MtpConstants.RESPONSE_OK);
353 case MtpConstants.PROPERTY_PROTECTION_STATUS:
355 result.append(handle, propertyCode, MtpConstants.TYPE_UINT16, 0);
357 case MtpConstants.PROPERTY_OBJECT_FILE_NAME:
363 result.setResult(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE);
366 case MtpConstants.PROPERTY_NAME:
383 result.setResult(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE);
386 case MtpConstants.PROPERTY_DATE_MODIFIED:
387 case MtpConstants.PROPERTY_DATE_ADDED:
391 case MtpConstants.PROPERTY_ORIGINAL_RELEASE_DATE:
397 case MtpConstants.PROPERTY_PERSISTENT_UID:
402 result.append(handle, propertyCode, MtpConstants.TYPE_UINT128, puid);
404 case MtpConstants.PROPERTY_TRACK:
405 result.append(handle, propertyCode, MtpConstants.TYPE_UINT16,
408 case MtpConstants
412 case MtpConstants.PROPERTY_ALBUM_NAME:
416 case MtpConstants.PROPERTY_GENRE:
421 result.setResult(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE);
425 if (property.type == MtpConstants.TYPE_STR) {
427 } else if (property.type == MtpConstants.TYPE_UNDEFINED) {
440 return new MtpPropertyList(0, MtpConstants.RESPONSE_GENERAL_ERROR);