Searched refs:addressTypeMatches (Results 1 – 3 of 3) sorted by relevance
54 assertTrue(NetUtils.addressTypeMatches(V4_ADDR1, V4_ADDR2)); in testAddressTypeMatches()55 assertTrue(NetUtils.addressTypeMatches(V6_ADDR1, V6_ADDR2)); in testAddressTypeMatches()56 assertFalse(NetUtils.addressTypeMatches(V4_ADDR1, V6_ADDR1)); in testAddressTypeMatches()57 assertFalse(NetUtils.addressTypeMatches(V6_ADDR1, V4_ADDR1)); in testAddressTypeMatches()
39 public static boolean addressTypeMatches(@NonNull InetAddress left, in addressTypeMatches() method in NetUtils60 if (addressTypeMatches(route.getDestination().getAddress(), dest)) { in selectBestRoute()
327 if (NetUtils.addressTypeMatches( in onDataStateChanged()