Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java967 URL[] urls = wnm.makeCaptivePortalFallbackUrls(); in testMakeFallbackUrls() local
968 assertEquals(urls[0].toString(), TEST_FALLBACK_URL); in testMakeFallbackUrls()
975 urls = wnm.makeCaptivePortalFallbackUrls(); in testMakeFallbackUrls()
976 assertEquals(urls.length, 0); in testMakeFallbackUrls()
981 urls = wnm.makeCaptivePortalFallbackUrls(); in testMakeFallbackUrls()
982 assertEquals(urls.length, 2); in testMakeFallbackUrls()
983 assertEquals("http://testUrl1.com", urls[0].toString()); in testMakeFallbackUrls()
984 assertEquals("http://testUrl2.com", urls[1].toString()); in testMakeFallbackUrls()
992 urls = wnm.makeCaptivePortalFallbackUrls(); in testMakeFallbackUrls()
993 assertEquals(urls.length, 2); in testMakeFallbackUrls()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DVenueUrlElementTest.java72 private byte[] getTestData(Map<Integer, URL> urls) throws IOException { in getTestData() argument
75 for (Map.Entry<Integer, URL> entry : urls.entrySet()) { in getTestData()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2171 final String[] urls = (firstUrl + separator + otherUrls).split(separator); in combineCaptivePortalUrls() local
2172 return convertStrings(urls, this::makeURL, new URL[0]); in combineCaptivePortalUrls()