Home
last modified time | relevance | path

Searched refs:hasIpv4Address (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java547 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
556 assertTrue(stacked.hasIpv4Address()); in testAddressMethods()
558 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
561 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
570 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
582 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
587 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
592 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
599 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
602 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java1010 public boolean hasIpv4Address() { in hasIpv4Address() method in LinkProperties
1028 return hasIpv4Address(); in hasIPv4Address()
1038 return (Objects.equals(iface, mIfaceName) && hasIpv4Address()) in hasIpv4AddressOnInterface()
1040 && mStackedLinks.get(iface).hasIpv4Address()); in hasIpv4AddressOnInterface()
1252 return (hasIpv4Address() in isIpv4Provisioned()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java136 boolean hasIpv4Address = false; in validateNetmaskInReply()
149 if (!attr.isEmptyValue()) hasIpv4Address = true; in validateNetmaskInReply()
159 if (!hasIpv4Address && numNetmask > 0) { in validateNetmaskInReply()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java126 public static boolean hasIpv4Address(List<InetAddress> localAddresses) { in hasIpv4Address() method in IwlanHelper
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java99 assertFalse(lp.hasIpv4Address()); in assertOnlyOneV6AddressAndNoV4()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1207 if (lp.hasIpv4Address() || lp.isProvisioned()) { in isProvisioned()
1267 final boolean lostIPv4Address = oldLp.hasIpv4Address() && !newLp.hasIpv4Address(); in compareProvisioning()
2101 return !mLinkProperties.hasIpv4Address() && !mLinkProperties.hasGlobalIpv6Address(); in readyToProceed()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java129 && !lp.hasIpv4Address(); in requiresClat()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java1431 if (!IwlanHelper.hasIpv4Address(mLocalAddresses)) { in selectEpdgAddress()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java837 if (ns != null && ns.linkProperties != null && ns.linkProperties.hasIpv4Address()) { in updateUpstreamNetworkState()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt179 method public boolean hasIpv4Address();
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java1870 assertFalse(captor.getValue().hasIpv4Address());
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5941 if (lp.hasIpv4Address()) {