HomeSort by relevance Sort by last modified time
    Searched full:bestmatch (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /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;
  /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;
  /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);
  /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/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);
  /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...]
  /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;
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
Locate.c 434 INTN BestMatch;
477 BestMatch = -1;
499 ASSERT (Size != BestMatch);
504 if (Size > BestMatch) {
505 BestMatch = Size;
517 if (BestMatch == -1) {
529 *DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) (((UINT8 *) SourcePath) + BestMatch);
  /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();
  /frameworks/minikin/libs/minikin/
FontFamily.cpp 143 int bestMatch = 0;
147 if (i == 0 || match < bestMatch) {
149 bestMatch = match;
  /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...]
  /libcore/ojluni/src/main/java/java/text/
SimpleDateFormat.java     [all...]
  /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) {
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
CalendarCalc.java 270 int bestMatch = -1, thisMatch = -1;
285 if (thisMatch >= bestMatch) {
286 bestMatch = thisMatch;
CalendarFrame.java 183 int bestMatch = -1, thisMatch = -1;
199 if (thisMatch >= bestMatch) {
200 bestMatch = thisMatch;
  /external/ipsec-tools/src/racoon/
grabmyaddr.c 755 struct myaddrs *p, *bestmatch = NULL; local
766 if (!bestmatch) {
767 bestmatch = p;
773 bestmatch = p;
  /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/android_icu4j/src/main/tests/android/icu/dev/test/util/
LocaleMatcherTest.java 237 private void assertNull(Object bestMatch) {
238 assertNull("", bestMatch);
373 // When it *does* occur in the list, BestMatch returns it, as expected.
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
LocaleMatcherTest.java 236 private void assertNull(Object bestMatch) {
237 assertNull("", bestMatch);
372 // When it *does* occur in the list, BestMatch returns it, as expected.
  /external/icu/icu4c/source/i18n/
smpdtfmt.cpp     [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...]
  /prebuilts/go/darwin-x86/src/cmd/fix/
fix.go 582 bestMatch = -1
601 if n > bestMatch {
602 bestMatch = n

Completed in 779 milliseconds

1 2 3 4 5