/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgSelectorTest.java | 199 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/ |
D | MdnsInterfaceSocket.java | 101 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/ |
D | LinkPropertiesTest.java | 548 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/ |
D | LinkProperties.java | 1037 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/ |
D | ConnectivityListener.java | 484 if ((lp.hasIpv4Address() && !mLateLp.hasIpv4Address())
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 136 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/ |
D | IPv6TetheringCoordinatorTest.java | 100 assertFalse(lp.hasIpv4Address()); in assertOnlyOneV6AddressAndNoV4()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanHelper.java | 162 public static boolean hasIpv4Address(List<InetAddress> localAddresses) { in hasIpv4Address() method in IwlanHelper
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 371 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()
|
D | EpdgTunnelManager.java | 3093 } else if (!IwlanHelper.hasIpv4Address(localAddresses) in isIpPreferenceConflictsWithNetwork()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 1656 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/ |
D | Nat464Xlat.java | 148 && !lp.hasIpv4Address(); in requiresClat()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 198 method public boolean hasIpv4Address();
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 1006 if (ns != null && ns.linkProperties != null && ns.linkProperties.hasIpv4Address()) { in updateUpstreamNetworkState()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 2470 assertFalse(captor.getValue().hasIpv4Address());
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 7833 if (lp.hasIpv4Address()) { in getLinkPropertiesSummary()
|