/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/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/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedEAN8Reader.cpp | 44 int32_t bestMatch =
48 resultResult += (FX_CHAR)('0' + bestMatch);
74 int32_t bestMatch =
78 resultResult += (FX_CHAR)('0' + bestMatch);
|
BC_OnedEAN13Reader.cpp | 58 int32_t bestMatch =
62 resultString += (FX_CHAR)('0' + bestMatch % 10);
66 if (bestMatch >= 10) {
87 int32_t bestMatch =
91 resultString += (FX_CHAR)('0' + bestMatch);
|
BC_OnedCode128Reader.cpp | 108 int32_t bestMatch = -1;
115 bestMatch = startCode;
118 if (bestMatch >= 0) {
128 (*result)[2] = bestMatch;
156 int32_t bestMatch = -1;
162 bestMatch = d;
165 if (bestMatch >= 0) {
166 return bestMatch;
|
BC_OneDimReader.cpp | 203 int32_t bestMatch = -1;
210 bestMatch = i;
213 if (bestMatch >= 0) {
214 return bestMatch;
|
/external/opencv3/samples/cpp/ |
shape_example.cpp | 79 int bestMatch = 0; 97 bestMatch = ii; 104 bestname<<path<<bestMatch<<".png";
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
CertPinManager.java | 164 String bestMatch = ""; 167 if (cn.length() < bestMatch.length()) { 172 bestMatch = cn; 175 return bestMatch;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
DefaultEmergencyPreference.java | 102 PackageInfo bestMatch = null; 123 if (isSystemApp(packageInfo) && (bestMatch == null || 124 bestMatch.firstInstallTime > packageInfo.firstInstallTime)) { 125 bestMatch = packageInfo; 133 if (bestMatch != null && defaultMissing) { 136 bestMatch.packageName);
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417CodewordDecoder.cpp | 101 int32_t bestMatch = -1;
110 bestMatch = CBC_PDF417Common::SYMBOL_TABLE[j];
113 return bestMatch;
|
/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;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneGenericNames.java | 696 GenericMatchInfo bestMatch = null; 708 bestMatch = createGenericMatchInfo(longestMatch); 709 if (bestMatch.matchLength() == (text.length() - start)) { 711 //return bestMatch; 717 // if (bestMatch.nameType != GenericNameType.LONG || bestMatch.timeType != TimeType.STANDARD) { 718 // return bestMatch; 727 if (bestMatch.timeType != TimeType.STANDARD) { 728 return bestMatch; 738 // 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 | 694 GenericMatchInfo bestMatch = null; 706 bestMatch = createGenericMatchInfo(longestMatch); 707 if (bestMatch.matchLength() == (text.length() - start)) { 709 //return bestMatch; 715 // if (bestMatch.nameType != GenericNameType.LONG || bestMatch.timeType != TimeType.STANDARD) { 716 // return bestMatch; 725 if (bestMatch.timeType != TimeType.STANDARD) { 726 return bestMatch; 736 // TODO See the above TODO. We use match.matchLength() >= bestMatch.matcheLength( [all...] |
/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/minikin/libs/minikin/ |
FontFamily.cpp | 131 int bestMatch = 0; 135 if (i == 0 || match < bestMatch) { 137 bestMatch = match;
|
/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();
|
/libcore/ojluni/src/main/java/java/text/ |
SimpleDateFormat.java | [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
FontFamily_Delegate.java | 180 int bestMatch = Integer.MAX_VALUE; 185 if (match < bestMatch) { 186 bestMatch = match; 193 if (bestMatch == 0) {
|
/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/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarFrame.java | 181 int bestMatch = -1, thisMatch = -1; 197 if (thisMatch >= bestMatch) { 198 bestMatch = thisMatch;
|
CalendarCalc.java | 268 int bestMatch = -1, thisMatch = -1; 283 if (thisMatch >= bestMatch) { 284 bestMatch = thisMatch;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
MccTable.java | 317 Locale bestMatch = chooseBestFallback(target, languageMatches); 318 if (bestMatch != null) { 320 bestMatch.toLanguageTag()); 321 return bestMatch;
|
/frameworks/base/core/java/com/google/android/util/ |
AbstractMessageParser.java | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
SimpleDateFormat.java | [all...] |