/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 461 public MyUrlSpan(String url) { in MyUrlSpan() 517 String url = "name@gmail.com"; in testAddLinks_shouldNotAddEmailAddressAsUrl() local 523 String url = "https://android.com/path?ll=37.4221,-122.0836&z=17&pll=37.4221,-122.0836"; in testAddLinks_acceptsUrlsWithCommasInRequestParameterValues() local 529 String url = "http://android/#notld///a/n/d/r/o/i/d&p1=1&p2=2"; in testAddLinks_addsLinksForUrlWithProtocolWithoutTld() local 536 String url = "hTtP://android.com"; in testAddLinks_matchesProtocolCaseInsensitive() local 542 String url = "http://www.android.com"; in testAddLinks_matchesValidUrlWithSchemeAndHostname() local 548 String url = "http://www.android.me"; in testAddLinks_matchesValidUrlWithSchemeHostnameAndNewTld() local 555 String url = "android.camera"; in testAddLinks_matchesValidUrlWithHostnameAndNewTld() local 561 String url = "http://xn--fsqu00a.xn--unup4y"; in testAddLinks_matchesPunycodeUrl() local 567 String url = "xn--fsqu00a.xn--unup4y"; in testAddLinks_matchesPunycodeUrlWithoutProtocol() local [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 138 String url = mWebServer.getCookieUrl("conquest.html"); in testAcceptCookie() local 183 String url = "http://www.example.com"; in testSetCookie() local 192 final String url = "http://www.example.com"; in testSetCookieNullCallback() local 219 final String url = "http://www.example.com"; in testRemoveCookies() local 253 final String url = "http://www.example.com"; in testRemoveCookiesNullCallback() local 301 final String url = "http://www.example.com"; in testRemoveCookiesCallback() local 371 String url = mWebServer.getLinkedScriptUrl("/content_1.html", cookieUrl); in testThirdPartyCookie() local 401 String url = mWebServer.getLinkedScriptUrl("/content_1.html", cookieUrl); in testSameSiteLaxByDefault() local 415 String url = mWebServer.getLinkedScriptUrl("/content_1.html", cookieUrl); in testSameSiteNoneRequiresSecure() local 435 String url = mWebServer.getLinkedScriptUrl("/content_1.html", cookieUrl); in testSchemefulSameSite() local [all …]
|
D | CookieTest.java | 100 String url = "http://www.foo.com"; in testDomain() local 181 String url = "http://foo.bar.com"; in testInvalidDomain() local 218 String url = "http://www.foo.com"; in testPath() local 248 String url = "http://www.foobar.com"; in testEmptyValue() local
|
D | HttpAuthHandlerTest.java | 147 private void incorrectCredentialsAccessDenied(String url) throws Throwable { in incorrectCredentialsAccessDenied() 159 private void missingCredentialsAccessDenied(String url) throws Throwable { in missingCredentialsAccessDenied() 171 private void correctCredentialsAccessGranted(String url) throws Throwable { in correctCredentialsAccessGranted() 185 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed() local 194 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel() local 206 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword() local
|
D | WebViewSslTest.java | 584 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences() local 656 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed() local 675 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorCancel() local 734 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testSecureServerRequestingClientCertDoesNotCancelRequest() local 749 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testSecureServerRequiringClientCertDoesCancelRequest() local 775 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceedClientCertRequest() local 803 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceedClientCertRequestKeyWithAndroidKeystoreKey() local 838 private void loadUrlUntilError(SslErrorWebViewClient client, String url, in loadUrlUntilError() 854 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testIgnoreClientCertRequest() local 888 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancelClientCertRequest() local [all …]
|
D | URLUtilTest.java | 181 String url = "ftp://example.url/test"; in testGuessFileName() local 194 String url = "domainName"; in testGuessUrl() local 206 String url = "http://www.google.com#test"; in testStripAnchor() local
|
D | WebChromeClientTest.java | 129 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged() local 146 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle() local 176 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon() local 292 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); in testOnJsAlert() local 315 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); in testOnJsConfirm() local 340 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); in testOnJsPrompt() local 516 public boolean onJsAlert(WebView view, String url, String message, JsResult result) { in onJsAlert() 525 public boolean onJsConfirm(WebView view, String url, String message, JsResult result) { in onJsConfirm() 534 public boolean onJsPrompt(WebView view, String url, String message, in onJsPrompt() 544 public boolean onJsBeforeUnload(WebView view, String url, String message, JsResult result) { in onJsBeforeUnload()
|
D | WebViewClientTest.java | 271 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage() local 314 String url = mWebServer.setResponse(path, page, headers); in testOnReceivedLoginRequest() local 358 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource() local 372 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError() local 387 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission() local 430 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); in testOnReceivedHttpAuthRequest() local 635 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingHitBackToSafety() local 670 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingHitProceed() local 694 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingCode() local 784 final String url = "about:blank"; in testOnPageCommitVisibleCalled() local [all …]
|
D | WebSettingsTest.java | 240 String url = mWebServer.getUserAgentUrl(); in testAccessUserAgentString() local 711 final String url = mWebServer.getAppCacheUrl(); in testAppCacheDisabled() local 735 final String url = mWebServer.getAppCacheUrl(); in testAppCacheEnabled() local 779 final String url = mWebServer.getAssetUrl(TestHtmlConstants.DATABASE_ACCESS_URL); in testDatabaseDisabled() local 935 String url = TestHtmlConstants.getFileUrl(TestHtmlConstants.IMAGE_ACCESS_URL); in testLocalImageLoads() local 951 String url = TestHtmlConstants.getFileUrl(TestHtmlConstants.IFRAME_ACCESS_URL); in testIframesWhenAccessFromFileURLsEnabled() local 967 String url = TestHtmlConstants.getFileUrl(TestHtmlConstants.IFRAME_ACCESS_URL); in testIframesWhenAccessFromFileURLsDisabled() local 1140 String url = mWebServer.getAssetUrl(asset); in loadAssetUrl() local
|
D | WebBackForwardListTest.java | 117 private void checkBackForwardList(final String... url) { in checkBackForwardList()
|
D | WebViewTest.java | 330 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl() local 378 String url = uriBuilder.build().toString(); in testLoadUrlDoesNotStripParamsWhenLoadingContentUrls() local 392 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() local 416 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap() local 442 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCanInjectHeaders() local 464 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testGetVisibleTitleHeight() local 501 String url = mWebServer.getDelayedAssetUrl(TestHtmlConstants.STOP_LOADING_URL); in testStopLoading() local 622 String url = mWebServer.getAssetUrl(TestHtmlConstants.ADD_JAVA_SCRIPT_INTERFACE_URL); in testAddJavascriptInterface() local 890 final String url = mWebServer.getAssetUrl(TestHtmlConstants.BLANK_PAGE_URL); in testCapturePicture() local 929 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testSetPictureListener() local [all …]
|
D | WebHistoryItemTest.java | 133 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem() local
|
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 112 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertUrlConnectionFails() local 123 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertUrlConnectionSucceeds() local 130 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertHttpClientSucceeds() local 141 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertHttpClientFails() local
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PatternsTest.java | 37 String url = "https://android.com/path?ll=37.4221,-122.0836&z=17&pll=37.4221,-122.0836"; in testWebUrl_matchesUrlsWithCommasInRequestParameterValues() local
|
/cts/libs/webkit-shared/src/android/webkit/cts/ |
D | IWebServer.aidl | 54 boolean wasResourceRequested(String url); in wasResourceRequested() 58 HttpRequest getLastAssetRequest(String url); in getLastAssetRequest() 64 String getLinkedScriptUrl(String path, String url); in getLinkedScriptUrl()
|
D | HttpRequest.java | 56 public HttpRequest(String url, org.apache.http.HttpRequest apacheRequest) { in HttpRequest()
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewSyncLoader.java | 172 public void loadUrlAndWaitForCompletion(final String url) { in loadUrlAndWaitForCompletion() 182 public void loadUrlAndWaitForCompletion(final String url, in loadUrlAndWaitForCompletion() 195 public void postUrlAndWaitForCompletion(final String url, final byte[] postData) { in postUrlAndWaitForCompletion() 414 public void onPageFinished(WebView view, String url) { in onPageFinished() 421 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted()
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 74 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertCleartextHttpURLConnectionSucceeds() local 92 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertCleartextHttpURLConnectionBlocked() local 123 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertAndroidHttpClientCleartextRequestSucceeds() local 136 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertAndroidHttpClientCleartextRequestBlocked() local
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | NetworkLoggingTest.kt | 117 for (url in URL_LIST) { in <lambda>() method 157 val url = URL("http://$server") in <lambda>() constant 261 for (url in URL_LIST) { in <lambda>() method
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 70 final String url = server.getCookieUrl("death.html"); in testCookieManagerBlockingUiThread() local
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | MyWebView.java | 39 public void myLoadData(String url, String data, String mimeType, String encoding) { in myLoadData()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | WorkProfileNetworkLoggingDelegateTest.java | 163 final URL url = new URL("https://" + server); in connectToWebsite() local
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | ExpectationStore.java | 142 URL url = owningClass.getResource(expectationsPath); in parseResources() local 153 private void parse(URL url, ModeId mode) throws IOException { in parse()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ui/ |
D | HtmlFormatter.java | 197 public HtmlFormatter openLink(String url) { in openLink()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | Post.java | 61 public Post(String url, byte[] data) { in Post()
|