Lines Matching refs:Media
322 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID);
332 final String[] ccols = new String[] {MediaStore.Audio.Media._ID};
333 String where = MediaStore.Audio.Media.ARTIST_ID + "=" + id + " AND "
334 + MediaStore.Audio.Media.IS_MUSIC + "=1";
335 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, ccols, where,
336 null, MediaStore.Audio.Media.ALBUM_KEY + "," + MediaStore.Audio.Media.TRACK);
347 final String[] ccols = new String[] {MediaStore.Audio.Media._ID};
348 String where = MediaStore.Audio.Media.ALBUM_ID + "=" + id + " AND "
349 + MediaStore.Audio.Media.IS_MUSIC + "=1";
350 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, ccols, where,
351 null, MediaStore.Audio.Media.TRACK);
383 Cursor c = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
384 new String[] {MediaStore.Audio.Media._ID}, MediaStore.Audio.Media.IS_MUSIC + "=1",
456 String[] cols = new String[] {MediaStore.Audio.Media._ID, MediaStore.Audio.Media.DATA,
457 MediaStore.Audio.Media.ALBUM_ID};
459 where.append(MediaStore.Audio.Media._ID + " IN (");
467 Cursor c = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, cols,
491 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, where.toString(), null);
517 // in the media content domain, so update everything.
518 context.getContentResolver().notifyChange(Uri.parse("content://media"), null);
854 private static final Uri sArtworkUri = Uri.parse("content://media/external/audio/albumart");
1037 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI.toString();
1049 Uri uri = Uri.parse("content://media/external/audio/media/" + songid + "/albumart");
1098 Uri ringUri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id);
1101 values.put(MediaStore.Audio.Media.IS_RINGTONE, "1");
1102 values.put(MediaStore.Audio.Media.IS_ALARM, "1");
1110 String[] cols = new String[] {MediaStore.Audio.Media._ID, MediaStore.Audio.Media.DATA,
1111 MediaStore.Audio.Media.TITLE};
1113 String where = MediaStore.Audio.Media._ID + "=" + id;
1115 context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, cols, where, null, null);
1301 Cursor c = res.query(Uri.parse("content://media/external/fs_id"), null, null, null, null);