Home
last modified time | relevance | path

Searched refs:contentUri (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DSearchRecentSuggestionsProviderTest.java57 final Uri contentUri = Uri.parse(uriStr); in testSearchRecentSuggestionsProvider() local
60 Cursor c = s.query(contentUri, null, null, selArgs, null); in testSearchRecentSuggestionsProvider()
64 c = s.query(contentUri, null, null, selArgs, null); in testSearchRecentSuggestionsProvider()
68 c = s.query(contentUri, null, null, selArgs, null); in testSearchRecentSuggestionsProvider()
72 c = s.query(contentUri, null, null, selArgs, null); in testSearchRecentSuggestionsProvider()
DClipboardManagerTest.java157 Uri contentUri = Uri.parse("content://cts/test/for/clipboardmanager"); in testSetPrimaryClip_contentUri() local
159 "ContentUriLabel", contentUri); in testSetPrimaryClip_contentUri()
162 new ExpectedClipItem(null, null, contentUri)); in testSetPrimaryClip_contentUri()
DContextTest.java1751 Uri contentUri = mContentUriTestService.getContentUriForContext(packageAccessType, in internalTestCheckContentUriPermissionFull() local
1755 assertNotNull("Can't retrieve content URI for args (" + argsInfo + ")", contentUri); in internalTestCheckContentUriPermissionFull()
1764 contentUri); in internalTestCheckContentUriPermissionFull()
1766 int actual = mContext.checkContentUriPermissionFull(contentUri, myPid, myUid, in internalTestCheckContentUriPermissionFull()
1771 msg = getInternalContentUriErrorMessage(hasWrite, "write", packageAccessType, contentUri); in internalTestCheckContentUriPermissionFull()
1773 actual = mContext.checkContentUriPermissionFull(contentUri, myPid, myUid, in internalTestCheckContentUriPermissionFull()
1779 packageAccessType, contentUri); in internalTestCheckContentUriPermissionFull()
1781 actual = mContext.checkContentUriPermissionFull(contentUri, myPid, myUid, in internalTestCheckContentUriPermissionFull()
1787 int packageAccessType, Uri contentUri) { in getInternalContentUriErrorMessage() argument
1793 sb.append(contentUri); in getInternalContentUriErrorMessage()
/cts/tests/MediaProviderTranscode/helper/src/android/mediaprovidertranscode/cts/
DTranscodeTestHelper.java52 Uri contentUri = FileProvider.getUriForFile(this, getPackageName(), file); in onCreate() local
55 intent.putExtra(queryType, contentUri); in onCreate()
60 contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION in onCreate() local
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
DShellCommandUtils.java110 public static String deleteContent(String contentUri) { in deleteContent() argument
111 return "content delete --uri " + contentUri; in deleteContent()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java384 final Uri contentUri = (new Uri.Builder()) in sendMmsMessage() local
395 contentUri, null/*locationUrl*/, null/*configOverrides*/, pendingIntent); in sendMmsMessage()
398 contentUri, null/*locationUrl*/, null/*configOverrides*/, pendingIntent, in sendMmsMessage()
556 final Uri contentUri = (new Uri.Builder()) in downloadMultimediaMessage() local
570 smsManager.downloadMultimediaMessage(context, "foo/fake", contentUri, in downloadMultimediaMessage()
576 smsManager.downloadMultimediaMessage(context, "foo/fake", contentUri, in downloadMultimediaMessage()
DFakeCarrierMessagingService.java80 public void onDownloadMms(Uri contentUri, int subId, Uri location, in onDownloadMms() argument
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20918/test-app/src/android/security/cts/CVE_2023_20918_test/
DDeviceTest.java85 final String uriString = context.getString(R.string.contentUri); in testCVE_2023_20918()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java96 final Uri contentUri = Uri.parse("content://" + packageName + ".testresultsprovider"); in getResultContentUri() local
97 return Uri.withAppendedPath(contentUri, RESULTS_PATH); in getResultContentUri()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20917/src/android/security/cts/CVE_2023_20917/
DDeviceTest.java104 intent.setData(Uri.parse(context.getString(R.string.contentUri))); in testCVE_2023_20917()
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/
DScopedStorageTestHelper.java486 Uri contentUri = FileProvider.getUriForFile(getApplicationContext(), in accessFile() local
488 intent.putExtra(queryType, contentUri); in accessFile()
492 contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION in accessFile()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_Artists_AlbumsTest.java79 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri(mVolumeName, 1); in testGetContentUri() local
80 assertNotNull(c = mContentResolver.query(contentUri, null, null, null, null)); in testGetContentUri()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java734 final Uri contentUri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI; in getScreenshotsFromLastFiveSeconds() local
736 try (Cursor cursor = mContentResolver.query(contentUri, in getScreenshotsFromLastFiveSeconds()
745 final Uri screenshotUri = ContentUris.withAppendedId(contentUri, id); in getScreenshotsFromLastFiveSeconds()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_DataTest.java441 Uri contentUri = ContactsContract.CommonDataKinds.Contactables.CONTENT_URI; in testContactablesUri() local
443 assertCursorStoredValuesWithRawContactsFilter(contentUri, in testContactablesUri()
459 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, contentUri, null, in testContactablesUri()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java1085 final Uri contentUri = ContentUris.withAppendedId(uri, id); in clearOwnFiles() local
1086 resolver.delete(contentUri, null); in clearOwnFiles()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java837 final Uri contentUri = MediaStore.Files.getContentUri(sStorageVolumeName); in getFileUri() local
839 return id == -1 ? null : ContentUris.withAppendedId(contentUri, id); in getFileUri()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java302 Uri contentUri = FileProvider.getUriForFile( in testPlayContentUri() local
304 mediaPlayer.setDataSource(mContext, contentUri); in testPlayContentUri()