Home
last modified time | relevance | path

Searched refs:NetUtils (Results 1 – 9 of 9) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/android/net/util/
DNetUtilsTest.java52 assertTrue(NetUtils.addressTypeMatches(V4_ADDR1, V4_ADDR2)); in testAddressTypeMatches()
53 assertTrue(NetUtils.addressTypeMatches(V6_ADDR1, V6_ADDR2)); in testAddressTypeMatches()
54 assertFalse(NetUtils.addressTypeMatches(V4_ADDR1, V6_ADDR1)); in testAddressTypeMatches()
55 assertFalse(NetUtils.addressTypeMatches(V6_ADDR1, V4_ADDR1)); in testAddressTypeMatches()
64 RouteInfo route = NetUtils.selectBestRoute(null, v4_dest); in testSelectBestRoute()
66 route = NetUtils.selectBestRoute(routes, null); in testSelectBestRoute()
69 route = NetUtils.selectBestRoute(routes, v4_dest); in testSelectBestRoute()
87 route = NetUtils.selectBestRoute(routes, v4_dest); in testSelectBestRoute()
91 route = NetUtils.selectBestRoute(routes, v6_dest); in testSelectBestRoute()
96 route = NetUtils.selectBestRoute(routes, v4_dest); in testSelectBestRoute()
[all …]
/frameworks/libs/net/common/tests/unit/
Djarjar-rules.txt5 rule android.net.util.NetUtils* com.android.net.module.util.NetUtils@1
/frameworks/libs/net/common/
Djarjar-rules-shared.txt5 rule android.net.util.NetUtils* com.android.net.module.util.NetUtils@1
DAndroid.bp183 "framework/android/net/util/NetUtils.java",
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java25 import com.android.net.module.util.NetUtils;
90 ? NetUtils.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
/frameworks/libs/net/common/framework/android/net/util/
DNetUtils.java32 public final class NetUtils { class
/frameworks/base/core/java/android/net/
DRouteInfo.java25 import android.net.util.NetUtils;
513 return NetUtils.selectBestRoute(routes, dest); in selectBestRoute()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java25 import android.net.util.NetUtils;
380 if (NetUtils.addressTypeMatches( in onDataStateChanged()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java65 import android.net.util.NetUtils;
1295 InetAddress gateway = NetUtils.selectBestRoute( in getDstMacForKeepalive()