Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java238 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties()
239 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()
240 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
DOffloadController.java728 for (LinkAddress linkAddr : upstreamLinkProperties.getLinkAddresses()) { in computeLocalPrefixStrings()
729 if (!linkAddr.isGlobalPreferred()) continue; in computeLocalPrefixStrings()
730 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings()
744 final LinkAddress linkAddr = new LinkAddress(destination.getAddress(), in shouldIgnoreDownstreamRoute() local
746 if (!linkAddr.isGlobalPreferred()) return true; in shouldIgnoreDownstreamRoute()
/packages/modules/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.java330 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local
331 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java126 for (LinkAddress linkAddr : linkProperties.getAllLinkAddresses()) { in getAllAddressesForNetwork()
127 InetAddress inetAddr = linkAddr.getAddress(); in getAllAddressesForNetwork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java332 final LinkAddress linkAddr = new LinkAddress("192.0.2.2/25"); in testUpdateConfiguration() local
334 new StaticIpConfiguration.Builder().setIpAddress(linkAddr).build(); in testUpdateConfiguration()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DThreadIntegrationTest.java190 .map(linkAddr -> (Inet6Address) linkAddr.getAddress()) in tunInterface_joinedNetwork_otAndTunAddressesMatch()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java1584 for (LinkAddress linkAddr : addrs) { in getTetherableIpv6Prefixes()
1585 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in getTetherableIpv6Prefixes()
1586 prefixes.add(new IpPrefix(linkAddr.getAddress(), RFC7421_PREFIX_LENGTH)); in getTetherableIpv6Prefixes()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java239 LinkAddress linkAddr = in generateIpConfig() local
242 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java301 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local
302 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DMainActivity.java1142 for (InetAddress linkAddr : linkAddrs) { in getNetworkForIpAddress()
1143 if (addr.equals(linkAddr)) { in getNetworkForIpAddress()