Home
last modified time | relevance | path

Searched refs:capportUrl (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTest.kt105 private lateinit var capportUrl: Uri variable in android.net.cts.NetworkValidationTest
138 capportUrl = Uri.parse("http://localhost:${httpServer.listeningPort}/testapi.html?par=val") in setUp()
157 httpServer.addResponse(capportUrl, Status.OK, content = """ in testCapportApiCallbacks()
177 assertTrue(httpServer.requestsRecord.poll(TEST_TIMEOUT_MS, 0)?.matches(capportUrl) ?: false, in testCapportApiCallbacks()
199 assertEquals(capportUrl, lp.captivePortalApiUrl) in testCapportApiCallbacks()
216 TEST_MTU, capportUrl.toString()) in makeOfferPacket()
226 TEST_MTU, false /* rapidCommit */, capportUrl.toString()) in makeOfferPacket()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1438 final String capportUrl = mDhcpResults.captivePortalApiUrl; in assembleLinkProperties() local
1441 if (isParseableUrl(capportUrl)) { in assembleLinkProperties()
1443 .setCaptivePortalApiUrl(newLp, Uri.parse(capportUrl)); in assembleLinkProperties()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java2632 final Uri capportUrl = Uri.parse("https://capport.example.com/api"); in doNetworkCallbacksSanitizationTest() local
2636 final Uri expectedCapportUrl = sanitized ? null : capportUrl; in doNetworkCallbacksSanitizationTest()
2637 newLp.setCaptivePortalApiUrl(capportUrl); in doNetworkCallbacksSanitizationTest()