Home
last modified time | relevance | path

Searched refs:linkAddr (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java237 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties()
238 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()
239 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
DOffloadController.java668 for (LinkAddress linkAddr : upstreamLinkProperties.getLinkAddresses()) { in computeLocalPrefixStrings()
669 if (!linkAddr.isGlobalPreferred()) continue; in computeLocalPrefixStrings()
670 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings()
684 final LinkAddress linkAddr = new LinkAddress(destination.getAddress(), in shouldIgnoreDownstreamRoute() local
686 if (!linkAddr.isGlobalPreferred()) return true; in shouldIgnoreDownstreamRoute()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java125 LinkAddress linkAddr = new LinkAddress( in readIpConfigurations() local
127 if (linkAddr.getAddress() instanceof Inet4Address) { in readIpConfigurations()
128 staticIPBuilder.setIpAddress(linkAddr); in readIpConfigurations()
DNetdWrapper.java324 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local
325 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java286 LinkAddress linkAddr = new LinkAddress( in readIpConfigurations() local
288 if (linkAddr.getAddress() instanceof Inet4Address && in readIpConfigurations()
290 staticIpConfiguration.ipAddress = linkAddr; in readIpConfigurations()
292 loge("Non-IPv4 or duplicate address: " + linkAddr); in readIpConfigurations()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java708 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()
709 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()
712 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java218 LinkAddress linkAddr = in generateIpConfig() local
221 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java303 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local
304 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java825 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local
826 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()