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()
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()
243 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.java102 list.add(PrefixUtils.asIpPrefix(address)); in getIpv4Prefixes()
236 return PrefixUtils.asIpPrefix(address); in getDownstreamPrefix()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java24 import static android.net.util.PrefixUtils.asIpPrefix;
513 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()
615 final IpPrefix ipv4Prefix = asIpPrefix(mIpv4Address); in configureIPv4()
1086 NetdUtils.tetherInterface(mNetd, mIfaceName, asIpPrefix(mIpv4Address)); in enter()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java542 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServer()
558 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServerOnWifiP2p()