Searched refs:bestMatch (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/security/net/config/ |
D | ApplicationConfig.java | 88 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/ |
D | ANQPMatcher.java | 113 int bestMatch = AuthMatch.NONE; in matchNAIRealm() local 116 if (match > bestMatch) { in matchNAIRealm() 117 bestMatch = match; in matchNAIRealm() 118 if (bestMatch == AuthMatch.EXACT) { in matchNAIRealm() 123 return bestMatch; in matchNAIRealm()
|
D | PasspointManager.java | 734 Pair<PasspointProvider, PasspointMatch> bestMatch = null; in matchProvider() local 737 bestMatch = match; in matchProvider() 740 if (match.second == PasspointMatch.RoamingProvider && bestMatch == null) { in matchProvider() 741 bestMatch = match; in matchProvider() 744 if (bestMatch != null) { in matchProvider() 746 bestMatch.first.getConfig().getHomeSp().getFqdn(), in matchProvider() 747 bestMatch.second == PasspointMatch.HomeProvider ? "Home Provider" in matchProvider() 754 return bestMatch; in matchProvider()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 131 int bestMatch = Integer.MAX_VALUE; 135 if (match < bestMatch) { 136 bestMatch = match; 138 if (bestMatch == 0) {
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 148 int bestMatch = computeMatch(bestFont->style(), style); in getClosestMatch() local 152 if (i == 0 || match < bestMatch) { in getClosestMatch() 154 bestMatch = match; in getClosestMatch()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 224 int bestMatch = Integer.MAX_VALUE; in getFont() local 228 if (match < bestMatch) { in getFont() 229 bestMatch = match; in getFont() 231 if (bestMatch == 0) { in getFont()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | MessagingLayoutTransformState.java | 321 MessagingGroup bestMatch = null; in findPairs() local 328 bestMatch = otherGroup; in findPairs() 332 if (bestMatch != null) { in findPairs() 333 mGroupMap.put(ownGroup, bestMatch); in findPairs()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfile.cpp | 182 int bestMatch = 0; in checkCompatibleChannelMask() local 253 if (match > bestMatch) { in checkCompatibleChannelMask() 254 bestMatch = match; in checkCompatibleChannelMask() 259 return bestMatch > 0 ? NO_ERROR : BAD_VALUE; in checkCompatibleChannelMask()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 318 Locale bestMatch = lookupFallback(target, languageMatches); in getLocaleForLanguageCountry() local 319 if (bestMatch != null) { in getLocaleForLanguageCountry() 321 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry() 322 return bestMatch; in getLocaleForLanguageCountry()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 1422 TrieNode bestMatch = null; in longestMatch() local 1429 bestMatch = root; in longestMatch() 1431 bestMatch = root; in longestMatch() 1435 return bestMatch; in longestMatch()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 1063 int bestMatch = 0; 1068 if (r.match > bestMatch) bestMatch = r.match; 1074 if (otherProfileMatch > bestMatch) bestMatch = otherProfileMatch; 1082 pm.addPreferredActivity(filter, bestMatch, set, intent.getComponent()); 1112 mAdapter.mResolverListController.setLastChosen(intent, filter, bestMatch);
|