/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | ClientPlaylistTest.java | 37 import android.provider.MediaStore.Audio.Playlists; 79 private final Uri mExternalPlaylists = MediaStore.Audio.Playlists 135 final Uri membersUri = MediaStore.Audio.Playlists.Members in testAdd() 140 mValues.put(Playlists.Members.AUDIO_ID, mRed); in testAdd() 144 mValues.put(Playlists.Members.AUDIO_ID, mGreen); in testAdd() 153 mValues.put(Playlists.Members.AUDIO_ID, mBlue); in testAdd() 154 mValues.put(Playlists.Members.PLAY_ORDER, 1); in testAdd() 169 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL), playlistId); in testMove() 171 final Uri membersUri = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testMove() 179 boolean result = Playlists.Members.moveItem(mContentResolver, playlistId, 0, 2); in testMove() [all …]
|
D | PlaylistPerformanceTest.java | 33 import android.provider.MediaStore.Audio.Playlists; 57 private static final Uri PLAYLISTS_URI = Playlists 90 final Uri membersUri = Playlists.Members in testBulkInsertPlaylistMembers() 111 final Uri membersUri = Playlists.Members in testDeletePlaylistMembers() 123 actual += mContentResolver.delete(membersUri, Playlists.Members.AUDIO_ID + "=?", in testDeletePlaylistMembers() 159 values.put(Playlists.Members.AUDIO_ID, memberIds[i]); in createValuesForMembers()
|
D | PublicVolumePlaylistTest.java | 82 final Uri externalPlaylists = MediaStore.Audio.Playlists in testEjectedVolume() 88 final Uri members = MediaStore.Audio.Playlists.Members in testEjectedVolume() 106 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, ContentUris.parseId(audioUri)); in testEjectedVolume() 113 MediaStore.Audio.Playlists.Members.AUDIO_ID}, Bundle.EMPTY, null)) { in testEjectedVolume() 120 MediaStore.Audio.Playlists.Members.AUDIO_ID}, Bundle.EMPTY, null)) { in testEjectedVolume()
|
D | LegacyProviderMigrationTest.java | 120 Uri playlists = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in setUp() 278 playlistMap.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, 1); in testLegacy_PlaylistMap() 290 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, playlistId) in testLegacy_PlaylistMap() 304 playlistMap.put(MediaStore.Audio.Playlists.Members.PLAYLIST_ID, playlistId); in testLegacy_PlaylistMap() 305 playlistMap.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, audioId); in testLegacy_PlaylistMap() 313 playlistMap.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, 4); in testLegacy_PlaylistMap() 340 playlistMap.getAsLong(MediaStore.Audio.Playlists.Members.PLAYLIST_ID); in testLegacy_PlaylistMap() 346 Uri playlists = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in testLegacy_PlaylistMap() 364 Uri members = MediaStore.Audio.Playlists.Members.getContentUri( in testLegacy_PlaylistMap() 366 final String[] project = { MediaStore.Audio.Playlists.Members.AUDIO_ID }; in testLegacy_PlaylistMap() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 187 Uri contentUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in load() 189 MediaStore.Audio.Playlists._ID in load() 191 String sortOrder = MediaStore.Audio.Playlists._ID; in load() 195 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists._ID); in load() 391 Uri contentUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in loadData() 392 String[] projection = { MediaStore.Audio.Playlists.NAME }; in loadData() 393 String selection = MediaStore.Audio.Playlists._ID + " = ?"; in loadData() 399 int nameColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.NAME); in loadData() 481 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in loadAudios() 483 String[] projection = { MediaStore.Audio.Playlists.Members.AUDIO_ID }; in loadAudios() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | ResolvePlaylistTest.java | 121 final Uri membersUri = MediaStore.Audio.Playlists.Members in doPlaylist() 125 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 146 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 166 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 200 final Uri membersUri = MediaStore.Audio.Playlists.Members in testBrokenPlaylistM3u() 222 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistDeletion() 236 final Uri membersUri = MediaStore.Audio.Playlists.Members in testPlaylistDeletion() 256 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistMembersDeletion() 270 final Uri membersUri = MediaStore.Audio.Playlists.Members in testPlaylistMembersDeletion()
|
D | MediaProviderTest.java | 1740 assertNull(mp.getRedactedUri(MediaStore.Audio.Playlists.getContentUri(volumeName))); in testRedactionForInvalidUris()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AudioPlayerActivity.java | 96 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() 100 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Playlists.CONTENT_TYPE); in start() 107 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() 109 .appendEncodedPath(MediaStore.Audio.Playlists.Members.CONTENT_DIRECTORY) in start() 113 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Playlists.ENTRY_CONTENT_TYPE); in start()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 248 import android.provider.MediaStore.Audio.Playlists; 1170 consumer.accept(Audio.Playlists.getContentUri(volumeName)); in acceptWithExpansion() 1185 MediaStore.Audio.Playlists.getContentUri(volumeName), id)); in acceptWithExpansion() 4199 return Audio.Playlists.CONTENT_TYPE; in getType() 4779 MediaStore.Audio.Playlists.getContentUri(resolvedVolumeName), playlistId); in bulkInsert() 4788 final long audioId = each.getAsLong(Audio.Playlists.Members.AUDIO_ID); in bulkInsert() 5135 String name = values.getAsString(Audio.Playlists.NAME); in insertFile() 5399 MediaStore.Audio.Playlists.getContentUri(resolvedVolumeName), playlistId); 5402 .getAsLong(MediaStore.Audio.Playlists.Members.AUDIO_ID); 5419 return ContentUris.withAppendedId(MediaStore.Audio.Playlists.Members [all …]
|
D | DatabaseHelper.java | 1409 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, rowId)); in migratePlaylistFiles() 1423 MediaStore.Audio.Playlists.Members.AUDIO_ID, in createPlaylistFile() 1424 MediaStore.Audio.Playlists.Members.PLAY_ORDER, in createPlaylistFile() 1430 Audio.Playlists.Members.DEFAULT_SORT_ORDER)) { in createPlaylistFile() 1541 + getColumnsForCollection(Audio.Playlists.class) in createLatestViews()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 3692 public static final class Playlists implements BaseColumns, class in MediaStore.Audio 3740 .withAppendedId(Audio.Playlists.getContentUri(volumeName), playlistId) in getContentUri() 3754 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", in moveItem() 3761 values.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, to); in moveItem()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 304 …@Deprecated public static final class MediaStore.Audio.Playlists implements android.provider.BaseC… 305 ctor @Deprecated public MediaStore.Audio.Playlists(); 314 …@Deprecated public static final class MediaStore.Audio.Playlists.Members implements android.provid… 315 ctor @Deprecated public MediaStore.Audio.Playlists.Members();
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 634 final Uri playlistsUri = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in resolvePlaylists() 1021 MediaStore.Audio.Playlists.getContentUri(mVolumeName), in getFirstResult()
|