Home | History | Annotate | Download | only in mtp

Lines Matching refs:handle

138                 // PUID is concatenation of storageID and object handle
286 MtpPropertyList getPropertyList(int handle, int format, int depth) {
287 //Log.d(TAG, "getPropertyList handle: " + handle + " format: " + format + " depth: " + depth);
297 if (handle == 0xFFFFFFFF) {
302 whereArgs = new String[] { Integer.toString(handle) };
310 if (handle == 0xFFFFFFFF) {
315 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
327 if (depth > 0 || handle == 0xFFFFFFFF || mColumns.length > 1) {
342 handle = (int)c.getLong(0);
351 // handle some special cases
355 result.append(handle, propertyCode, MtpConstants.TYPE_UINT16, 0);
361 result.append(handle, propertyCode, nameFromPath(value));
371 name = queryString(handle, Audio.PlaylistsColumns.NAME);
375 name = queryString(handle, Files.FileColumns.DATA);
381 result.append(handle, propertyCode, name);
389 result.append(handle, propertyCode, format_date_time(c.getInt(column)));
395 result.append(handle, propertyCode, dateTime);
398 // PUID is concatenation of storageID and object handle
401 puid += handle;
402 result.append(handle, propertyCode, MtpConstants.TYPE_UINT128, puid);
405 result.append(handle, propertyCode, MtpConstants.TYPE_UINT16,
409 result.append(handle, propertyCode,
410 queryAudio(handle, Audio.AudioColumns.ARTIST));
413 result.append(handle, propertyCode,
414 queryAudio(handle, Audio.AudioColumns.ALBUM));
417 String genre = queryGenre(handle);
419 result.append(handle, propertyCode, genre);
426 result.append(handle, propertyCode, c.getString(column));
428 result.append(handle, propertyCode, property.type, 0);
430 result.append(handle, propertyCode, property.type,