Home
last modified time | relevance | path

Searched refs:asIpPrefix (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java79 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()
141 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(address); in testReserveBluetoothPrefix()
153 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(address); in testNoConflictDownstreamPrefix()
159 final IpPrefix usbPrefix = PrefixUtils.asIpPrefix(address); in testNoConflictDownstreamPrefix()
166 final IpPrefix allowUseFreePrefix = PrefixUtils.asIpPrefix(address); in testNoConflictDownstreamPrefix()
209 final IpPrefix hotspotPrefix = PrefixUtils.asIpPrefix(hotspotAddr); in testNoConflictUpstreamPrefix()
240 final IpPrefix hotspotPrefix2 = PrefixUtils.asIpPrefix(hotspotAddr2); in testNoConflictUpstreamPrefix()
248 final IpPrefix usbPrefix = PrefixUtils.asIpPrefix(usbAddr); in testNoConflictUpstreamPrefix()
[all …]
/frameworks/base/packages/Tethering/src/android/net/util/
DPrefixUtils.java64 localPrefixes.add(asIpPrefix(addr)); in localPrefixesFrom()
73 public static IpPrefix asIpPrefix(LinkAddress addr) { in asIpPrefix() method in PrefixUtils
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java105 list.add(PrefixUtils.asIpPrefix(address)); in getIpv4Prefixes()
238 return PrefixUtils.asIpPrefix(address); in getDownstreamPrefix()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java25 import static android.net.util.PrefixUtils.asIpPrefix;
520 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()
622 final IpPrefix ipv4Prefix = asIpPrefix(mIpv4Address); in configureIPv4()
1093 NetdUtils.tetherInterface(mNetd, mIfaceName, asIpPrefix(mIpv4Address)); in enter()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java548 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServer()
564 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServerOnWifiP2p()