/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | ClientPlaylistTest.java | 37 import android.provider.MediaStore.Audio.Playlists; 76 private final Uri mExternalPlaylists = MediaStore.Audio.Playlists 132 final Uri membersUri = MediaStore.Audio.Playlists.Members in testAdd() 137 mValues.put(Playlists.Members.AUDIO_ID, mRed); in testAdd() 141 mValues.put(Playlists.Members.AUDIO_ID, mGreen); in testAdd() 150 mValues.put(Playlists.Members.AUDIO_ID, mBlue); in testAdd() 151 mValues.put(Playlists.Members.PLAY_ORDER, 1); in testAdd() 166 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL), playlistId); in testMove() 168 final Uri membersUri = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testMove() 176 boolean result = Playlists.Members.moveItem(mContentResolver, playlistId, 0, 2); in testMove() [all …]
|
D | PlaylistPerformanceTest.java | 33 import android.provider.MediaStore.Audio.Playlists; 55 private static final Uri PLAYLISTS_URI = Playlists 88 final Uri membersUri = Playlists.Members in testBulkInsertPlaylistMembers() 109 final Uri membersUri = Playlists.Members in testDeletePlaylistMembers() 121 actual += mContentResolver.delete(membersUri, Playlists.Members.AUDIO_ID + "=?", in testDeletePlaylistMembers() 157 values.put(Playlists.Members.AUDIO_ID, memberIds[i]); in createValuesForMembers()
|
D | PublicVolumePlaylistTest.java | 79 final Uri externalPlaylists = MediaStore.Audio.Playlists in testEjectedVolume() 85 final Uri members = MediaStore.Audio.Playlists.Members in testEjectedVolume() 103 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, ContentUris.parseId(audioUri)); in testEjectedVolume() 110 MediaStore.Audio.Playlists.Members.AUDIO_ID}, Bundle.EMPTY, null)) { in testEjectedVolume() 117 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 | 123 final Uri membersUri = MediaStore.Audio.Playlists.Members in doPlaylist() 127 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 148 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 168 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist() 202 final Uri membersUri = MediaStore.Audio.Playlists.Members in testBrokenPlaylistM3u() 224 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistDeletion() 238 final Uri membersUri = MediaStore.Audio.Playlists.Members in testPlaylistDeletion() 258 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistMembersDeletion() 272 final Uri membersUri = MediaStore.Audio.Playlists.Members in testPlaylistMembersDeletion()
|
D | MediaProviderTest.java | 1387 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 | 165 import android.provider.MediaStore.Audio.Playlists; 791 consumer.accept(Audio.Playlists.getContentUri(volumeName)); in acceptWithExpansion() 806 MediaStore.Audio.Playlists.getContentUri(volumeName), id)); in acceptWithExpansion() 3009 return Audio.Playlists.CONTENT_TYPE; in getType() 3535 MediaStore.Audio.Playlists.getContentUri(resolvedVolumeName), playlistId); in bulkInsert() 3544 final long audioId = each.getAsLong(Audio.Playlists.Members.AUDIO_ID); in bulkInsert() 3876 String name = values.getAsString(Audio.Playlists.NAME); in insertFile() 4136 MediaStore.Audio.Playlists.getContentUri(resolvedVolumeName), playlistId); in insertInternal() 4139 .getAsLong(MediaStore.Audio.Playlists.Members.AUDIO_ID); in insertInternal() 4156 return ContentUris.withAppendedId(MediaStore.Audio.Playlists.Members in insertInternal() [all …]
|
D | DatabaseHelper.java | 1054 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, rowId)); in migratePlaylistFiles() 1068 MediaStore.Audio.Playlists.Members.AUDIO_ID, in createPlaylistFile() 1069 MediaStore.Audio.Playlists.Members.PLAY_ORDER, in createPlaylistFile() 1075 Audio.Playlists.Members.DEFAULT_SORT_ORDER)) { in createPlaylistFile() 1186 + getColumnsForCollection(Audio.Playlists.class) in createLatestViews()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 191 …@Deprecated public static final class MediaStore.Audio.Playlists implements android.provider.BaseC… 192 ctor @Deprecated public MediaStore.Audio.Playlists(); 201 …@Deprecated public static final class MediaStore.Audio.Playlists.Members implements android.provid… 202 ctor @Deprecated public MediaStore.Audio.Playlists.Members();
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 3208 public static final class Playlists implements BaseColumns, class in MediaStore.Audio 3256 .withAppendedId(Audio.Playlists.getContentUri(volumeName), playlistId) in getContentUri() 3270 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", in moveItem() 3277 values.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, to); in moveItem()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 585 final Uri playlistsUri = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in resolvePlaylists() 970 MediaStore.Audio.Playlists.getContentUri(mVolumeName), in getFirstResult()
|