Home
last modified time | relevance | path

Searched refs:MATCH_REQUIRED (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnCellUnderlyingNetworkTemplateTest.java20 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()
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DNetworkPriorityClassifier.java25 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()
DUnderlyingNetworkController.java21 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;
195 NetworkCapabilities.NET_CAPABILITY_INTERNET, MATCH_REQUIRED))); in dedupAndGetCapRequirementsForCell()
369 if (matchCriteria == MATCH_REQUIRED) { in getCellNetworkRequestForSubId()
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DNetworkPriorityClassifierTest.java21 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()
DUnderlyingNetworkControllerTest.java25 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()
/frameworks/base/core/java/android/net/vcn/
DVcnUnderlyingNetworkTemplate.java62 public static final int MATCH_REQUIRED = 1; field in VcnUnderlyingNetworkTemplate
73 @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
DVcnWifiUnderlyingNetworkTemplate.java173 return Collections.singletonMap(NET_CAPABILITY_INTERNET, MATCH_REQUIRED); in getCapabilitiesMatchCriteria()
DVcnCellUnderlyingNetworkTemplate.java86 capsMatchCriteria.put(NET_CAPABILITY_INTERNET, MATCH_REQUIRED); in capsMatchCriteria.put() argument
159 requiredCapabilityFound |= (matchCriteria == MATCH_REQUIRED); in validateCapabilitiesMatchCriteria()
DVcnGatewayConnectionConfig.java20 import static android.net.vcn.VcnUnderlyingNetworkTemplate.MATCH_REQUIRED;
203 .setOpportunistic(MATCH_REQUIRED) in DEFAULT_UNDERLYING_NETWORK_TEMPLATES.add()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt29497 field public static final int MATCH_REQUIRED = 1; // 0x1