Home
last modified time | relevance | path

Searched refs:US (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DInputMethodSubtypePreferenceTest.java41 createPreference("", "en_US", Locale.US),
42 createPreference("E", "en_US", Locale.US),
43 createPreference("Z", "en_US", Locale.US),
45 createPreference("", "en", Locale.US),
46 createPreference("E", "en", Locale.US),
47 createPreference("Z", "en", Locale.US),
49 createPreference("", "ja", Locale.US),
50 createPreference("A", "hi_IN", Locale.US),
51 createPreference("B", "", Locale.US),
52 createPreference("E", "ja", Locale.US),
[all …]
/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DLocaleHelperTest.java37 String sentenceCase = LocaleHelper.toSentenceCase("hello Google", Locale.US); in toSentenceCase_shouldUpperCaseFirstLetter()
43 String lowerCase = LocaleHelper.normalizeForSearch("english", Locale.US); in normalizeForSearch_sameStrings_shouldBeEqualAfterNormalized()
44 String upperCase = LocaleHelper.normalizeForSearch("ENGLISH", Locale.US); in normalizeForSearch_sameStrings_shouldBeEqualAfterNormalized()
51 LocaleHelper.getDisplayName(Locale.US, Locale.US, /* sentenceCase */ true); in getDisplayName_shouldReturnLocaleDisplayName()
60 Locale.US, in getDisplayName_withDifferentLocale_shouldReturnLocalizedDisplayName()
74 LocaleInfo unitedStates = LocaleStore.getLocaleInfo(Locale.US); in localeInfoComparator_shouldSortLocales()
79 list.sort(new LocaleInfoComparator(Locale.US, /* countryMode */ false)); in localeInfoComparator_shouldSortLocales()
DSuggestedLocaleAdapterTest.java44 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.US)); in setUp()
53 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.US)); in setUp()
69 suggestedLocaleAdapter.sort(new LocaleInfoComparator(Locale.US, /* countryMode */ false)); in suggestedLocaleAdapter_notCountryMode_shouldDisplayLocalesSorted()
95 suggestedLocaleAdapter.sort(new LocaleInfoComparator(Locale.US, /* countryMode */ true)); in suggestedLocaleAdapter_countryMode_shouldDisplayCountriesSorted()
/frameworks/base/services/core/java/com/android/server/pm/
DSnapshotStatistics.java367 pw.format(Locale.US, "%-23s", title); in dumpPrefix()
369 pw.format(Locale.US, "%11s", durationToString(now - mStartTimeUs)); in dumpPrefix()
371 pw.format(Locale.US, " %11s", durationToString(now - mStopTimeUs)); in dumpPrefix()
373 pw.format(Locale.US, " %11s", "now"); in dumpPrefix()
391 pw.format(Locale.US, " %10s %10s %10s %10s %10s %10s %10s", in dumpStats()
395 pw.format(Locale.US, in dumpStats()
411 pw.format(Locale.US, " %10s", in dumpTimes()
414 pw.format(Locale.US, " %10s", in dumpTimes()
418 pw.format(Locale.US, " %10d", mTimes[i]); in dumpTimes()
432 pw.format(Locale.US, " %10s", TextUtils.formatSimple("<= %d", keys[i])); in dumpUsage()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAssetJsonWriter.java56 mWriter.name(key.toLowerCase(Locale.US)); in writeFieldLower()
57 mWriter.value(value.toLowerCase(Locale.US)); in writeFieldLower()
77 mWriter.name(key.toLowerCase(Locale.US)); in writeArrayUpper()
80 mWriter.value(value.toUpperCase(Locale.US)); in writeArrayUpper()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateFormatTest.java68 assertFalse(DateFormat.is24HourLocale(Locale.US)); in testIs24HourLocale()
74 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(Locale.US); in testgetIcuDateFormatSymbols()
101 Locale enUS = Locale.US; in testGetDateFormatOrder()
151 assertIllegalArgumentException(Locale.US, "jmma"); in testGetBestDateTimePattern_disableDuplicateField()
152 assertIllegalArgumentException(Locale.US, "ahmma"); in testGetBestDateTimePattern_disableDuplicateField()
159 assertEquals("h:mm a", DateFormat.getBestDateTimePattern(Locale.US, "jmma")); in testGetBestDateTimePattern_enableDuplicateField()
160 assertEquals("h:mm a", DateFormat.getBestDateTimePattern(Locale.US, "ahmma")); in testGetBestDateTimePattern_enableDuplicateField()
DFormatterTest.java64 setLocale(Locale.US); in testFormatBytes()
111 setLocale(Locale.US); in testFormatBytesSi()
121 setLocale(Locale.US); in testFormatBytesIec()
137 setLocale(Locale.US); in testFormatShortElapsedTime()
171 setLocale(Locale.US); in testFormatShortElapsedTimeRoundingUpToMinutes()
DDateIntervalFormatTest.java67 Calendar c = Calendar.getInstance(tz, ULocale.US); in test_formatDateInterval()
324 ULocale l = ULocale.US; in test8862241()
340 ULocale l = ULocale.US; in test10089890()
365 ULocale l = ULocale.US; in test10318326()
394 ULocale l = ULocale.US; in test10560853_when_time_not_displayed()
422 ULocale l = ULocale.US; in test10560853_for_single_day_events()
437 ULocale l = ULocale.US; in test_single_day_events_later_than_epoch()
457 ULocale l = ULocale.US; in test_single_day_events_not_in_UTC()
479 ULocale l = ULocale.US; in test10209343_when_not_this_year()
507 ULocale l = ULocale.US; in test10209343_when_this_year()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DMDnsUtils.java64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) in containsVendor()
65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) in containsVendor()
DHPRecommendationPlugin.java57 String modelToUpper = printerModel.toUpperCase(Locale.US); in isPrintSupported()
72 String modelToUpper = printerModel.toUpperCase(Locale.US); in isSupportedDesignjet()
/frameworks/base/services/core/java/com/android/server/textservices/
DLocaleUtils.java116 if (!Locale.US.equals(systemLocaleLanguageCountry)) { in getSuitableLocalesForSpellChecker()
117 locales.add(Locale.US); in getSuitableLocalesForSpellChecker()
130 locales.add(Locale.US); in getSuitableLocalesForSpellChecker()
146 locales.add(Locale.US); in getSuitableLocalesForSpellChecker()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DMDnsUtils.java78 … || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) in containsVendor()
79 … || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) in containsVendor()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportStats.java77 Locale.US, "%sAverage connection time: %.2f ms", prefix, stats.average)); in dumpStats()
78 pw.println(String.format(Locale.US, "%sMax connection time: %d ms", prefix, stats.max)); in dumpStats()
79 pw.println(String.format(Locale.US, "%sMin connection time: %d ms", prefix, stats.min)); in dumpStats()
80 pw.println(String.format(Locale.US, "%sNumber of connections: %d ", prefix, stats.n)); in dumpStats()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorage.java88 String.format(Locale.US, "Error persisting snapshot for %d to disk", uid), in put()
106 Log.e(TAG, String.format(Locale.US, "Error reading snapshot for %d from disk", uid), e); in get()
170 return String.format(Locale.US, "%d.xml", uid); in getSnapshotFileName()
DApplicationKeyStorage.java74 Log.i(TAG, String.format(Locale.US, "Get %d/%d/%s", userId, uid, alias)); in getGrantAlias()
81 Log.i(TAG, String.format(Locale.US, "Set %d/%d/%s: %d bytes of key material", in setSymmetricKeyEntry()
99 Log.i(TAG, String.format(Locale.US, "Del %d/%d/%s", userId, uid, alias)); in deleteEntry()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java146 Locale.US, "Unexpected tag %s in keyChainSnapshot", name)); in deserializeInternal()
198 Locale.US, "Unexpected tag %s in wrappedApplicationKey", name)); in readWrappedApplicationKey()
254 Locale.US, in readKeyChainProtectionParams()
302 Locale.US, in readKeyDerivationParams()
343 Locale.US, "%s expected int but got '%s'", tagName, text), e); in readIntTag()
357 Locale.US, "%s expected long but got '%s'", tagName, text), e); in readLongTag()
380 Locale.US, in readBlobTag()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteTokenizer.java215 switch (token.toUpperCase(Locale.US)) { in isKeyword()
264 switch (token.toLowerCase(Locale.US)) { in isFunction()
285 switch (token.toUpperCase(Locale.US)) { in isType()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java214 Log.i(TAG, String.format(Locale.US, in getEncryptKey()
266 Log.i(TAG, String.format(Locale.US, in getDecryptKey()
310 Log.e(TAG, String.format(Locale.US, "The platform key for user %d became invalid.", in ensureDecryptionKeyIsValid()
337 Locale.US, "Platform key generation %d exists already.", generationId)); in init()
344 Log.w(TAG, String.format(Locale.US, "Platform generation ID was %d but no " in init()
DRecoverableKeyGenerator.java110 Locale.US, "Failed writing (%d, %s) to database.", uid, alias)); in generateAndStoreKey()
154 Locale.US, "Failed writing (%d, %s) to database.", uid, alias)); in importKey()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java113 textView.setTextLocale(Locale.US); in testMeasure_AtMost()
130 textView.setTextLocale(Locale.US); in testMeasure_Exactly()
147 textView.setTextLocale(Locale.US); in testMeasure_Unspecified()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTracker.java67 Locale.US, in TertiaryKeyRotationTracker()
96 Locale.US, in recordBackup()
DKeyWrapUtils.java54 Locale.US, in unwrap()
66 Locale.US, in unwrap()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/testing/
DDiffScriptProcessor.java94 Locale.US, in process()
112 Locale.US, in checkFileRange()
121 Locale.US, in checkFileRange()
/frameworks/base/location/java/android/location/
DCountry.java88 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
98 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
/frameworks/opt/telephony/tests/telephonytests/assets/
Deccdata_ota_input.txt3 iso_code: "US"

123456