Home
last modified time | relevance | path

Searched refs:getNat64Prefix (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java150 mAgentConfig.skip464xlat, nai.linkProperties.getNat64Prefix(),
160 mAgentConfig.skip464xlat, nai.linkProperties.getNat64Prefix(),
518 assertEquals(prefixFromDns, fixedupLp.getNat64Prefix());
523 assertEquals(prefixFromRa, fixedupLp.getNat64Prefix());
528 assertEquals(prefixFromDns, fixedupLp.getNat64Prefix());
533 assertEquals(prefixFromRa, fixedupLp.getNat64Prefix());
538 assertEquals(prefixFromRa, fixedupLp.getNat64Prefix());
543 assertEquals(null, fixedupLp.getNat64Prefix());
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkInformationShimImpl.java79 public IpPrefix getNat64Prefix(@NonNull LinkProperties lp) { in getNat64Prefix() method in NetworkInformationShimImpl
80 return lp.getNat64Prefix(); in getNat64Prefix()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java133 if (linkProperties.getNat64Prefix() != null) { in getAllAddressesForNetwork()
134 mNat64Prefix = linkProperties.getNat64Prefix(); in getAllAddressesForNetwork()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DNetworkInformationShim.java57 IpPrefix getNat64Prefix(@NonNull LinkProperties lp); in getNat64Prefix() method
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DNetworkInformationShimImpl.java74 public IpPrefix getNat64Prefix(@NonNull LinkProperties lp) { in getNat64Prefix() method in NetworkInformationShimImpl
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java132 assertNull(lp.getNat64Prefix()); in checkEmpty()
659 assertNull(lp.getNat64Prefix()); in testNat64Prefix()
663 assertEquals(p, lp.getNat64Prefix()); in testNat64Prefix()
667 assertEquals(p, lp.getNat64Prefix()); in testNat64Prefix()
681 assertEquals(new IpPrefix("2001:db8:a:b:1:2:3::/96"), lp.getNat64Prefix()); in testNat64Prefix()
684 assertNull(lp.getNat64Prefix()); in testNat64Prefix()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java419 updatePref64(mShim.getNat64Prefix(mLinkProperties), mNat64PrefixExpiry, in onAlarm()
450 final IpPrefix currentPrefix = mShim.getNat64Prefix(mLinkProperties); in updatePref64()
DIpClient.java1866 mShim.setNat64Prefix(newLp, mShim.getNat64Prefix(netlinkLinkProperties)); in assembleLinkProperties()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java169 return requiresClat(nai) && lp != null && lp.getNat64Prefix() != null; in shouldStartClat()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java1001 IpPrefix ipPrefix = linkProperties.getNat64Prefix(); in resolveAndSetAvailableRemoteAddresses()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java823 public @Nullable IpPrefix getNat64Prefix() { in getNat64Prefix() method in LinkProperties
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2292 argThat(lp -> Objects.equals(expected, lp.getNat64Prefix())));
2298 lp -> !Objects.equals(unchanged, lp.getNat64Prefix())));
2328 if (lp.getNat64Prefix() != null) {
2329 assertEquals(prefix, lp.getNat64Prefix());
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java10965 assertNull(mCm.getLinkProperties(mCellAgent.getNetwork()).getNat64Prefix());
10971 assertEquals(kNat64Prefix, lpBeforeClat.getNat64Prefix());
11021 cb -> cb.getLp().getNat64Prefix().equals(kOtherNat64Prefix));
11071 cb -> cb.getLp().getNat64Prefix() == null);
11090 && cb.getLp().getNat64Prefix() != null);
11103 && cb.getLp().getNat64Prefix() == null);
11158 && cb.getLp().getNat64Prefix().equals(kNat64Prefix));
11202 x -> Objects.equals(x.getLp().getNat64Prefix(), prefix));
11241 assertEquals(pref64FromRa, mCm.getLinkProperties(network).getNat64Prefix());
11325 assertEquals(newPref64FromRa, mCm.getLinkProperties(network).getNat64Prefix());
/packages/modules/Connectivity/framework/api/
Dcurrent.txt256 method @Nullable public android.net.IpPrefix getNat64Prefix();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9029 nai.clatd.setNat64PrefixFromRa(lp.getNat64Prefix());