Searched refs:MATCH_REQUIRED (Results 1 – 11 of 11) sorted by relevance
20 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;48 .setOpportunistic(MATCH_REQUIRED); in getTestNetworkTemplateBuilder()82 setAllCapabilities(builder, MATCH_REQUIRED); in testBuilderAndGetters()102 assertEquals(MATCH_REQUIRED, networkPriority.getOpportunistic()); in testBuilderAndGetters()104 verifyAllCapabilities(networkPriority, MATCH_REQUIRED, MATCH_REQUIRED); in testBuilderAndGetters()124 verifyAllCapabilities(networkPriority, MATCH_ANY, MATCH_REQUIRED); in testBuilderAndGettersForDefaultValues()163 new VcnCellUnderlyingNetworkTemplate.Builder().setDun(MATCH_REQUIRED).build(); in testEqualsWithDifferentCapabilities()165 new VcnCellUnderlyingNetworkTemplate.Builder().setMms(MATCH_REQUIRED).build(); in testEqualsWithDifferentCapabilities()181 setAllCapabilities(builder, MATCH_REQUIRED); in testPersistableBundleWithCapabilities()
25 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;147 if (meteredMatch == MATCH_REQUIRED && !isMetered in checkMatchesPriorityRule()174 if (matchCriteria == MATCH_REQUIRED && !caps.hasCapability(cap)) { in checkMatchesPriorityRule()293 if (roamingMatch == MATCH_REQUIRED && !isRoaming in checkMatchesCellPriorityRule()300 if (opportunisticMatch == MATCH_REQUIRED) { in checkMatchesCellPriorityRule()
21 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;195 NetworkCapabilities.NET_CAPABILITY_INTERNET, MATCH_REQUIRED))); in dedupAndGetCapRequirementsForCell()369 if (matchCriteria == MATCH_REQUIRED) { in getCellNetworkRequestForSubId()
21 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;316 getCellNetworkPriorityBuilder().setOpportunistic(MATCH_REQUIRED).build(); in testMatchOpportunisticCell()420 getCellNetworkPriorityBuilder().setInternet(MATCH_REQUIRED).build(); in testMatchCell()427 getCellNetworkPriorityBuilder().setCbs(MATCH_REQUIRED).build(); in testMatchCellFail_RequiredCapabilitiesMissing()457 .setDun(MATCH_REQUIRED) in checkCalculatePriorityClassFailToMatchAny()
25 import static android.net.vcn.VcnCellUnderlyingNetworkTemplate.MATCH_REQUIRED;143 .setDun(MATCH_REQUIRED)149 .setCbs(MATCH_REQUIRED)304 .setDun(MATCH_REQUIRED) in testNetworkCallbacksRegisteredOnStartupForNonInternetCapabilities()310 .setMms(MATCH_REQUIRED) in testNetworkCallbacksRegisteredOnStartupForNonInternetCapabilities()349 .setMms(MATCH_REQUIRED) in testNetworkCallbacksRegisteredOnStartupWithDedupedtCapabilities()353 networkTemplates.add(builder.setMetered(MATCH_REQUIRED).build()); in testNetworkCallbacksRegisteredOnStartupWithDedupedtCapabilities()877 new VcnCellUnderlyingNetworkTemplate.Builder().setDun(MATCH_REQUIRED).build()); in testFailtoMatchTemplateAndFallBackToInternetNetwork()891 new VcnCellUnderlyingNetworkTemplate.Builder().setDun(MATCH_REQUIRED).build()); in testFailtoMatchTemplateAndNeverFallBackToNonInternetNetwork()
62 public static final int MATCH_REQUIRED = 1; field in VcnUnderlyingNetworkTemplate73 @IntDef({MATCH_ANY, MATCH_REQUIRED, MATCH_FORBIDDEN})80 MATCH_CRITERIA_TO_STRING_MAP.put(MATCH_REQUIRED, "MATCH_REQUIRED"); in MATCH_CRITERIA_TO_STRING_MAP.put() argument
173 return Collections.singletonMap(NET_CAPABILITY_INTERNET, MATCH_REQUIRED); in getCapabilitiesMatchCriteria()
86 capsMatchCriteria.put(NET_CAPABILITY_INTERNET, MATCH_REQUIRED); in capsMatchCriteria.put() argument159 requiredCapabilityFound |= (matchCriteria == MATCH_REQUIRED); in validateCapabilitiesMatchCriteria()
20 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;203 .setOpportunistic(MATCH_REQUIRED) in DEFAULT_UNDERLYING_NETWORK_TEMPLATES.add()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
29497 field public static final int MATCH_REQUIRED = 1; // 0x1