/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 …]
|
/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/tests/tests/media/src/android/media/cts/ |
D | WifiStatus.java | 104 private boolean pingTest(String server) { in pingTest() argument 106 if (server == null || server.isEmpty()) { in pingTest() 114 Log.d(TAG, "Try pinging " + server); in pingTest() 116 Process p = Runtime.getRuntime().exec("ping -c 5 -w 20 " + server); in pingTest()
|
/cts/hostsidetests/services/activitymanager/src/android/server/cts/ |
D | ActivityAndWindowManagersState.java | 17 package android.server.cts; 23 import android.server.cts.ActivityManagerState.ActivityStack; 24 import android.server.cts.ActivityManagerState.ActivityTask; 25 import android.server.cts.WindowManagerState.WindowStack; 26 import android.server.cts.WindowManagerState.WindowTask; 33 import static android.server.cts.ActivityManagerTestBase.FREEFORM_WORKSPACE_STACK_ID; 34 import static android.server.cts.ActivityManagerTestBase.PINNED_STACK_ID; 35 import static android.server.cts.StateLogger.log;
|
D | ActivityManagerManifestLayoutTests.java | 17 package android.server.cts; 28 import android.server.cts.WindowManagerState.WindowState; 29 import android.server.cts.WindowManagerState.Display; 31 import static android.server.cts.ActivityAndWindowManagersState.dpToPx;
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 385 Socket server = null; in checkTcpReflection() local 389 server = listen.accept(); in checkTcpReflection() 393 assertEquals(expectedFrom, server.getLocalAddress().getHostAddress()); in checkTcpReflection() 396 server.getRemoteSocketAddress()); in checkTcpReflection() 398 new InetSocketAddress(toAddr, server.getLocalPort()), in checkTcpReflection() 408 server.setReceiveBufferSize(LENGTH * 2); in checkTcpReflection() 411 server.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection() 414 writeAndCheckData(client.getOutputStream(), server.getInputStream(), data); in checkTcpReflection() 415 writeAndCheckData(server.getOutputStream(), client.getInputStream(), data); in checkTcpReflection() 419 closeQuietly(server); in checkTcpReflection()
|
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
D | BottomLeftLayoutActivity.java | 17 package android.server.app;
|
D | BottomRightLayoutActivity.java | 17 package android.server.app;
|
D | DockedActivity.java | 17 package android.server.app;
|
D | PipActivity.java | 17 package android.server.app;
|
D | SingleInstanceActivity.java | 17 package android.server.app;
|
D | TopLeftLayoutActivity.java | 17 package android.server.app;
|
D | TopRightLayoutActivity.java | 17 package android.server.app;
|
D | TranslucentActivity.java | 17 package android.server.app;
|
D | SingleTaskActivity.java | 17 package android.server.app;
|
D | AutoEnterPipActivity.java | 17 package android.server.app;
|
D | LaunchIntoPinnedStackPipActivity.java | 17 package android.server.app;
|
D | NoRelaunchActivity.java | 17 package android.server.app;
|
D | NonResizeableActivity.java | 17 package android.server.app;
|
D | TestActivity.java | 17 package android.server.app;
|
D | LaunchPipOnPipActivity.java | 17 package android.server.app;
|
D | VisibleBehindActivity.java | 17 package android.server.app;
|
D | SlowCreateActivity.java | 17 package android.server.app;
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 200 final ServerSocket server = new ServerSocket(0); in createTrafficStatsWithTags() local 205 Socket socket = new Socket("localhost", server.getLocalPort()); in createTrafficStatsWithTags() 226 Socket socket = server.accept(); in createTrafficStatsWithTags() 236 server.close(); in createTrafficStatsWithTags()
|