Home
last modified time | relevance | path

Searched refs:mediaUri (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_AlbumsTest.java176 final Uri mediaUri = mContentResolver in testAlbumArt() local
178 final long mediaId = ContentUris.parseId(mediaUri); in testAlbumArt()
181 try (Cursor c = mContentResolver.query(mediaUri, null, null, null, null)) { in testAlbumArt()
190 assertNotNull(mContentResolver.loadThumbnail(mediaUri, new Size(32, 32), null)); in testAlbumArt()
204 mContentResolver.delete(mediaUri, null, null); in testAlbumArt()
207 mContentResolver.loadThumbnail(mediaUri, new Size(32, 32), null); in testAlbumArt()
DMediaStore_Audio_MediaTest.java102 Uri mediaUri = Media.getContentUri(mVolumeName); in testStoreAudioMedia() local
103 Uri uri = mContentResolver.insert(mediaUri, values); in testStoreAudioMedia()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerConnectionTest.java96 assertNotNull(mMediaScannerConnectionClient.mediaUri); in testMediaScannerConnection()
146 public Uri mediaUri; field in MediaScannerConnectionTest.MockMediaScannerConnectionClient
154 mediaUri = uri; in onScanCompleted()
DMediaScannerTest.java135 final Uri media1Uri = mMediaScannerConnectionClient.mediaUri; in testLocalizeRingtoneTitles()
152 final Uri media2Uri = mMediaScannerConnectionClient.mediaUri; in testLocalizeRingtoneTitles()
180 Uri insertUri = mMediaScannerConnectionClient.mediaUri; in testMediaScanner()
303 Uri file1Uri = mMediaScannerConnectionClient.mediaUri; in testWildcardPaths()
310 Uri file2Uri = mMediaScannerConnectionClient.mediaUri; in testWildcardPaths()
390 Uri uri = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest()
414 Uri uri2 = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest()
678 public Uri mediaUri; field in MediaScannerTest.MockMediaScannerConnectionClient
687 mediaUri = uri; in onScanCompleted()
693 mediaUri = null; in reset()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java182 final Uri mediaUri = MediaStore.getMediaUri(mActivity, docUri); in testGetDocumentUri_Symmetry() local
183 Log.v(TAG, "Media " + mediaUri); in testGetDocumentUri_Symmetry()
184 assertNotNull(mediaUri); in testGetDocumentUri_Symmetry()
186 assertEquals(mMediaStoreUri, mediaUri); in testGetDocumentUri_Symmetry()