Home
last modified time | relevance | path

Searched refs:getContentUri (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_TestDataBuilder.java66 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
DMediaStore_Audio_Artists_AlbumsTest.java43 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()
DMediaStore_Audio_GenresTest.java44 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()
DMediaStore_Audio_PlaylistsTest.java44 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()
DMediaStore_Audio_ArtistsTest.java42 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()
DMediaStore_Audio_Genres_MembersTest.java70 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()
DMediaStore_Audio_AlbumsTest.java51 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()
DMediaStore_Video_ThumbnailsTest.java65 Uri internalUri = Thumbnails.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME); in testGetContentUri()
66 Uri externalUri = Thumbnails.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME); in testGetContentUri()
DMediaStore_Audio_MediaTest.java43 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()
DMediaStore_Images_ThumbnailsTest.java189 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()
DMediaStore_Video_MediaTest.java50 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()
DMediaStore_Audio_Playlists_MembersTest.java137 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()
DMediaStore_FilesTest.java92 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()
445 Uri dirUri = mResolver.insert(MediaStore.Files.getContentUri("external"), values); in testAccess()
DMediaStore_Images_MediaTest.java198 assertNotNull(c = mContentResolver.query(Media.getContentUri("internal"), null, null, null, in testGetContentUri()
201 assertNotNull(c = mContentResolver.query(Media.getContentUri("external"), null, null, null, in testGetContentUri()
207 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); in testGetContentUri()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java104 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 …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex66437 public static android.net.Uri getContentUri(
66468 public static final android.net.Uri getContentUri(
66496 public static android.net.Uri getContentUri(
66582 public static final android.net.Uri getContentUri(
66621 public static android.net.Uri getContentUri(
66647 public static android.net.Uri getContentUri(
66676 public static final android.net.Uri getContentUri(
66721 public static android.net.Uri getContentUri(
66801 public static android.net.Uri getContentUri(
66871 public static android.net.Uri getContentUri(
[all …]