Searched refs:isLocalhostIp (Results 1 – 4 of 4) sorted by relevance
366 assertTrue(WebAddresses.isLocalhostIp(Uri.parse("https://127.0.0.1"))); in testIsLocalHostIp_success()367 assertTrue(WebAddresses.isLocalhostIp(Uri.parse("https://127.0.0.1:5000/path"))); in testIsLocalHostIp_success()368 assertTrue(WebAddresses.isLocalhostIp(Uri.parse("https://127.0.0.1/path"))); in testIsLocalHostIp_success()373 assertFalse(WebAddresses.isLocalhostIp(Uri.parse("android-app://com.example"))); in testIsLocalHostIp_wrongScheme()374 assertFalse(WebAddresses.isLocalhostIp(WebUtil.validUri("http://example.test:8000"))); in testIsLocalHostIp_wrongScheme()375 assertFalse(WebAddresses.isLocalhostIp(Uri.parse("http://127.0.0.1:5000/path"))); in testIsLocalHostIp_wrongScheme()376 assertFalse(WebAddresses.isLocalhostIp(Uri.parse("http://127.0.0.1/path"))); in testIsLocalHostIp_wrongScheme()377 assertFalse(WebAddresses.isLocalhostIp(Uri.parse("127.0.0.1:5000/path"))); in testIsLocalHostIp_wrongScheme()378 assertFalse(WebAddresses.isLocalhostIp(Uri.parse("127.0.0.1/path"))); in testIsLocalHostIp_wrongScheme()383 assertFalse(WebAddresses.isLocalhostIp(Uri.parse("https://localhost"))); in testIsLocalHostIp_wrongHost()[all …]
56 WebAddresses.isLocalhostIp(registrationUri) in getValidEnrollmentId()
111 public static boolean isLocalhostIp(Uri uri) { in isLocalhostIp() method in WebAddresses
157 WebAddresses.isLocalhost(adTechUri) || WebAddresses.isLocalhostIp(adTechUri); in assertFledgeEnrollment()