/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 429 private CtsTestServer mWebServer; field in WebViewSslTest 462 if (mWebServer != null) { in tearDown() 469 assertNull(mWebServer); in startWebServer() 470 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer() 474 assertNotNull(mWebServer); in stopWebServer() 480 mWebServer.shutdown(); in stopWebServer() 481 mWebServer = null; in stopWebServer() 503 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate() 512 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate() 533 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate() [all …]
|
D | HttpAuthHandlerTest.java | 37 private CtsTestServer mWebServer; field in HttpAuthHandlerTest 59 if (mWebServer != null) { in tearDown() 60 mWebServer.shutdown(); in tearDown() 151 mWebServer = new CtsTestServer(getActivity()); in testProceed() 152 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed() 163 mWebServer = new CtsTestServer(getActivity()); in testCancel() 164 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel() 178 mWebServer = new CtsTestServer(getActivity()); in testUseHttpAuthUsernamePassword() 179 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword()
|
D | WebViewClientTest.java | 48 private CtsTestServer mWebServer; field in WebViewClientTest 76 if (mWebServer != null) { in tearDown() 77 mWebServer.shutdown(); in tearDown() 113 mWebServer = new CtsTestServer(getActivity()); in testShouldOverrideUrlLoadingOnCreateWindow() 140 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow() 148 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow() 183 mWebServer = new CtsTestServer(getActivity()); in testLoadPage() 184 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage() 233 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedErrorForSubresource() 236 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource() [all …]
|
D | WebChromeClientTest.java | 35 private CtsTestServer mWebServer; field in WebChromeClientTest 52 mWebServer = new CtsTestServer(getActivity()); in setUp() 60 if (mWebServer != null) { in tearDown() 61 mWebServer.shutdown(); in tearDown() 78 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged() 97 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle() 132 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon() 157 mOnUiThread.loadUrlAndWaitForCompletion(mWebServer. in runWindowTest() 214 … mOnUiThread.loadUrlAndWaitForCompletion(mWebServer.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL)); in testOnJsBeforeUnload() 216 …mOnUiThread.loadUrlAndWaitForCompletion(mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testOnJsBeforeUnload() [all …]
|
D | WebHistoryItemTest.java | 31 private CtsTestServer mWebServer; field in WebHistoryItemTest 57 mWebServer = new CtsTestServer(getActivity()); in setUp() 69 mWebServer.shutdown(); in tearDown() 96 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem() 115 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testWebHistoryItem()
|
D | WebViewTest.java | 132 private CtsTestServer mWebServer; field in WebViewTest 166 if (mWebServer != null) { in tearDown() 178 assertNull(mWebServer); in startWebServer() 179 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer() 183 assertNotNull(mWebServer); in stopWebServer() 189 mWebServer.shutdown(); in stopWebServer() 190 mWebServer = null; in stopWebServer() 260 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testInvokeZoomPicker() 276 mWebServer = new CtsTestServer(getActivity()); in testZoom() 278 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testZoom() [all …]
|
D | WebSettingsTest.java | 62 private CtsTestServer mWebServer; field in WebSettingsTest 83 if (mWebServer != null) { in tearDown() 84 mWebServer.shutdown(); in tearDown() 152 String url = mWebServer.getUserAgentUrl(); in testAccessUserAgentString() 234 int firstFetch = mWebServer.getRequestCount(); in testAccessCacheMode() 243 assertEquals(firstFetch, mWebServer.getRequestCount()); in testAccessCacheMode() 255 int secondFetch = mWebServer.getRequestCount(); in testAccessCacheMode() 264 int thirdFetch = mWebServer.getRequestCount(); in testAccessCacheMode() 278 assertEquals(thirdFetch, mWebServer.getRequestCount()); in testAccessCacheMode() 647 final String url = mWebServer.getAppCacheUrl(); [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BrowserTest.java | 40 private CtsTestServer mWebServer; field in BrowserTest 45 mWebServer = new CtsTestServer(mContext); in setUp() 50 mWebServer.shutdown(); in tearDown() 86 0, mWebServer.getRequestCount()); in testTabReuse() 131 0, mWebServer.getRequestCount()); in testTabExhaustion() 144 String action = "\"" + mWebServer.getBaseUri() + "/\""; in testBrowserPrivateDataAccess() 148 mWebServer.resetRequestState(); in testBrowserPrivateDataAccess() 189 if (mWebServer.getRequestEntities().size() > 0) { in testBrowserPrivateDataAccess() 191 for (HttpEntity entity : mWebServer.getRequestEntities()) { in testBrowserPrivateDataAccess() 217 String localServerUri = mWebServer.getBaseUri(); in getAllJavascriptIntents()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | ApacheHttpClientTest.java | 39 private CtsTestServer mWebServer; field in ApacheHttpClientTest 44 mWebServer = new CtsTestServer(mContext); in setUp() 50 mWebServer.shutdown(); in tearDown() 72 return Uri.parse(mWebServer.getTestDownloadUrl("cts-small-download-" + index, in getSmallDownloadUrl()
|
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/ |
D | BrowserBenchTest.java | 59 private CtsTestServer mWebServer; field in BrowserBenchTest 80 mWebServer = new CtsTestServer(getContext()) { in setUp() 122 mWebServer.shutdown(); in tearDown() 123 mWebServer = null; in tearDown() 134 String url = mWebServer.getAssetUrl(OCTANE_START_FILE) + "?auto=1"; in testOctane()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 52 private CtsTestServer mWebServer; field in DownloadManagerTest 58 mWebServer = new CtsTestServer(mContext); in setUp() 65 mWebServer.shutdown(); in tearDown() 372 return Uri.parse(mWebServer.getTestDownloadUrl("cts-good-download", 0)); in getGoodUrl() 376 return Uri.parse(mWebServer.getBaseUri() + "/nosuchurl"); in getBadUrl() 380 return Uri.parse(mWebServer.getTestDownloadUrl("cts-minimum-download", in getMinimumDownloadUrl() 385 return Uri.parse(mWebServer.getAssetUrl(asset)); in getAssetUrl()
|