Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DNetworkStackUtilsTest.java20 import static android.net.util.NetworkStackUtils.isIPv6ULA;
194 assertTrue(isIPv6ULA(parseNumericAddress("fc00::"))); in testIsIPv6ULA()
195 assertTrue(isIPv6ULA(parseNumericAddress("fc00::1"))); in testIsIPv6ULA()
196 assertTrue(isIPv6ULA(parseNumericAddress("fc00:1234::5678"))); in testIsIPv6ULA()
197 assertTrue(isIPv6ULA(parseNumericAddress("fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"))); in testIsIPv6ULA()
199 assertFalse(isIPv6ULA(parseNumericAddress("fe00::"))); in testIsIPv6ULA()
200 assertFalse(isIPv6ULA(parseNumericAddress("2480:1248::123:456"))); in testIsIPv6ULA()
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java450 public static boolean isIPv6ULA(@Nullable InetAddress addr) { in isIPv6ULA() method in NetworkStackUtils
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java81 import static android.net.util.NetworkStackUtils.isIPv6ULA;
2413 || isIPv6ULA(address)) { in hasPrivateIpAddress()