Searched refs:bestMatch (Results 1 – 11 of 11) 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()
111 int bestMatch = AuthMatch.NONE; in matchNAIRealm() local114 if (match > bestMatch) { in matchNAIRealm()115 bestMatch = match; in matchNAIRealm()116 if (bestMatch == AuthMatch.EXACT) { in matchNAIRealm()121 return bestMatch; in matchNAIRealm()
353 Pair<PasspointProvider, PasspointMatch> bestMatch = null; in matchProvider() local358 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()
110 int bestMatch = 0; in checkCompatibleChannelMask() local176 if (match > bestMatch) { in checkCompatibleChannelMask()177 bestMatch = match; in checkCompatibleChannelMask()182 return bestMatch > 0 ? NO_ERROR : BAD_VALUE; in checkCompatibleChannelMask()
143 int bestMatch = 0; in getClosestMatch() local147 if (i == 0 || match < bestMatch) { in getClosestMatch()149 bestMatch = match; in getClosestMatch()
183 int bestMatch = Integer.MAX_VALUE; in getFont() local188 if (match < bestMatch) { in getFont()189 bestMatch = match; in getFont()196 if (bestMatch == 0) { in getFont()
335 Locale bestMatch = lookupFallback(target, languageMatches); in getLocaleForLanguageCountry() local336 if (bestMatch != null) { in getLocaleForLanguageCountry()338 + bestMatch.toLanguageTag()); in getLocaleForLanguageCountry()339 return bestMatch; in getLocaleForLanguageCountry()
1411 TrieNode bestMatch = null; in longestMatch() local1418 bestMatch = root; in longestMatch()1420 bestMatch = root; in longestMatch()1424 return bestMatch; in longestMatch()
745 int bestMatch = 0; in onTargetSelected() local750 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()
475 MultiAttributeSetter bestMatch = matching.get(0); in getMultiAttributeSetterCalls() local476 calls.add(bestMatch); in getMultiAttributeSetterCalls()477 removeConsumedAttributes(matching, bestMatch.attributes); in getMultiAttributeSetterCalls()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...