/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 32 .scheme("http") in testParcelling() 54 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon() 69 .scheme("foo") in testBuildUpon() 178 .scheme("http") in testEqualsAndHashCode() 187 .scheme("http") in testEqualsAndHashCode() 338 .scheme("mailto") in testOpaqueUri() 389 private static void testHierarchical(String scheme, String authority, in testHierarchical() argument 405 if (scheme != null) { in testHierarchical() 406 sb.insert(0, scheme + ":"); in testHierarchical() 418 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() [all …]
|
D | Uri_BuilderTest.java | 43 .scheme("http") in testBuilderOperations() 58 .scheme("mailto") in testBuilderOperations()
|
D | CaptivePortalTest.kt | 226 .scheme("http") in makeUrl()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreIntentsTest.java | 120 for (String scheme : schemes) { in testViewImageFile() 123 final Uri uri = new Uri.Builder().scheme(scheme) in testViewImageFile() 139 for (String scheme : schemes) { in testViewVideoFile() 142 final Uri uri = new Uri.Builder().scheme(scheme) in testViewVideoFile() 158 for (String scheme : schemes) { in testViewAudioFile() 161 final Uri uri = new Uri.Builder().scheme(scheme) in testViewAudioFile()
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 87 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionSucceeds() 110 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionBlocked() 131 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestSucceeds() 148 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestBlocked() 174 uri = uri.buildUpon().scheme(null).authority(null).build(); in assertMediaPlayerCleartextRequestSucceeds() 192 uri = uri.buildUpon().scheme(null).authority(null).build(); in assertMediaPlayerCleartextRequestBlocked() 201 uri = uri.buildUpon().scheme(null).authority(null).build(); in testDownloadManager()
|
/cts/tests/app/src/android/app/cts/ |
D | ConditionTest.java | 26 private final Uri mConditionId = new Uri.Builder().scheme("scheme") 95 Uri uri = new Uri.Builder().authority(pkg).scheme(Condition.SCHEME).build(); in testIsValidId_wrongAuthority() 101 Uri uri = new Uri.Builder().authority(pkg).scheme(Condition.SCHEME).build(); in testIsValidId()
|
D | AutomaticZenRuleTest.java | 33 private final Uri mConditionId = new Uri.Builder().scheme("scheme") 77 final Uri newConditionId = new Uri.Builder().scheme("scheme") in testSetConditionId()
|
D | NotificationChannelTest.java | 130 Uri expected = new Uri.Builder().scheme("fruit").appendQueryParameter("favorite", "bananas") in testSound()
|
D | NotificationManagerTest.java | 561 new Uri.Builder().scheme("scheme") in createRule() 746 channel.setSound(new Uri.Builder().scheme("test").build(), in testCreateChannel()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallRedirectionServiceTest.java | 63 .scheme(PhoneAccount.SCHEME_TEL) 67 .scheme(PhoneAccount.SCHEME_TEL) 71 .scheme(PhoneAccount.SCHEME_TEL)
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecClearKeyPlayer.java | 301 String scheme = uri.getScheme(); in setDataSource() local 302 if (scheme.startsWith("http")) { in setDataSource() 304 } else if (scheme.startsWith(FILE_SCHEME)) { in setDataSource() 306 } else if (scheme.equals("android.resource")) { in setDataSource()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockConditionProvider.java | 78 return new Uri.Builder().scheme("scheme") in toConditionId()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodProvisioningTestActivity.java | 112 return new Uri.Builder().scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getResourceUri()
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | README.txt | 5 the following naming scheme:
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | SearchUtil.java | 125 .scheme(ContentResolver.SCHEME_CONTENT) in getSearchUri()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProvider.java | 65 .scheme(ContentResolver.SCHEME_CONTENT) in onGetSliceDescendants()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | ContentTest.java | 267 .scheme(ContentResolver.SCHEME_CONTENT) in getBasicContentProviderUri()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 470 String scheme = uri.getScheme(); in getExtractorForPath() local 473 if (scheme == null) { // file in getExtractorForPath() 475 } else if (scheme.equalsIgnoreCase("file")) { in getExtractorForPath()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 549 String scheme = uri.getScheme(); in getExtractorForPath() local 552 if (scheme == null) { // file in getExtractorForPath() 554 } else if (scheme.equalsIgnoreCase("file")) { in getExtractorForPath()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ConditionProviderServiceTest.java | 299 .scheme(Condition.SCHEME) in addRule()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | MmsTest.java | 211 .scheme(ContentResolver.SCHEME_CONTENT) in testSendMmsMessage()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1396 final String scheme = schemesIterator.next(); in handlesWebUris() local 1397 final boolean isWebScheme = "http".equals(scheme) || "https".equals(scheme); in handlesWebUris()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 82 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getAsResourceUri()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 389 Uri.Builder uriBuilder = new Uri.Builder().scheme( in testLoadUrlDoesNotStripParamsWhenLoadingContentUrls()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 198 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getAsResourceUri()
|