Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/net/config/
DApplicationConfig.java88 Pair<Domain, NetworkSecurityConfig> bestMatch = null; in getConfigForHostname() local
101 if (bestMatch == null) { in getConfigForHostname()
102 bestMatch = entry; in getConfigForHostname()
103 } else if (domain.hostname.length() > bestMatch.first.hostname.length()) { in getConfigForHostname()
104 bestMatch = entry; in getConfigForHostname()
108 if (bestMatch != null) { in getConfigForHostname()
109 return bestMatch.second; in getConfigForHostname()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java111 int bestMatch = AuthMatch.NONE; in matchNAIRealm() local
114 if (match > bestMatch) { in matchNAIRealm()
115 bestMatch = match; in matchNAIRealm()
116 if (bestMatch == AuthMatch.EXACT) { in matchNAIRealm()
121 return bestMatch; in matchNAIRealm()
DPasspointManager.java353 Pair<PasspointProvider, PasspointMatch> bestMatch = null; in matchProvider() local
358 bestMatch = Pair.create(provider, matchStatus); in matchProvider()
361 if (matchStatus == PasspointMatch.RoamingProvider && bestMatch == null) { in matchProvider()
362 bestMatch = Pair.create(provider, matchStatus); in matchProvider()
365 if (bestMatch != null) { in matchProvider()
367 bestMatch.first.getConfig().getHomeSp().getFqdn(), in matchProvider()
368 bestMatch.second == PasspointMatch.HomeProvider ? "Home Provider" in matchProvider()
373 return bestMatch; in matchProvider()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp110 int bestMatch = 0; in checkCompatibleChannelMask() local
176 if (match > bestMatch) { in checkCompatibleChannelMask()
177 bestMatch = match; in checkCompatibleChannelMask()
182 return bestMatch > 0 ? NO_ERROR : BAD_VALUE; in checkCompatibleChannelMask()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp143 int bestMatch = 0; in getClosestMatch() local
147 if (i == 0 || match < bestMatch) { in getClosestMatch()
149 bestMatch = match; in getClosestMatch()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java183 int bestMatch = Integer.MAX_VALUE; in getFont() local
188 if (match < bestMatch) { in getFont()
189 bestMatch = match; in getFont()
196 if (bestMatch == 0) { in getFont()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java335 Locale bestMatch = lookupFallback(target, languageMatches); in getLocaleForLanguageCountry() local
336 if (bestMatch != null) { in getLocaleForLanguageCountry()
338 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()
339 return bestMatch; in getLocaleForLanguageCountry()
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java1411 TrieNode bestMatch = null; in longestMatch() local
1418 bestMatch = root; in longestMatch()
1420 bestMatch = root; in longestMatch()
1424 return bestMatch; in longestMatch()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java745 int bestMatch = 0; in onTargetSelected() local
750 if (r.match > bestMatch) bestMatch = r.match; in onTargetSelected()
756 if (otherProfileMatch > bestMatch) bestMatch = otherProfileMatch; in onTargetSelected()
764 pm.addPreferredActivity(filter, bestMatch, set, intent.getComponent()); in onTargetSelected()
794 mAdapter.mResolverListController.setLastChosen(intent, filter, bestMatch); in onTargetSelected()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java475 MultiAttributeSetter bestMatch = matching.get(0); in getMultiAttributeSetterCalls() local
476 calls.add(bestMatch); in getMultiAttributeSetterCalls()
477 removeConsumedAttributes(matching, bestMatch.attributes); in getMultiAttributeSetterCalls()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...