Home
last modified time | relevance | path

Searched refs:matchCriteria (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/vcn/
DVcnCellUnderlyingNetworkTemplate.java152 final int matchCriteria = entry.getValue(); in validateCapabilitiesMatchCriteria() local
157 validateMatchCriteria(matchCriteria, "capability " + capability); in validateCapabilitiesMatchCriteria()
159 requiredCapabilityFound |= (matchCriteria == MATCH_REQUIRED); in validateCapabilitiesMatchCriteria()
447 public Builder setMetered(@MatchCriteria int matchCriteria) { in setMetered() argument
448 validateMatchCriteria(matchCriteria, "setMetered"); in setMetered()
450 mMeteredMatchCriteria = matchCriteria; in setMetered()
505 public Builder setRoaming(@MatchCriteria int matchCriteria) { in setRoaming() argument
506 validateMatchCriteria(matchCriteria, "setRoaming"); in setRoaming()
508 mRoamingMatchCriteria = matchCriteria; in setRoaming()
520 public Builder setOpportunistic(@MatchCriteria int matchCriteria) { in setOpportunistic() argument
[all …]
DVcnUnderlyingNetworkTemplate.java136 static void validateMatchCriteria(int matchCriteria, String matchingCapability) { in validateMatchCriteria() argument
138 MATCH_CRITERIA_TO_STRING_MAP.contains(matchCriteria), in validateMatchCriteria()
139 "Invalid matching criteria: " + matchCriteria + " for " + matchingCapability); in validateMatchCriteria()
226 static String getMatchCriteriaString(int matchCriteria) { in getMatchCriteriaString() argument
227 return getNameString(MATCH_CRITERIA_TO_STRING_MAP, matchCriteria); in getMatchCriteriaString()
DVcnWifiUnderlyingNetworkTemplate.java204 public Builder setMetered(@MatchCriteria int matchCriteria) { in setMetered() argument
205 validateMatchCriteria(matchCriteria, "setMetered"); in setMetered()
207 mMeteredMatchCriteria = matchCriteria; in setMetered()
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnCellUnderlyingNetworkTemplateTest.java57 VcnCellUnderlyingNetworkTemplate.Builder builder, int matchCriteria) { in setAllCapabilities() argument
58 builder.setCbs(matchCriteria); in setAllCapabilities()
59 builder.setDun(matchCriteria); in setAllCapabilities()
60 builder.setIms(matchCriteria); in setAllCapabilities()
61 builder.setInternet(matchCriteria); in setAllCapabilities()
62 builder.setMms(matchCriteria); in setAllCapabilities()
63 builder.setRcs(matchCriteria); in setAllCapabilities()
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkController.java144 public final int matchCriteria; field in UnderlyingNetworkController.CapabilityMatchCriteria
146 CapabilityMatchCriteria(int capability, int matchCriteria) { in CapabilityMatchCriteria() argument
148 this.matchCriteria = matchCriteria; in CapabilityMatchCriteria()
153 return Objects.hash(capability, matchCriteria); in hashCode()
163 return capability == rhs.capability && matchCriteria == rhs.matchCriteria; in equals()
182 final int matchCriteria = entry.getValue(); in dedupAndGetCapRequirementsForCell() local
183 if (matchCriteria != MATCH_ANY) { in dedupAndGetCapRequirementsForCell()
184 capsMatchSet.add(new CapabilityMatchCriteria(capability, matchCriteria)); in dedupAndGetCapRequirementsForCell()
367 final int matchCriteria = capMatchCriteria.matchCriteria; in getCellNetworkRequestForSubId() local
369 if (matchCriteria == MATCH_REQUIRED) { in getCellNetworkRequestForSubId()
[all …]
DNetworkPriorityClassifier.java172 final int matchCriteria = entry.getValue(); in checkMatchesPriorityRule() local
174 if (matchCriteria == MATCH_REQUIRED && !caps.hasCapability(cap)) { in checkMatchesPriorityRule()
176 } else if (matchCriteria == MATCH_FORBIDDEN && caps.hasCapability(cap)) { in checkMatchesPriorityRule()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1242 const std::vector<AudioMixMatchCriterion>& matchCriteria);
1253 const std::vector<AudioMixMatchCriterion>& matchCriteria,
1279 const std::vector<AudioMixMatchCriterion>& matchCriteria = {}) { in addPolicyMix() argument
1280 AudioMix myAudioMix(matchCriteria, mixType, audioConfig, mixFlag,
1323 const std::vector<AudioMixMatchCriterion>& matchCriteria, audio_session_t session, in addPolicyMixAndStartInputForLoopback() argument
1326 addPolicyMix(mixType, mixFlag, deviceType, mixAddress, audioConfig, matchCriteria)); in addPolicyMixAndStartInputForLoopback()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...