HomeSort by relevance Sort by last modified time
    Searched defs:bestMatch (Results 1 - 25 of 260) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/apache-http/src/org/apache/http/impl/client/
BasicCredentialsProvider.java 106 AuthScope bestMatch = null;
111 bestMatch = current;
114 if (bestMatch != null) {
115 creds = map.get(bestMatch);
  /external/apache-http/src/org/apache/http/protocol/
UriPatternMatcher.java 105 String bestMatch = null;
110 if (bestMatch == null
111 || (bestMatch.length() < pattern.length())
112 || (bestMatch.length() == pattern.length() && pattern.endsWith("*"))) {
114 bestMatch = pattern;
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioProfile.cpp 110 int bestMatch = 0;
176 if (match > bestMatch) {
177 bestMatch = match;
182 return bestMatch > 0 ? NO_ERROR : BAD_VALUE;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
ANQPMatcher.java 111 int bestMatch = AuthMatch.NONE;
114 if (match > bestMatch) {
115 bestMatch = match;
116 if (bestMatch == AuthMatch.EXACT) {
121 return bestMatch;
PasspointManager.java 353 Pair<PasspointProvider, PasspointMatch> bestMatch = null;
358 bestMatch = Pair.create(provider, matchStatus);
361 if (matchStatus == PasspointMatch.RoamingProvider && bestMatch == null) {
362 bestMatch = Pair.create(provider, matchStatus);
365 if (bestMatch != null) {
367 bestMatch.first.getConfig().getHomeSp().getFqdn(),
368 bestMatch.second == PasspointMatch.HomeProvider ? "Home Provider"
373 return bestMatch;
  /packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DefaultEmergencyPicker.java 46 PackageInfo bestMatch = null;
54 if (isSystemApp(appInfo) && (bestMatch == null ||
55 bestMatch.firstInstallTime > packageInfo.firstInstallTime)) {
56 bestMatch = packageInfo;
61 if (bestMatch != null) {
64 setDefaultKey(bestMatch.packageName);
  /frameworks/base/core/java/android/security/net/config/
ApplicationConfig.java 88 Pair<Domain, NetworkSecurityConfig> bestMatch = null;
101 if (bestMatch == null) {
102 bestMatch = entry;
103 } else if (domain.hostname.length() > bestMatch.first.hostname.length()) {
104 bestMatch = entry;
108 if (bestMatch != null) {
109 return bestMatch.second;
  /frameworks/minikin/libs/minikin/
FontFamily.cpp 143 int bestMatch = 0;
147 if (i == 0 || match < bestMatch) {
149 bestMatch = match;
  /packages/services/Telephony/src/com/android/phone/
EmergencyActionGroup.java 165 PackageInfo bestMatch = null;
176 if (isSystemApp(packageInfo) && (bestMatch == null ||
177 bestMatch.firstInstallTime > packageInfo.firstInstallTime)) {
178 bestMatch = packageInfo;
182 if (bestMatch != null) {
185 bestMatch.packageName);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
FontFamily_Delegate.java 183 int bestMatch = Integer.MAX_VALUE;
188 if (match < bestMatch) {
189 bestMatch = match;
196 if (bestMatch == 0) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
MccTable.java 335 Locale bestMatch = lookupFallback(target, languageMatches);
336 if (bestMatch != null) {
338 + bestMatch.toLanguageTag());
339 return bestMatch;
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
CalendarFrame.java 183 int bestMatch = -1, thisMatch = -1;
199 if (thisMatch >= bestMatch) {
200 bestMatch = thisMatch;
CalendarCalc.java 270 int bestMatch = -1, thisMatch = -1;
285 if (thisMatch >= bestMatch) {
286 bestMatch = thisMatch;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateMetadata.java 365 Element bestMatch = null;
371 if (bestMatch == null && attributes.getLength() == 0) {
372 bestMatch = thumb;
394 bestMatch = thumb;
400 if (bestMatch != null) {
401 NodeList children = bestMatch.getChildNodes();
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TimeZoneGenericNames.java 708 GenericMatchInfo bestMatch = null;
720 bestMatch = createGenericMatchInfo(longestMatch);
721 if (bestMatch.matchLength() == (text.length() - start)) {
723 //return bestMatch;
729 // if (bestMatch.nameType != GenericNameType.LONG || bestMatch.timeType != TimeType.STANDARD) {
730 // return bestMatch;
739 if (bestMatch.timeType != TimeType.STANDARD) {
740 return bestMatch;
750 // TODO See the above TODO. We use match.matchLength() >= bestMatch.matcheLength(
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TimeZoneGenericNames.java 706 GenericMatchInfo bestMatch = null;
718 bestMatch = createGenericMatchInfo(longestMatch);
719 if (bestMatch.matchLength() == (text.length() - start)) {
721 //return bestMatch;
727 // if (bestMatch.nameType != GenericNameType.LONG || bestMatch.timeType != TimeType.STANDARD) {
728 // return bestMatch;
737 if (bestMatch.timeType != TimeType.STANDARD) {
738 return bestMatch;
748 // TODO See the above TODO. We use match.matchLength() >= bestMatch.matcheLength(
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java 617 long bestMatch = updateMatchScoresBasedOnDataMatches(db, rawContactId, matcher);
618 if (bestMatch == ContactMatcher.MULTIPLE_MATCHES) {
621 } else if (bestMatch == -1) {
623 bestMatch = pickBestMatchBasedOnSecondaryData(db, rawContactId, candidates, matcher);
624 if (bestMatch == ContactMatcher.MULTIPLE_MATCHES) {
629 return bestMatch;
675 long bestMatch = matcher.pickBestMatch(ContactMatcher.SCORE_THRESHOLD_PRIMARY, false);
676 if (bestMatch != -1) {
677 return bestMatch;
    [all...]
  /external/icu/icu4c/source/i18n/
smpdtfmt.cpp     [all...]
  /frameworks/base/core/java/com/google/android/util/
AbstractMessageParser.java     [all...]
  /libcore/ojluni/src/main/java/java/text/
SimpleDateFormat.java     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
SimpleDateFormat.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
SimpleDateFormat.java     [all...]
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
SetterStore.java 475 MultiAttributeSetter bestMatch = matching.get(0);
476 calls.add(bestMatch);
477 removeConsumedAttributes(matching, bestMatch.attributes);
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
ResolverActivity.java 745 int bestMatch = 0;
750 if (r.match > bestMatch) bestMatch = r.match;
756 if (otherProfileMatch > bestMatch) bestMatch = otherProfileMatch;
764 pm.addPreferredActivity(filter, bestMatch, set, intent.getComponent());
794 mAdapter.mResolverListController.setLastChosen(intent, filter, bestMatch);
    [all...]
  /libcore/ojluni/src/main/java/java/time/format/
DateTimeFormatterBuilder.java     [all...]

Completed in 2198 milliseconds

1 2 3 4 5 6 7 8 91011