Searched refs:asIpPrefix (Results 1 – 5 of 5) sorted by relevance
26 import static android.net.util.PrefixUtils.asIpPrefix;119 final IpPrefix hotspotPrefix = asIpPrefix(address); in testRequestDownstreamAddressWithoutUsingLastAddress()124 final IpPrefix testDupRequest = asIpPrefix(newAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()131 final IpPrefix usbPrefix = asIpPrefix(usbAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()172 final IpPrefix hotspotPrefix = asIpPrefix(hotspotAddress); in testReservedPrefix()181 final IpPrefix usbPrefix = asIpPrefix(usbAddress); in testReservedPrefix()191 final IpPrefix etherPrefix = asIpPrefix(etherAddress); in testReservedPrefix()261 final IpPrefix hotspotPrefix = asIpPrefix(hotspotAddr); in testNoConflictUpstreamPrefix()322 final IpPrefix usbPrefix = asIpPrefix(usbAddr); in testNoConflictUpstreamPrefix()329 final IpPrefix ethPrefix = asIpPrefix(ethAddr); in testNoConflictUpstreamPrefix()[all …]
21 import static android.net.util.PrefixUtils.asIpPrefix;129 list.add(asIpPrefix(address)); in getIpv4Prefixes()180 && !isConflictWithUpstream(asIpPrefix(cachedAddress))) { in requestDownstreamAddress()365 final IpPrefix downstream = asIpPrefix(mCachedAddresses.valueAt(i)); in getInUseDownstreamPrefix()384 return asIpPrefix(address); in getDownstreamPrefix()
64 localPrefixes.add(asIpPrefix(addr)); in localPrefixesFrom()73 public static IpPrefix asIpPrefix(LinkAddress addr) { in asIpPrefix() method in PrefixUtils
24 import static android.net.util.PrefixUtils.asIpPrefix;522 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()625 final IpPrefix ipv4Prefix = asIpPrefix(mIpv4Address); in configureIPv4()1167 NetdUtils.tetherInterface(mNetd, mIfaceName, asIpPrefix(mIpv4Address)); in enter()
678 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServer()694 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServerOnWifiP2p()