Home
last modified time | relevance | path

Searched refs:hasIPv4Address (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java94 final boolean hasIPv4Address = in requiresClat()
95 (nai.linkProperties != null) && nai.linkProperties.hasIPv4Address(); in requiresClat()
96 return supported && connected && !hasIPv4Address; in requiresClat()
DDefaultNetworkMetrics.java166 ev.ipv4 |= lp.hasIPv4Address() && lp.hasIPv4DefaultRoute(); in fillLinkInfo()
/frameworks/base/tests/net/java/android/net/
DLinkPropertiesTest.java384 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
393 assertTrue(stacked.hasIPv4Address()); in testAddressMethods()
395 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
398 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
407 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
419 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
424 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
429 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
436 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
439 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
/frameworks/base/core/java/android/net/
DLinkProperties.java823 public boolean hasIPv4Address() { in hasIPv4Address() method in LinkProperties
839 return (Objects.equals(iface, mIfaceName) && hasIPv4Address()) || in hasIPv4AddressOnInterface()
841 mStackedLinks.get(iface).hasIPv4Address()); in hasIPv4AddressOnInterface()
927 return (hasIPv4Address() && in isIPv4Provisioned()
/frameworks/base/services/net/java/android/net/ip/
DIpClient.java1060 if (lp.hasIPv4Address() || lp.isProvisioned()) { in isProvisioned()
1105 final boolean lostIPv4Address = oldLp.hasIPv4Address() && !newLp.hasIPv4Address(); in compareProvisioning()
1565 return (!mLinkProperties.hasIPv4Address() && in readyToProceed()
/frameworks/base/config/
Dhiddenapi-vendor-list.txt191 Landroid/net/LinkProperties;->hasIPv4Address()Z
Dboot-image-profile.txt3670 HPLandroid/net/LinkProperties;->hasIPv4Address()Z
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java5806 if (lp.hasIPv4Address()) { in getLinkPropertiesSummary()