/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_TestDataBuilder.java | 64 protected abstract Uri getContentUri(); in getContentUri() method in ContactsContract_TestDataBuilder.Builder 96 mUri = ContentUris.withAppendedId(getContentUri(), mId); in getUri() 128 mUri = mProvider.insert(getContentUri(), mValues); in insertDependent() 129 assertNotNull("Could not insert a row in " + getContentUri(), mUri); in insertDependent() 188 mCursor = mProvider.query(getContentUri(), null, in loadUsingValues() 192 fail("No data rows for " + getContentUri() + "[" + mValues.toString() + "]"); in loadUsingValues() 268 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestRawContact 291 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestContact 317 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestGroup 331 protected Uri getContentUri() { in getContentUri() method in ContactsContract_TestDataBuilder.TestData
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_Genres_MembersTest.java | 95 mContentResolver.delete(Media.getContentUri(mVolumeName), in tearDown() 97 mContentResolver.delete(Media.getContentUri(mVolumeName), in tearDown() 105 Members.getContentUri(mVolumeName, 1), null, in testGetContentUri() 114 Uri uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresMembersExternal() 123 assertEquals(ContentUris.withAppendedId(Genres.getContentUri(mVolumeName), genreId), in testStoreAudioGenresMembersExternal() 129 Uri membersUri = Members.getContentUri(mVolumeName, genreId); in testStoreAudioGenresMembersExternal() 196 Uri allMembersUri = MediaStore.Audio.Genres.getContentUri(mVolumeName).buildUpon() in testStoreAudioGenresMembersExternal() 223 uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresMembersExternal() 232 Uri members2Uri = Members.getContentUri(mVolumeName, genre2Id); in testStoreAudioGenresMembersExternal() 274 membersUri = Members.getContentUri(mVolumeName, genreId); in testStoreAudioGenresMembersExternal() [all …]
|
D | MediaStore_Audio_Playlists_MembersTest.java | 155 final Uri uri = Media.getContentUri(mVolumeName); in tearDown() 166 Members.getContentUri("external", 1337).toString()); in testGetContentUri() 168 Members.getContentUri("internal", 3007).toString()); in testGetContentUri() 227 Uri uri = mContentResolver.insert(Playlists.getContentUri(mVolumeName), values); in testStoreAudioPlaylistsMembersExternal() 235 assertEquals(ContentUris.withAppendedId(Playlists.getContentUri(mVolumeName), playlistId), in testStoreAudioPlaylistsMembersExternal() 239 Uri membersUri = Members.getContentUri(mVolumeName, playlistId); in testStoreAudioPlaylistsMembersExternal() 357 mContentResolver.delete(Media.getContentUri(mVolumeName), in testStoreAudioPlaylistsMembersExternal() 392 uri = mContentResolver.insert(Playlists.getContentUri(mVolumeName), values); in testStoreAudioPlaylistsMembersExternal() 400 Uri members2Uri = Members.getContentUri(mVolumeName, playlist2Id); in testStoreAudioPlaylistsMembersExternal() 444 membersUri = Members.getContentUri(mVolumeName, playlistId); in testStoreAudioPlaylistsMembersExternal() [all …]
|
D | MediaStore_Audio_GenresTest.java | 76 Genres.getContentUri(mVolumeName), null, null, in testGetContentUri() 86 Uri uri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testStoreAudioGenresExternal() 113 Uri genreUri = mContentResolver.insert(Genres.getContentUri(mVolumeName), values); in testGetContentUriForAudioId() 128 Uri membersUri = Members.getContentUri(mVolumeName, genreId); in testGetContentUriForAudioId()
|
D | MediaStoreIntentsTest.java | 62 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 63 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 64 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
|
D | MediaStore_Audio_AlbumsTest.java | 82 Albums.getContentUri(mVolumeName), null, null, in testGetContentUri() 90 Uri audioAlbumsUri = Albums.getContentUri(mVolumeName); in testStoreAudioAlbums() 177 .insert(MediaStore.Audio.Media.getContentUri(mVolumeName), v); in testAlbumArt() 187 .withAppendedId(MediaStore.Audio.Albums.getContentUri(mVolumeName), albumId); in testAlbumArt()
|
D | MediaStore_Audio_MediaTest.java | 71 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 78 Media.getContentUri(mVolumeName), null, null, in testGetContentUri() 102 Uri mediaUri = Media.getContentUri(mVolumeName); in testStoreAudioMedia() 147 Uri baseUri = Media.getContentUri(mVolumeName); in testStoreAudioMedia()
|
D | MediaStore_Video_ThumbnailsTest.java | 94 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 99 Uri internalUri = Thumbnails.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME); in testGetContentUri() 100 Uri externalUri = Thumbnails.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME); in testGetContentUri() 184 Files.getContentUri("external"), in testThumbnailGenerationAndCleanup()
|
D | MediaStore_Audio_PlaylistsTest.java | 73 Playlists.getContentUri(mVolumeName), null, null, in testGetContentUri() 89 Uri uri = mContentResolver.insert(Playlists.getContentUri(mVolumeName), values); in testStoreAudioPlaylistsExternal()
|
D | MediaStore_FilesTest.java | 80 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 81 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 82 mExternalFiles = MediaStore.Files.getContentUri(mVolumeName); in setUp() 187 final Uri internalFiles = MediaStore.Files.getContentUri(MediaStore.VOLUME_INTERNAL); in testAccessInternal()
|
D | MediaStore_Audio_ArtistsTest.java | 72 Artists.getContentUri(mVolumeName), null, null, in testGetContentUri() 79 Uri artistsUri = Artists.getContentUri(mVolumeName); in testStoreAudioArtists()
|
D | MediaStore_Audio_Artists_AlbumsTest.java | 74 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri(mVolumeName, 1); in testGetContentUri() 89 Uri artistsAlbumsUri = MediaStore.Audio.Artists.Albums.getContentUri(mVolumeName, artistId); in testStoreAudioArtistsAlbums()
|
D | MediaStore_Images_ThumbnailsTest.java | 115 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 235 Uri fileuri = MediaStore.Files.getContentUri("external", imageId); in testQueryExternalMiniThumbnails() 243 assertNotNull(c = mContentResolver.query(Thumbnails.getContentUri("internal"), null, null, in testGetContentUri() 246 assertNotNull(c = mContentResolver.query(Thumbnails.getContentUri(mVolumeName), null, null, in testGetContentUri() 348 MediaStore.Files.getContentUri("external"), in testThumbnailGenerationAndCleanup()
|
D | MediaStorePendingTest.java | 90 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 91 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 92 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 93 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp()
|
D | MediaStore_VideoTest.java | 68 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp()
|
D | MediaStore_Video_MediaTest.java | 91 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 97 assertNotNull(c = mContentResolver.query(Media.getContentUri("internal"), null, null, null, in testGetContentUri() 100 assertNotNull(c = mContentResolver.query(Media.getContentUri(mVolumeName), null, null, null, in testGetContentUri()
|
D | MediaStore_Images_MediaTest.java | 92 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 210 assertNotNull(c = mContentResolver.query(Media.getContentUri("internal"), null, null, null, in testGetContentUri() 213 assertNotNull(c = mContentResolver.query(Media.getContentUri(mVolumeName), null, null, null, in testGetContentUri()
|
D | MediaStore_DownloadsTest.java | 95 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 96 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp()
|
D | MediaStoreAudioTestHelper.java | 61 final Uri dirUri = MediaStore.Audio.Media.getContentUri(volumeName); in insert()
|
D | MediaStorePlacementTest.java | 71 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
|
D | MediaStoreTest.java | 86 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputContentInfoTest.java | 45 assertEquals(Uri.parse("content://com.example/path"), info.getContentUri()); in testInputContentInfo() 58 assertEquals(info.getContentUri(), targetInfo.getContentUri()); in testInputContentInfo() 74 assertEquals(Uri.parse("content://com.example/path"), info.getContentUri()); in testOptionalConstructorParam()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerTest.java | 115 mContext.getContentResolver().delete(MediaStore.Audio.Media.getContentUri("external"), in cleanup() 222 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner() 225 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner() 246 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid), in testMediaScanner() 267 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid), in testMediaScanner() 319 file1Uri = MediaStore.Files.getContentUri("external", file1id); in testWildcardPaths() 320 file2Uri = MediaStore.Files.getContentUri("external", file2id); in testWildcardPaths() 337 assertEquals(dir1, getRawFile(MediaStore.Files.getContentUri("external", parent1id)) in testWildcardPaths() 339 assertEquals(dir2, getRawFile(MediaStore.Files.getContentUri("external", parent2id)) in testWildcardPaths() 349 res.delete(MediaStore.Files.getContentUri("external", parent1id), null, null); in testWildcardPaths() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 149 MediaStore.Audio.Media.getContentUri(volumeName), id); in getMediaStoreColumnValue() 153 MediaStore.Images.Media.getContentUri(volumeName), id); in getMediaStoreColumnValue() 157 MediaStore.Video.Media.getContentUri(volumeName), id); in getMediaStoreColumnValue() 178 final Uri filesUri = MediaStore.Files.getContentUri( in getMediaType()
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadReceiverTest.java | 223 assertEquals(ContentResolver.SCHEME_CONTENT, pathPair.getContentUri().getScheme()); in testRequestNewFileDescriptors()
|