/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_TestDataBuilder.java | 66 protected abstract Uri getContentUri(); in getContentUri() method in ContactsContract_TestDataBuilder.Builder 98 mUri = ContentUris.withAppendedId(getContentUri(), mId); in getUri() 130 mUri = mProvider.insert(getContentUri(), mValues); in insertDependent() 131 assertNotNull("Could not insert a row in " + getContentUri(), mUri); in insertDependent() 187 mCursor = mProvider.query(getContentUri(), null, in loadUsingValues() 191 fail("No data rows for " + getContentUri() + "[" + mValues.toString() + "]"); in loadUsingValues() 260 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestRawContact 283 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestContact 309 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestGroup 323 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestData
|
D | MediaStore_Audio_Artists_AlbumsTest.java | 43 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri( in testGetContentUri() 48 contentUri = MediaStore.Audio.Artists.Albums.getContentUri( in testGetContentUri() 55 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1), in testGetContentUri() 77 Uri artistsAlbumsUri = MediaStore.Audio.Artists.Albums.getContentUri(isInternal ? in testStoreAudioArtistsAlbums()
|
D | MediaStore_Audio_GenresTest.java | 44 Genres.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 49 Genres.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, in testGetContentUri() 59 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null)); in testGetContentUri() 127 Uri membersUri = Members.getContentUri(volumeName, genreId); in testGetContentUriForAudioId()
|
D | MediaStore_Audio_PlaylistsTest.java | 44 Playlists.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 51 Playlists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, in testGetContentUri() 60 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null, in testGetContentUri()
|
D | MediaStore_Audio_ArtistsTest.java | 42 Artists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 46 Artists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 52 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)); in testGetContentUri()
|
D | MediaStore_Audio_Genres_MembersTest.java | 70 Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, 1), null, in testGetContentUri() 76 Members.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME, 1), null, in testGetContentUri() 86 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, in testGetContentUri() 107 Uri membersUri = Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, in testStoreAudioGenresMembersExternal() 208 Uri members2Uri = Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, in testStoreAudioGenresMembersExternal() 263 membersUri = Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, in testStoreAudioGenresMembersExternal()
|
D | MediaStore_Video_ThumbnailsTest.java | 65 Uri internalUri = Thumbnails.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME); in testGetContentUri() 66 Uri externalUri = Thumbnails.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME); in testGetContentUri()
|
D | MediaStore_Audio_AlbumsTest.java | 51 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 55 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 61 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); in testGetContentUri()
|
D | MediaStore_Audio_MediaTest.java | 43 Media.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 47 Media.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, in testGetContentUri() 53 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
|
D | MediaStore_Images_ThumbnailsTest.java | 189 Uri fileuri = MediaStore.Files.getContentUri("external", imageId); in testQueryExternalMiniThumbnails() 220 assertNotNull(c = mContentResolver.query(Thumbnails.getContentUri("internal"), null, null, in testGetContentUri() 223 assertNotNull(c = mContentResolver.query(Thumbnails.getContentUri("external"), null, null, in testGetContentUri() 229 assertNull(mContentResolver.query(Thumbnails.getContentUri(volume), null, null, null, in testGetContentUri()
|
D | MediaStore_Video_MediaTest.java | 50 assertNotNull(c = mContentResolver.query(Media.getContentUri("internal"), null, null, null, in testGetContentUri() 53 assertNotNull(c = mContentResolver.query(Media.getContentUri("external"), null, null, null, in testGetContentUri() 59 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 137 Members.getContentUri("external", 1337).toString()); in testGetContentUri() 139 Members.getContentUri("internal", 3007).toString()); in testGetContentUri() 205 Uri membersUri = Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, in testStoreAudioPlaylistsMembersExternal() 364 Uri members2Uri = Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, in testStoreAudioPlaylistsMembersExternal() 409 membersUri = Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, in testStoreAudioPlaylistsMembersExternal()
|
D | MediaStore_FilesTest.java | 92 Uri allFilesUri = MediaStore.Files.getContentUri(volumeName); in testGetContentUri() 116 Uri rowUri = MediaStore.Files.getContentUri(volumeName, fileId); in testGetContentUri() 184 Uri allFilesUri = MediaStore.Files.getContentUri(volumeName); in testCaseSensitivity() 455 Uri dirUri = mResolver.insert(MediaStore.Files.getContentUri("external"), values); in testAccess()
|
D | MediaStore_Images_MediaTest.java | 183 assertNotNull(c = mContentResolver.query(Media.getContentUri("internal"), null, null, null, in testGetContentUri() 186 assertNotNull(c = mContentResolver.query(Media.getContentUri("external"), null, null, null, in testGetContentUri() 192 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerTest.java | 104 mContext.getContentResolver().delete(MediaStore.Audio.Media.getContentUri("external"), in cleanup() 139 Uri nomediauri = res.insert(MediaStore.Files.getContentUri("external"), values); in testMediaScanner() 167 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner() 170 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner() 191 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid), in testMediaScanner() 212 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid), in testMediaScanner() 264 file1Uri = MediaStore.Files.getContentUri("external", file1id); in testWildcardPaths() 265 file2Uri = MediaStore.Files.getContentUri("external", file2id); in testWildcardPaths() 281 c = res.query(MediaStore.Files.getContentUri("external", parent1id), in testWildcardPaths() 287 c = res.query(MediaStore.Files.getContentUri("external", parent2id), in testWildcardPaths() [all …]
|