Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java217 final LinkAddress linkAddr; in configureIPv4() local
226 linkAddr = new LinkAddress(addr, prefixLen); in configureIPv4()
227 ifcg.setLinkAddress(linkAddr); in configureIPv4()
248 final RouteInfo route = new RouteInfo(linkAddr); in configureIPv4()
250 mLinkProperties.addLinkAddress(linkAddr); in configureIPv4()
253 mLinkProperties.removeLinkAddress(linkAddr); in configureIPv4()
317 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()
318 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()
321 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
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.java177 LinkAddress linkAddr = in generateIpConfig() local
180 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1051 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local
1052 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()
1057 linkAddr.getAddress().getHostAddress(), in setInterfaceConfig()
1058 linkAddr.getPrefixLength()); in setInterfaceConfig()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java273 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local
274 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()