/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | OtherAppFilesRule.java | 145 final Uri mediaUri = MediaStore.scanFile(mContentResolver, newFile); in createFileAsOther() local 146 assertThat(mediaUri).isNotNull(); in createFileAsOther() 147 return mediaUri; in createFileAsOther() 155 final Uri mediaUri = MediaStore.scanFile(mContentResolver, file); in createEmptyFileAsOther() local 156 assertThat(mediaUri).isNotNull(); in createEmptyFileAsOther() 157 return mediaUri; in createEmptyFileAsOther()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaScannerConnectionTest.java | 94 assertNotNull(mMediaScannerConnectionClient.mediaUri); in testMediaScannerConnection() 128 public Uri mediaUri; field in MediaScannerConnectionTest.MockMediaScannerConnectionClient 136 mediaUri = uri; in onScanCompleted()
|
D | MediaScannerTest.java | 162 final Uri media1Uri = mMediaScannerConnectionClient.mediaUri; in testLocalizeRingtoneTitles() 179 final Uri media2Uri = mMediaScannerConnectionClient.mediaUri; in testLocalizeRingtoneTitles() 207 Uri insertUri = mMediaScannerConnectionClient.mediaUri; in testMediaScanner() 330 Uri file1Uri = mMediaScannerConnectionClient.mediaUri; in testWildcardPaths() 337 Uri file2Uri = mMediaScannerConnectionClient.mediaUri; in testWildcardPaths() 419 Uri uri = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest() 443 Uri uri2 = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest() 726 public Uri mediaUri; field in MediaScannerTest.MockMediaScannerConnectionClient 735 mediaUri = uri; in onScanCompleted() 741 mediaUri = null; in reset()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/ |
D | MediaCodecFlushActivity.java | 62 Uri mediaUri = Uri.fromFile(new File("/data/local/tmp/video.webm")); in onCreate() local 63 mPlayer.setVideoDataSource(mediaUri, null); in onCreate() 64 mPlayer.setAudioDataSource(mediaUri, null); in onCreate()
|
D | VolumeLevelChangesActivity.java | 181 Uri mediaUri = getAsResourceUri( in restartVideo() local 183 mPlayer.setVideoDataSource(mediaUri, null); in restartVideo() 184 mPlayer.setAudioDataSource(mediaUri, null); in restartVideo()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Audio_AlbumsTest.java | 177 final Uri mediaUri = mContentResolver in testAlbumArt() local 179 final long mediaId = ContentUris.parseId(mediaUri); in testAlbumArt() 182 try (Cursor c = mContentResolver.query(mediaUri, null, null, null, null)) { in testAlbumArt() 191 assertNotNull(mContentResolver.loadThumbnail(mediaUri, new Size(32, 32), null)); in testAlbumArt() 205 mContentResolver.delete(mediaUri, null, null); in testAlbumArt() 209 mContentResolver.loadThumbnail(mediaUri, new Size(32, 32), null); in testAlbumArt()
|
D | MediaStore_Audio_MediaTest.java | 125 Uri mediaUri = Media.getContentUri(mVolumeName); in testStoreAudioMedia() local 126 Uri uri = mContentResolver.insert(mediaUri, values); in testStoreAudioMedia() 203 Uri mediaUri = Media.getContentUri(mVolumeName); in testStoreNotAudioRecordingMedia() local 204 Uri uri = mContentResolver.insert(mediaUri, values); in testStoreNotAudioRecordingMedia() 313 final Uri mediaUri = ContentUris.withAppendedId(mExternalFiles, in testMediaWithSubtitles() local 325 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
|
D | MediaStore_Video_MediaTest.java | 461 final Uri mediaUri = ContentUris.withAppendedId(mExternalFiles, in testMediaWithSubtitles() local 473 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 207 final Uri mediaUri = MediaStore.getMediaUri(mActivity, docUri); in testGetDocumentUri_symmetry_externalStorageProvider() local 208 Log.v(TAG, "Media " + mediaUri); in testGetDocumentUri_symmetry_externalStorageProvider() 209 assertNotNull(mediaUri); in testGetDocumentUri_symmetry_externalStorageProvider() 211 assertEquals(mMediaStoreUri, mediaUri); in testGetDocumentUri_symmetry_externalStorageProvider() 212 assertAccessToMediaUri(mediaUri, mFile); in testGetDocumentUri_symmetry_externalStorageProvider() 232 final Uri mediaUri = MediaStore.getMediaUri(mActivity, uri); in testGetMediaUriAccess_mediaDocumentsProvider() local 234 assertAccessToMediaUri(mediaUri, mFile); in testGetMediaUriAccess_mediaDocumentsProvider() 336 private void assertAccessToMediaUri(Uri mediaUri, File file) { in assertAccessToMediaUri() argument 339 mediaUri, projection, null, null, null)) { in assertAccessToMediaUri()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/ |
D | ModeSwitchingTestActivity.java | 110 Uri mediaUri = getAsResourceUri(R.raw.bunny_1280x720_24fps_VP9); in onCreate() local 111 mPlayer.setVideoDataSource(mediaUri, null); in onCreate() 112 mPlayer.setAudioDataSource(mediaUri, null); in onCreate()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderTest.java | 3327 Uri mediaUri = Uri.fromFile(new File(mInpPrefix, videoName)); 3328 mMediaCodecPlayer.setAudioDataSource(mediaUri, null); 3329 mMediaCodecPlayer.setVideoDataSource(mediaUri, null); 3416 Uri mediaUri = Uri.fromFile(new File(mInpPrefix, videoName)); 3417 mMediaCodecPlayer.setAudioDataSource(mediaUri, null); 3418 mMediaCodecPlayer.setVideoDataSource(mediaUri, null); 3492 Uri mediaUri = Uri.fromFile(new File(mInpPrefix, videoName)); 3493 mMediaCodecPlayer.setAudioDataSource(mediaUri, null); 3494 mMediaCodecPlayer.setVideoDataSource(mediaUri, null); 3584 Uri mediaUri = Uri.fromFile(new File(mInpPrefix, videoName)); [all …]
|