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.java95 assertNotNull(mMediaScannerConnectionClient.mediaUri); in testMediaScannerConnection()
145 public Uri mediaUri; field in MediaScannerConnectionTest.MockMediaScannerConnectionClient
153 mediaUri = uri; in onScanCompleted()
DMediaScannerTest.java134 final Uri media1Uri = mMediaScannerConnectionClient.mediaUri; in testLocalizeRingtoneTitles()
151 final Uri media2Uri = mMediaScannerConnectionClient.mediaUri; in testLocalizeRingtoneTitles()
179 Uri insertUri = mMediaScannerConnectionClient.mediaUri; in testMediaScanner()
302 Uri file1Uri = mMediaScannerConnectionClient.mediaUri; in testWildcardPaths()
309 Uri file2Uri = mMediaScannerConnectionClient.mediaUri; in testWildcardPaths()
389 Uri uri = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest()
413 Uri uri2 = mMediaScannerConnectionClient.mediaUri; in canonicalizeTest()
677 public Uri mediaUri; field in MediaScannerTest.MockMediaScannerConnectionClient
686 mediaUri = uri; in onScanCompleted()
692 mediaUri = null; in reset()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java206 final Uri mediaUri = MediaStore.getMediaUri(mActivity, docUri); in testGetDocumentUri_Symmetry() local
207 Log.v(TAG, "Media " + mediaUri); in testGetDocumentUri_Symmetry()
208 assertNotNull(mediaUri); in testGetDocumentUri_Symmetry()
210 assertEquals(mMediaStoreUri, mediaUri); in testGetDocumentUri_Symmetry()