Lines Matching refs:Media
322 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID); in getSongListForCursor()
332 final String[] ccols = new String[] {MediaStore.Audio.Media._ID}; in getSongListForArtist()
333 String where = MediaStore.Audio.Media.ARTIST_ID + "=" + id + " AND " in getSongListForArtist()
334 + MediaStore.Audio.Media.IS_MUSIC + "=1"; in getSongListForArtist()
335 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, ccols, where, in getSongListForArtist()
336 null, MediaStore.Audio.Media.ALBUM_KEY + "," + MediaStore.Audio.Media.TRACK); in getSongListForArtist()
347 final String[] ccols = new String[] {MediaStore.Audio.Media._ID}; in getSongListForAlbum()
348 String where = MediaStore.Audio.Media.ALBUM_ID + "=" + id + " AND " in getSongListForAlbum()
349 + MediaStore.Audio.Media.IS_MUSIC + "=1"; in getSongListForAlbum()
350 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, ccols, where, in getSongListForAlbum()
351 null, MediaStore.Audio.Media.TRACK); in getSongListForAlbum()
383 Cursor c = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in getAllSongs()
384 new String[] {MediaStore.Audio.Media._ID}, MediaStore.Audio.Media.IS_MUSIC + "=1", in getAllSongs()
456 String[] cols = new String[] {MediaStore.Audio.Media._ID, MediaStore.Audio.Media.DATA, in deleteTracks()
457 MediaStore.Audio.Media.ALBUM_ID}; in deleteTracks()
459 where.append(MediaStore.Audio.Media._ID + " IN ("); in deleteTracks()
467 Cursor c = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, cols, in deleteTracks()
491 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, where.toString(), null); in deleteTracks()
1037 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI.toString();
1098 Uri ringUri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id); in setRingtone()
1101 values.put(MediaStore.Audio.Media.IS_RINGTONE, "1"); in setRingtone()
1102 values.put(MediaStore.Audio.Media.IS_ALARM, "1"); in setRingtone()
1110 String[] cols = new String[] {MediaStore.Audio.Media._ID, MediaStore.Audio.Media.DATA, in setRingtone()
1111 MediaStore.Audio.Media.TITLE}; in setRingtone()
1113 String where = MediaStore.Audio.Media._ID + "=" + id; in setRingtone()
1115 context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, cols, where, null, null); in setRingtone()