Searched refs:asIpPrefix (Results 1 – 5 of 5) sorted by relevance
29 import static com.android.networkstack.tethering.util.PrefixUtils.asIpPrefix;123 final IpPrefix bluetoothPrefix = asIpPrefix(mBluetoothAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()126 final IpPrefix hotspotPrefix = asIpPrefix(address); in testRequestDownstreamAddressWithoutUsingLastAddress()131 final IpPrefix newHotspotPrefix = asIpPrefix(newAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()137 final IpPrefix usbPrefix = asIpPrefix(usbAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()183 final IpPrefix hotspotPrefix = asIpPrefix(hotspotAddress); in testReservedPrefix()184 assertNotEquals(asIpPrefix(mBluetoothAddress), hotspotPrefix); in testReservedPrefix()192 final IpPrefix usbPrefix = asIpPrefix(usbAddress); in testReservedPrefix()193 assertNotEquals(asIpPrefix(mBluetoothAddress), usbPrefix); in testReservedPrefix()202 final IpPrefix etherPrefix = asIpPrefix(etherAddress); in testReservedPrefix()[all …]
27 import static com.android.networkstack.tethering.util.PrefixUtils.asIpPrefix;131 list.add(asIpPrefix(address)); in getIpv4Prefixes()187 && !isConflictWithUpstream(asIpPrefix(cachedAddress))) { in requestDownstreamAddress()398 final IpPrefix downstream = asIpPrefix(mCachedAddresses.valueAt(i)); in getInUseDownstreamPrefix()417 return asIpPrefix(address); in getDownstreamPrefix()
65 localPrefixes.add(asIpPrefix(addr)); in localPrefixesFrom()74 public static IpPrefix asIpPrefix(LinkAddress addr) { in asIpPrefix() method in PrefixUtils
38 import static com.android.networkstack.tethering.util.PrefixUtils.asIpPrefix;580 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()685 final IpPrefix ipv4Prefix = asIpPrefix(mIpv4Address); in configureIPv4()1200 NetdUtils.tetherInterface(mNetd, mIfaceName, asIpPrefix(mIpv4Address)); in startServingInterface()
664 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServer()673 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServerOnBluetooth()684 assertDhcpStarted(PrefixUtils.asIpPrefix(mTestAddress)); in startsDhcpServerOnWifiP2p()