Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java373 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
382 assertTrue(stacked.hasIPv4Address()); in testAddressMethods()
384 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
387 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
396 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
408 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
413 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
418 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
425 assertTrue(lp.hasIPv4Address()); in testAddressMethods()
428 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java95 final boolean hasIPv4Address = in requiresClat()
96 (nai.linkProperties != null) ? nai.linkProperties.hasIPv4Address() : false; in requiresClat()
99 return connected && !hasIPv4Address && ArrayUtils.contains(NETWORK_TYPES, netType); in requiresClat()
/frameworks/base/core/java/android/net/
DLinkProperties.java659 public boolean hasIPv4Address() { in hasIPv4Address() method in LinkProperties
675 return (Objects.equals(iface, mIfaceName) && hasIPv4Address()) || in hasIPv4AddressOnInterface()
677 mStackedLinks.get(iface).hasIPv4Address()); in hasIPv4AddressOnInterface()
763 return (hasIPv4Address() && in isIPv4Provisioned()
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java651 return lp.isProvisioned() || lp.hasIPv4Address(); in isProvisioned()
688 final boolean lostIPv4Address = oldLp.hasIPv4Address() && !newLp.hasIPv4Address(); in compareProvisioning()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5425 hadIPv4 = lp.hasIPv4Address() && lp.hasIPv4DefaultRoute(); in logDefaultNetworkEvent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java8178 if (lp.hasIPv4Address()) { in getLinkPropertiesSummary()