Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/net/src/android/net/cts/
DUriTest.java32 .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 …]
DUri_BuilderTest.java43 .scheme("http") in testBuilderOperations()
58 .scheme("mailto") in testBuilderOperations()
DCaptivePortalTest.kt226 .scheme("http") in makeUrl()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreIntentsTest.java120 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/
DNetworkSecurityPolicyTestBase.java87 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/
DConditionTest.java26 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()
DAutomaticZenRuleTest.java33 private final Uri mConditionId = new Uri.Builder().scheme("scheme")
77 final Uri newConditionId = new Uri.Builder().scheme("scheme") in testSetConditionId()
DNotificationChannelTest.java130 Uri expected = new Uri.Builder().scheme("fruit").appendQueryParameter("favorite", "bananas") in testSound()
DNotificationManagerTest.java561 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/
DCallRedirectionServiceTest.java63 .scheme(PhoneAccount.SCHEME_TEL)
67 .scheme(PhoneAccount.SCHEME_TEL)
71 .scheme(PhoneAccount.SCHEME_TEL)
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecClearKeyPlayer.java301 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/
DMockConditionProvider.java78 return new Uri.Builder().scheme("scheme") in toConditionId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodProvisioningTestActivity.java112 return new Uri.Builder().scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getResourceUri()
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.txt5 the following naming scheme:
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DSearchUtil.java125 .scheme(ContentResolver.SCHEME_CONTENT) in getSearchUri()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java65 .scheme(ContentResolver.SCHEME_CONTENT) in onGetSliceDescendants()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DContentTest.java267 .scheme(ContentResolver.SCHEME_CONTENT) in getBasicContentProviderUri()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java470 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/
DMediaUtils.java549 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/
DConditionProviderServiceTest.java299 .scheme(Condition.SCHEME) in addRule()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java211 .scheme(ContentResolver.SCHEME_CONTENT) in testSendMmsMessage()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1396 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/
DAnimatedImageDrawableTest.java82 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getAsResourceUri()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java389 Uri.Builder uriBuilder = new Uri.Builder().scheme( in testLoadUrlDoesNotStripParamsWhenLoadingContentUrls()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java198 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) in getAsResourceUri()

12