Home
last modified time | relevance | path

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

/frameworks/libs/net/common/tests/unit/src/android/net/util/
DNetUtilsTest.java54 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()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DNetUtils.java39 public static boolean addressTypeMatches(@NonNull InetAddress left, in addressTypeMatches() method in NetUtils
60 if (addressTypeMatches(route.getDestination().getAddress(), dest)) { in selectBestRoute()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java327 if (NetUtils.addressTypeMatches( in onDataStateChanged()