Home
last modified time | relevance | path

Searched refs:localAddresses (Results 1 – 3 of 3) sorted by relevance

/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java151 public static boolean hasIpv6Address(List<InetAddress> localAddresses) { in hasIpv6Address() argument
152 if (localAddresses != null) { in hasIpv6Address()
153 for (InetAddress address : localAddresses) { in hasIpv6Address()
162 public static boolean hasIpv4Address(List<InetAddress> localAddresses) { in hasIpv4Address() argument
163 if (localAddresses != null) { in hasIpv4Address()
164 for (InetAddress address : localAddresses) { in hasIpv4Address()
173 public static InetAddress getIpv4Address(List<InetAddress> localAddresses) { in getIpv4Address() argument
174 for (InetAddress address : localAddresses) { in getIpv4Address()
183 public static InetAddress getIpv6Address(List<InetAddress> localAddresses) { in getIpv6Address() argument
184 for (InetAddress address : localAddresses) { in getIpv6Address()
/packages/modules/Connectivity/tests/unit/java/android/net/
DMacAddressTest.java141 MacAddress[] localAddresses = { in testIsLocallyAssignedAddress() local
151 for (MacAddress mac : localAddresses) { in testIsLocallyAssignedAddress()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java3080 List<InetAddress> localAddresses = getAddressForNetwork(mDefaultNetwork); in isIpPreferenceConflictsWithNetwork() local
3081 if (localAddresses == null || localAddresses.size() == 0) { in isIpPreferenceConflictsWithNetwork()
3084 } else if (!IwlanHelper.hasIpv6Address(localAddresses) in isIpPreferenceConflictsWithNetwork()
3093 } else if (!IwlanHelper.hasIpv4Address(localAddresses) in isIpPreferenceConflictsWithNetwork()