Searched refs:audioUri (Results 1 – 4 of 4) sorted by relevance
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | PublicVolumePlaylistTest.java | 99 final Uri audioUri = contentResolver.insert( in testEjectedVolume() local 101 assertNotNull(audioUri); in testEjectedVolume() 102 try (OutputStream out = contentResolver.openOutputStream(audioUri)) { in testEjectedVolume() 106 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, ContentUris.parseId(audioUri)); in testEjectedVolume()
|
D | LegacyProviderMigrationTest.java | 297 final Uri audioUri = in testLegacy_PlaylistMap() local 300 values.put(MediaColumns._ID, audioUri.getLastPathSegment()); in testLegacy_PlaylistMap() 303 long audioId = ContentUris.parseId(audioUri); in testLegacy_PlaylistMap()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 1474 final Uri audioUri = in testQueryAudioViewsNoItemWithColumn() local 1491 Uri result = sIsolatedResolver.insert(audioUri, values); in testQueryAudioViewsNoItemWithColumn() 1518 final Uri audioUri = in testQueryAudioTableNoIsRecordingColumnInR() local 1521 try (Cursor c = sIsolatedResolver.query(audioUri, null, null, null, null)) { in testQueryAudioTableNoIsRecordingColumnInR() 1537 final Uri audioUri = in testQueryIsRecordingInAudioTableExceptionInR() local 1541 try (Cursor c = sIsolatedResolver.query(audioUri, projection, null, null, null)) { in testQueryIsRecordingInAudioTableExceptionInR() 1555 final Uri audioUri = in testQueryAudioTableHasIsRecordingColumnAfterR() local 1558 try (Cursor c = sIsolatedResolver.query(audioUri, null, null, null, null)) { in testQueryAudioTableHasIsRecordingColumnAfterR() 1576 final Uri audioUri = in testQueryIsRecordingInAudioTableAfterR() local 1580 try (Cursor c = sIsolatedResolver.query(audioUri, projection, null, null, null)) { in testQueryIsRecordingInAudioTableAfterR()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4789 final Uri audioUri = Audio.Media.getContentUri(audioVolumeName, audioId); in bulkInsert() local 4790 enforceCallingPermission(audioUri, Bundle.EMPTY, false); in bulkInsert() 5406 final Uri audioUri = ContentUris.withAppendedId( 5411 enforceCallingPermission(audioUri, Bundle.EMPTY, false); 8660 final Uri audioUri = Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL); 8661 try (Cursor c = queryForSingleItem(audioUri, 8667 try (Cursor c = queryForSingleItem(audioUri, 8686 final Uri audioUri = Audio.Media.getContentUri(volumeName, audioId); 8693 final File audioFile = queryForDataFile(audioUri, null); 8732 final Uri audioUri = Audio.Media.getContentUri(audioVolumeName, audioId); [all …]
|