Home
last modified time | relevance | path

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

/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java199 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testStaticMethodPass()
241 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testRoamStaticMethodPass()
278 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithNoPlmnInCarrierConfig()
298 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethod()
349 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithDuplicatedImsiAndEhplmn()
388 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithInvalidLengthPlmns()
417 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithInvalidCharacterPlmns()
447 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithEmptyPlmns()
475 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithFirstEhplmn()
508 doReturn(true).when(mEpdgSelector).hasIpv4Address(mMockNetwork); in testPlmnResolutionMethodWithRplmn()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceSocket.java101 private static boolean hasIpv4Address(@NonNull List<LinkAddress> addresses) { in hasIpv4Address() method in MdnsInterfaceSocket
133 final boolean hasAddr = hasIpv4Address(addresses); in maybeJoinIpv4()
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java548 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
557 assertTrue(stacked.hasIpv4Address()); in testAddressMethods()
559 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
562 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
571 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
583 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
588 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
593 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
600 assertTrue(lp.hasIpv4Address()); in testAddressMethods()
603 assertFalse(lp.hasIpv4Address()); in testAddressMethods()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java1037 public boolean hasIpv4Address() { in hasIpv4Address() method in LinkProperties
1055 return hasIpv4Address(); in hasIPv4Address()
1065 return (Objects.equals(iface, mIfaceName) && hasIpv4Address()) in hasIpv4AddressOnInterface()
1067 && mStackedLinks.get(iface).hasIpv4Address()); in hasIpv4AddressOnInterface()
1279 return (hasIpv4Address() in isIpv4Provisioned()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java484 if ((lp.hasIpv4Address() && !mLateLp.hasIpv4Address())
/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/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java100 assertFalse(lp.hasIpv4Address()); in assertOnlyOneV6AddressAndNoV4()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java162 public static boolean hasIpv4Address(List<InetAddress> localAddresses) { in hasIpv4Address() method in IwlanHelper
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSelector.java371 protected boolean hasIpv4Address(Network network) { in hasIpv4Address() method in EpdgSelector
372 return IwlanHelper.hasIpv4Address(IwlanHelper.getAllAddressesForNetwork(mContext, network)); in hasIpv4Address()
443 if (hasIpv4Address(network)) { in getIP()
DEpdgTunnelManager.java3093 } else if (!IwlanHelper.hasIpv4Address(localAddresses) in isIpPreferenceConflictsWithNetwork()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1656 if (lp.hasIpv4Address() || lp.isProvisioned() || isIpv6LinkLocalProvisioned(lp)) { in isProvisioned()
1722 final boolean lostIPv4Address = oldLp.hasIpv4Address() && !newLp.hasIpv4Address(); in compareProvisioning()
2953 return !mLinkProperties.hasIpv4Address() && !mLinkProperties.hasGlobalIpv6Address(); in readyToProceed()
3605 final boolean hasIpv4Addr = mLinkProperties.hasIpv4Address(); in deriveDtimMultiplier()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java148 && !lp.hasIpv4Address(); in requiresClat()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt198 method public boolean hasIpv4Address();
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1006 if (ns != null && ns.linkProperties != null && ns.linkProperties.hasIpv4Address()) { in updateUpstreamNetworkState()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2470 assertFalse(captor.getValue().hasIpv4Address());
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java7833 if (lp.hasIpv4Address()) { in getLinkPropertiesSummary()