/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebBackForwardListTest.java | 66 CtsTestServer server = new CtsTestServer(getActivity(), false); in testGetCurrentItem() local 68 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGetCurrentItem() 69 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); in testGetCurrentItem() 70 String url3 = server.getAssetUrl(TestHtmlConstants.HTML_URL3); in testGetCurrentItem() 81 server.shutdown(); in testGetCurrentItem()
|
D | CookieManagerTest.java | 100 CtsTestServer server = new CtsTestServer(getActivity(), false); in testAcceptCookie() local 101 String url = server.getCookieUrl("conquest.html"); in testAcceptCookie() 110 url = server.getCookieUrl("war.html"); in testAcceptCookie() 122 url = server.getCookieUrl("famine.html"); in testAcceptCookie() 132 url = server.getCookieUrl("death.html"); in testAcceptCookie() 326 CtsTestServer server = null; in testThirdPartyCookie() local 338 server = new CtsTestServer(getActivity()); in testThirdPartyCookie() 354 server.getSetCookieUrl("cookie_1.js", "test1", "value1")); in testThirdPartyCookie() 356 String url = server.getLinkedScriptUrl("/content_1.html", cookieUrl); in testThirdPartyCookie() 366 server.getSetCookieUrl("/cookie_2.js", "test2", "value2")); in testThirdPartyCookie() [all …]
|
D | WebViewStartupTest.java | 52 CtsTestServer server = new CtsTestServer(mActivity, false); in testCookieManagerBlockingUiThread() local 53 final String url = server.getCookieUrl("death.html"); in testCookieManagerBlockingUiThread()
|
D | WebViewClientTest.java | 423 TestWebServer server = new TestWebServer(false); in testShouldInterceptRequestParams() local 425 String mainUrl = server.setResponse(mainPath, mainPage, null); in testShouldInterceptRequestParams() 433 assertEquals(server.getLastRequest(mainPath).getRequestLine().getMethod(), in testShouldInterceptRequestParams() 443 server.shutdown(); in testShouldInterceptRequestParams() 482 TestWebServer server = new TestWebServer(false); in testShouldInterceptRequestResponse() local 484 String interceptUrl = server.getResponseUrl(interceptPath); in testShouldInterceptRequestResponse() 497 String mainUrl = server.setResponse(mainPath, mainPage, null); in testShouldInterceptRequestResponse() 523 server.shutdown(); in testShouldInterceptRequestResponse()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | HttpResponseCacheTest.java | 41 private MockWebServer server = new MockWebServer(); field in HttpResponseCacheTest 54 server.shutdown(); in tearDown() 130 server.enqueue(new MockResponse() in testStatisticsTracking() 133 server.play(); in testStatisticsTracking() 135 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking() 144 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking() 147 URLConnection c3 = server.getUrl("/").openConnection(); in testStatisticsTracking()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 368 Socket server = null; in checkTcpReflection() local 372 server = listen.accept(); in checkTcpReflection() 376 assertEquals(expectedFrom, server.getLocalAddress().getHostAddress()); in checkTcpReflection() 379 server.getRemoteSocketAddress()); in checkTcpReflection() 381 new InetSocketAddress(toAddr, server.getLocalPort()), in checkTcpReflection() 391 server.setReceiveBufferSize(LENGTH * 2); in checkTcpReflection() 394 server.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection() 397 writeAndCheckData(client.getOutputStream(), server.getInputStream(), data); in checkTcpReflection() 398 writeAndCheckData(server.getOutputStream(), client.getInputStream(), data); in checkTcpReflection() 402 closeQuietly(server); in checkTcpReflection()
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 204 final ServerSocket server = new ServerSocket(0); in createTrafficStatsWithTags() local 209 Socket socket = new Socket("localhost", server.getLocalPort()); in createTrafficStatsWithTags() 230 Socket socket = server.accept(); in createTrafficStatsWithTags() 240 server.close(); in createTrafficStatsWithTags()
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | AudioProtocol.java | 505 ServerSocket server = null; in run() local 509 server = new ServerSocket(PORT_NUMBER); in run() 510 server.setReuseAddress(true); in run() 511 server.setSoTimeout(SOCKET_ACCESS_TIMEOUT); in run() 518 mClient = server.accept(); in run() 569 if (server != null) { in run() 571 server.close(); in run()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | TrafficStatsTest.java | 122 final ServerSocket server = new ServerSocket(0); in testTrafficStatsForLocalhost() local 127 Socket socket = new Socket("localhost", server.getLocalPort()); in testTrafficStatsForLocalhost() 157 Socket socket = server.accept(); in testTrafficStatsForLocalhost() 169 server.close(); in testTrafficStatsForLocalhost()
|
/cts/tools/tradefed-host/etc/ |
D | cts-tradefed | 49 RDBG_FLAG=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=${TF_DEBUG_PORT}
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 309 MockWebServer server = new MockWebServer(); in startWebServer() local 310 server.useHttps(needsClientAuth, false /* tunnelProxy */); in startWebServer() 311 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in startWebServer() 312 server.play(); in startWebServer() 313 return server.getUrl("/"); in startWebServer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | MessageTestActivity.java | 85 MessageTestActivity(boolean secure, boolean server, UUID uuid) { in MessageTestActivity() argument 87 mServer = server; in MessageTestActivity()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 1394 final SSLSocket server = (SSLSocket) serverSocket.accept(); in assertSSLConnectionWithClientAuth() local 1399 server.setNeedClientAuth(true); in assertSSLConnectionWithClientAuth() 1400 server.setWantClientAuth(true); in assertSSLConnectionWithClientAuth() 1401 server.startHandshake(); in assertSSLConnectionWithClientAuth() 1402 return server.getSession().getPeerCertificates(); in assertSSLConnectionWithClientAuth() 1413 server.close(); in assertSSLConnectionWithClientAuth()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 548 public ServerThread(TestWebServer server, boolean ssl) throws Exception { in ServerThread() argument 550 mServer = server; in ServerThread()
|
D | CtsTestServer.java | 983 public ServerThread(CtsTestServer server, SslMode sslMode) throws Exception { in ServerThread() argument 985 mServer = server; in ServerThread()
|
/cts/tests/expectations/ |
D | knownfailures.txt | 42 …e of lack of live internet or short timeout, it should be refactored to do a local server testing",
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 87082 static final byte[] server
|