Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DIpServer.java412 final LinkAddress linkAddr; in configureIPv4() local
421 linkAddr = new LinkAddress(addr, prefixLen); in configureIPv4()
422 ifcg.setLinkAddress(linkAddr); in configureIPv4()
458 final RouteInfo route = new RouteInfo(linkAddr); in configureIPv4()
460 mLinkProperties.addLinkAddress(linkAddr); in configureIPv4()
463 mLinkProperties.removeLinkAddress(linkAddr); in configureIPv4()
529 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()
530 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()
533 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java222 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties()
223 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()
224 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
DOffloadController.java528 for (LinkAddress linkAddr : upstreamLinkProperties.getLinkAddresses()) { in computeLocalPrefixStrings()
529 if (!linkAddr.isGlobalPreferred()) continue; in computeLocalPrefixStrings()
530 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java196 LinkAddress linkAddr = in generateIpConfig() local
199 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java274 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local
275 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java814 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local
815 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()