Home
last modified time | relevance | path

Searched defs:url (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java460 public MyUrlSpan(String url) { in MyUrlSpan()
516 String url = "name@gmail.com"; in testAddLinks_shouldNotAddEmailAddressAsUrl() local
522 String url = "https://android.com/path?ll=37.4221,-122.0836&z=17&pll=37.4221,-122.0836"; in testAddLinks_acceptsUrlsWithCommasInRequestParameterValues() local
528 String url = "http://android/#notld///a/n/d/r/o/i/d&p1=1&p2=2"; in testAddLinks_addsLinksForUrlWithProtocolWithoutTld() local
535 String url = "hTtP://android.com"; in testAddLinks_matchesProtocolCaseInsensitive() local
541 String url = "http://www.android.com"; in testAddLinks_matchesValidUrlWithSchemeAndHostname() local
547 String url = "http://www.android.me"; in testAddLinks_matchesValidUrlWithSchemeHostnameAndNewTld() local
554 String url = "android.camera"; in testAddLinks_matchesValidUrlWithHostnameAndNewTld() local
560 String url = "http://xn--fsqu00a.xn--unup4y"; in testAddLinks_matchesPunycodeUrl() local
566 String url = "xn--fsqu00a.xn--unup4y"; in testAddLinks_matchesPunycodeUrlWithoutProtocol() local
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieTest.java66 String url = "http://www.foo.com"; in testDomain() local
151 String url = "http://foo.bar.com"; in testInvalidDomain() local
190 String url = "http://www.foo.com"; in testPath() local
222 String url = "http://www.foobar.com"; in testEmptyValue() local
DHttpAuthHandlerTest.java113 private void incorrectCredentialsAccessDenied(String url) throws Throwable { in incorrectCredentialsAccessDenied()
125 private void missingCredentialsAccessDenied(String url) throws Throwable { in missingCredentialsAccessDenied()
137 private void correctCredentialsAccessGranted(String url) throws Throwable { in correctCredentialsAccessGranted()
154 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed() local
166 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel() local
181 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword() local
DCookieManagerTest.java104 String url = server.getCookieUrl("conquest.html"); in testAcceptCookie() local
152 String url = "http://www.example.com"; in testSetCookie() local
164 final String url = "http://www.example.com"; in testSetCookieNullCallback() local
197 final String url = "http://www.example.com"; in testRemoveCookies() local
234 final String url = "http://www.example.com"; in testRemoveCookiesNullCallback() local
285 final String url = "http://www.example.com"; in testRemoveCookiesCallback() local
358 String url = server.getLinkedScriptUrl("/content_1.html", cookieUrl); in testThirdPartyCookie() local
394 private void waitForCookie(final String url) { in waitForCookie()
432 public String toThirdPartyUrl(String url) { in toThirdPartyUrl()
DURLUtilTest.java150 String url = "ftp://example.url/test"; in testGuessFileName() local
162 String url = "domainName"; in testGuessUrl() local
175 String url = "http://www.google.com#test"; in testStripAnchor() local
DWebViewSslTest.java555 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences() local
628 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed() local
649 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorCancel() local
710 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testSecureServerRequestingClientCertDoesNotCancelRequest() local
727 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testSecureServerRequiringClientCertDoesCancelRequest() local
757 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceedClientCertRequest() local
784 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceedClientCertRequestKeyWithAndroidKeystoreKey() local
814 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testIgnoreClientCertRequest() local
845 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancelClientCertRequest() local
895 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClientCertIssuersReceivedCorrectly() local
DWebChromeClientTest.java95 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged() local
114 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle() local
146 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon() local
273 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); in testOnJsAlert() local
298 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); in testOnJsConfirm() local
325 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); in testOnJsPrompt() local
511 public boolean onJsAlert(WebView view, String url, String message, JsResult result) { in onJsAlert()
520 public boolean onJsConfirm(WebView view, String url, String message, JsResult result) { in onJsConfirm()
529 public boolean onJsPrompt(WebView view, String url, String message, in onJsPrompt()
539 public boolean onJsBeforeUnload(WebView view, String url, String message, JsResult result) { in onJsBeforeUnload()
DWebViewClientTest.java224 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage() local
270 String url = testServer.setResponse(path, page, headers); in testOnReceivedLoginRequest() local
320 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource() local
336 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError() local
353 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission() local
400 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); in testOnReceivedHttpAuthRequest() local
642 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingHitBackToSafety() local
682 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingHitProceed() local
713 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingCode() local
785 final String url = "about:blank"; in testOnPageCommitVisibleCalled() local
[all …]
DWebSettingsTest.java213 String url = mWebServer.getUserAgentUrl(); in testAccessUserAgentString() local
726 final String url = mWebServer.getAppCacheUrl(); in testAppCacheDisabled() local
752 final String url = mWebServer.getAppCacheUrl(); in testAppCacheEnabled() local
805 final String url = mWebServer.getAssetUrl(TestHtmlConstants.DATABASE_ACCESS_URL); in testDatabaseDisabled() local
981 String url = TestHtmlConstants.getFileUrl(TestHtmlConstants.IMAGE_ACCESS_URL); in testLocalImageLoads() local
1000 String url = TestHtmlConstants.getFileUrl(TestHtmlConstants.IFRAME_ACCESS_URL); in testIframesWhenAccessFromFileURLsEnabled() local
1019 String url = TestHtmlConstants.getFileUrl(TestHtmlConstants.IFRAME_ACCESS_URL); in testIframesWhenAccessFromFileURLsDisabled() local
1272 String url = mWebServer.getAssetUrl(asset); in loadAssetUrl() local
DWebBackForwardListTest.java87 private void checkBackForwardList(final String... url) { in checkBackForwardList()
DWebViewTest.java327 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl() local
388 String url = uriBuilder.build().toString(); in testLoadUrlDoesNotStripParamsWhenLoadingContentUrls() local
402 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() local
425 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap() local
452 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCanInjectHeaders() local
475 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testGetVisibleTitleHeight() local
513 String url = mWebServer.getDelayedAssetUrl(TestHtmlConstants.STOP_LOADING_URL); in testStopLoading() local
636 String url = mWebServer.getAssetUrl(TestHtmlConstants.ADD_JAVA_SCRIPT_INTERFACE_URL); in testAddJavascriptInterface() local
902 final String url = mWebServer.getAssetUrl(TestHtmlConstants.BLANK_PAGE_URL); in testCapturePicture() local
941 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testSetPictureListener() local
[all …]
DWebHistoryItemTest.java96 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem() local
DGeolocationTest.java130 public WebResourceResponse shouldInterceptRequest(WebView view, String url) { in shouldInterceptRequest()
308 private void loadUrlAndUpdateLocation(String url) { in loadUrlAndUpdateLocation()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java109 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertUrlConnectionFails() local
120 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertUrlConnectionSucceeds() local
127 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertHttpClientSucceeds() local
138 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertHttpClientFails() local
/cts/tests/tests/util/src/android/util/cts/
DPatternsTest.java37 String url = "https://android.com/path?ll=37.4221,-122.0836&z=17&pll=37.4221,-122.0836"; in testWebUrl_matchesUrlsWithCommasInRequestParameterValues() local
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewSyncLoader.java175 public void loadUrlAndWaitForCompletion(final String url) { in loadUrlAndWaitForCompletion()
185 public void loadUrlAndWaitForCompletion(final String url, in loadUrlAndWaitForCompletion()
198 public void postUrlAndWaitForCompletion(final String url, final byte[] postData) { in postUrlAndWaitForCompletion()
406 public void onPageFinished(WebView view, String url) { in onPageFinished()
413 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted()
/cts/hostsidetests/incident/apps/netstatsapp/src/com/android/server/cts/netstats/
DNetstatsDeviceTest.java56 final URL url = new URL("https://www.android.com/"); in makeNetworkRequest() local
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java74 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/tests/assist/common/src/android/assist/common/
DMyWebView.java39 public void myLoadData(String url, String data, String mimeType, String encoding) { in myLoadData()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DNetworkLoggingDelegateTest.java139 final URL url = new URL("http://" + server); in connectToWebsite() local
/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java145 URL url = owningClass.getResource(expectationsPath); in parseResources() local
156 private void parse(URL url, ModeId mode) throws IOException { in parse()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java76 final String url = server.getCookieUrl("death.html"); in testCookieManagerBlockingUiThread() local
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java224 URL url; in testNetworkAccess() local
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1075 String url = server.getAssetUrl("raw/" + rname); in doStagefrightTest() local
1087 URL url = new URL(uri); in verifyServer() local
1256 private void doStagefrightTestMediaPlayer(final String url) throws Exception { in doStagefrightTestMediaPlayer()
1327 private void doStagefrightTestMediaCodec(final String url) throws Exception { in doStagefrightTestMediaCodec()
1331 private void doStagefrightTestMediaCodec(final int rid, final String url) throws Exception { in doStagefrightTestMediaCodec()
1494 private void doStagefrightTestMediaMetadataRetriever(final String url) throws Exception { in doStagefrightTestMediaMetadataRetriever()
1499 final int rid, final String url) throws Exception { in doStagefrightTestMediaMetadataRetriever()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_init/
DFormatIndicator.java41 url(3), enumConstant

12