Searched refs:bestMatch (Results 1 – 4 of 4) 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()
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()
1477 int bestMatch = 0;1483 if (r.match > bestMatch) bestMatch = r.match;1491 if (otherProfileMatch > bestMatch) bestMatch = otherProfileMatch;1499 pm.addUniquePreferredActivity(filter, bestMatch, set, intent.getComponent());1511 .mResolverListController.setLastChosen(intent, filter, bestMatch);