/cts/tests/tests/content/src/android/content/cts/ |
D | SearchRecentSuggestionsProviderTest.java | 57 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()
|
D | ClipboardManagerTest.java | 157 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()
|
D | ContextTest.java | 1751 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/ |
D | TranscodeTestHelper.java | 52 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/ |
D | ShellCommandUtils.java | 110 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/ |
D | MmsTest.java | 384 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()
|
D | FakeCarrierMessagingService.java | 80 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/ |
D | DeviceTest.java | 85 final String uriString = context.getString(R.string.contentUri); in testCVE_2023_20918()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 96 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/ |
D | DeviceTest.java | 104 intent.setData(Uri.parse(context.getString(R.string.contentUri))); in testCVE_2023_20917()
|
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 486 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/ |
D | MediaStore_Audio_Artists_AlbumsTest.java | 79 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/ |
D | GameServiceTest.java | 734 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/ |
D | ContactsContract_DataTest.java | 441 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/ |
D | MediaStorageTest.java | 1085 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/ |
D | TestUtils.java | 837 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/ |
D | MediaPlayerTest.java | 302 Uri contentUri = FileProvider.getUriForFile( in testPlayContentUri() local 304 mediaPlayer.setDataSource(mContext, contentUri); in testPlayContentUri()
|