Searched refs:bestMatch (Results 1 – 9 of 9) sorted by relevance
88 Pair<Domain, NetworkSecurityConfig> bestMatch = null; in getConfigForHostname() local101 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()
121 Locale bestMatch = lookupFallback(target, languageMatches); in getLocaleForLanguageCountry() local122 if (bestMatch != null) { in getLocaleForLanguageCountry()124 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()125 return bestMatch; in getLocaleForLanguageCountry()
142 int bestMatch = Integer.MAX_VALUE;146 if (match < bestMatch) {147 bestMatch = match;149 if (bestMatch == 0) {
218 int bestMatch = Integer.MAX_VALUE; in getFont() local222 if (match < bestMatch) { in getFont()223 bestMatch = match; in getFont()225 if (bestMatch == 0) { in getFont()
230 int bestMatch = 0; in checkCompatibleChannelMask() local300 if (match > bestMatch) { in checkCompatibleChannelMask()301 bestMatch = match; in checkCompatibleChannelMask()306 return bestMatch > 0 ? NO_ERROR : BAD_VALUE; in checkCompatibleChannelMask()
148 int bestMatch = computeMatch(bestFont->style(), style); in getClosestMatch() local152 if (i == 0 || match < bestMatch) { in getClosestMatch()154 bestMatch = match; in getClosestMatch()
379 MessagingGroup bestMatch = null; in findPairs() local386 bestMatch = otherGroup; in findPairs()390 if (bestMatch != null) { in findPairs()391 mGroupMap.put(ownGroup, bestMatch); in findPairs()
1425 TrieNode bestMatch = null; in longestMatch() local1432 bestMatch = root; in longestMatch()1434 bestMatch = root; in longestMatch()1438 return bestMatch; in longestMatch()
1183 int bestMatch = 0;1189 if (r.match > bestMatch) bestMatch = r.match;1197 if (otherProfileMatch > bestMatch) bestMatch = otherProfileMatch;1205 pm.addPreferredActivity(filter, bestMatch, set, intent.getComponent());1236 .mResolverListController.setLastChosen(intent, filter, bestMatch);