Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/security/net/config/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DMessagingLayoutTransformState.java379 MessagingGroup bestMatch = null; in findPairs() local
386 bestMatch = otherGroup; in findPairs()
390 if (bestMatch != null) { in findPairs()
391 mGroupMap.put(ownGroup, bestMatch); in findPairs()
/aosp14/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java1425 TrieNode bestMatch = null; in longestMatch() local
1432 bestMatch = root; in longestMatch()
1434 bestMatch = root; in longestMatch()
1438 return bestMatch; in longestMatch()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java1477 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);