Home
last modified time | relevance | path

Searched refs:addResponse (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
H A DTestHttpServer.kt54 fun addResponse( regex
60 addResponse(Request(uri.path
68 fun addResponse( regex
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DCaptivePortalTest.kt151 server.addResponse(Request(TEST_PORTAL_URL_PATH), Status.OK,
153 server.addResponse(Request(TEST_HTTPS_URL_PATH), Status.INTERNAL_ERROR)
155 server.addResponse(Request(TEST_HTTP_URL_PATH), Status.REDIRECT, headers)
H A DPacProxyManagerTest.java165 mServer.addResponse(pacProxyUrl, Status.OK, headers, PAC_FILE); in testSetCurrentProxyScriptUrl()
H A DNetworkValidationTest.kt157 httpServer.addResponse(capportUrl, Status.OK, content = """
H A DConnectivityManagerTest.java2774 mHttpServer.addResponse(new TestHttpServer.Request(
2777 mHttpServer.addResponse(new TestHttpServer.Request(