Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNat464XlatTest.java118 mAgentConfig.skip464xlat, nai.linkProperties.getNat64Prefix(),
127 mAgentConfig.skip464xlat, nai.linkProperties.getNat64Prefix(),
471 assertEquals(prefixFromDns, fixedupLp.getNat64Prefix());
476 assertEquals(prefixFromRa, fixedupLp.getNat64Prefix());
481 assertEquals(prefixFromDns, fixedupLp.getNat64Prefix());
486 assertEquals(prefixFromRa, fixedupLp.getNat64Prefix());
491 assertEquals(prefixFromRa, fixedupLp.getNat64Prefix());
496 assertEquals(null, fixedupLp.getNat64Prefix());
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java125 assertNull(lp.getNat64Prefix()); in checkEmpty()
661 assertNull(lp.getNat64Prefix()); in testNat64Prefix()
665 assertEquals(p, lp.getNat64Prefix()); in testNat64Prefix()
669 assertEquals(p, lp.getNat64Prefix()); in testNat64Prefix()
683 assertEquals(new IpPrefix("2001:db8:a:b:1:2:3::/96"), lp.getNat64Prefix()); in testNat64Prefix()
686 assertNull(lp.getNat64Prefix()); in testNat64Prefix()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java146 return requiresClat(nai) && lp != null && lp.getNat64Prefix() != null; in shouldStartClat()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6149 assertNull(mCm.getLinkProperties(mCellNetworkAgent.getNetwork()).getNat64Prefix()); in testStackedLinkProperties()
6155 assertEquals(kNat64Prefix, lpBeforeClat.getNat64Prefix()); in testStackedLinkProperties()
6199 (lp) -> lp.getNat64Prefix().equals(kOtherNat64Prefix)); in testStackedLinkProperties()
6241 (lp) -> lp.getNat64Prefix() == null); in testStackedLinkProperties()
6259 (lp) -> lp.getStackedLinks().size() == 1 && lp.getNat64Prefix() != null); in testStackedLinkProperties()
6266 (lp) -> lp.getStackedLinks().size() == 0 && lp.getNat64Prefix() == null); in testStackedLinkProperties()
6284 callback.expectLinkPropertiesThat(agent, x -> Objects.equals(x.getNat64Prefix(), prefix)); in expectNat64PrefixChange()
6323 assertEquals(pref64FromRa, mCm.getLinkProperties(network).getNat64Prefix()); in testNat64PrefixMultipleSources()
6407 assertEquals(newPref64FromRa, mCm.getLinkProperties(network).getNat64Prefix()); in testNat64PrefixMultipleSources()
/frameworks/base/core/java/android/net/
DLinkProperties.java811 public @Nullable IpPrefix getNat64Prefix() { in getNat64Prefix() method in LinkProperties
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5962 nai.clatd.setNat64PrefixFromRa(lp.getNat64Prefix()); in processLinkPropertiesFromAgent()
/frameworks/base/api/
Dcurrent.txt30129 method @Nullable public android.net.IpPrefix getNat64Prefix();