Home
last modified time | relevance | path

Searched refs:PrefixUtils (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java35 import android.net.util.PrefixUtils;
79 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(address); in testDownstreamPrefixRequest()
84 final IpPrefix testDupRequest = PrefixUtils.asIpPrefix(address); in testDownstreamPrefixRequest()
91 final IpPrefix usbPrefix = PrefixUtils.asIpPrefix(address); in testDownstreamPrefixRequest()
136 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(address); in testReserveBluetoothPrefix()
148 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(address); in testNoConflictDownstreamPrefix()
154 final IpPrefix usbPrefix = PrefixUtils.asIpPrefix(address); in testNoConflictDownstreamPrefix()
161 final IpPrefix allowUseFreePrefix = PrefixUtils.asIpPrefix(address); in testNoConflictDownstreamPrefix()
204 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(hotspotAddr); in testNoConflictUpstreamPrefix()
235 final IpPrefix hotspotPrefix2 = PrefixUtils.asIpPrefix(hotspotAddr2); in testNoConflictUpstreamPrefix()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java25 import android.net.util.PrefixUtils;
102 list.add(PrefixUtils.asIpPrefix(address)); in getIpv4Prefixes()
236 return PrefixUtils.asIpPrefix(address); in getDownstreamPrefix()
DUpstreamNetworkMonitor.java39 import android.net.util.PrefixUtils;
548 prefixSet.addAll(PrefixUtils.localPrefixesFrom(lp)); in allLocalPrefixes()
DTethering.java98 import android.net.util.PrefixUtils;
2006 PrefixUtils.addNonForwardablePrefixes(localPrefixes); in sendOffloadExemptPrefixes()
2008 localPrefixes.add(PrefixUtils.DEFAULT_WIFI_P2P_PREFIX); in sendOffloadExemptPrefixes()
2027 localPrefixes.add(PrefixUtils.ipAddressAsPrefix(ip)); in sendOffloadExemptPrefixes()
2032 localPrefixes.addAll(PrefixUtils.localPrefixesFrom(lp)); in sendOffloadExemptPrefixes()
/frameworks/base/packages/Tethering/src/android/net/util/
DPrefixUtils.java33 public class PrefixUtils { class
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java24 import static android.net.util.PrefixUtils.asIpPrefix;
52 import android.net.util.PrefixUtils;
513 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java85 import android.net.util.PrefixUtils;
542 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServer()
558 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServerOnWifiP2p()