Home
last modified time | relevance | path

Searched refs:US (Results 1 – 25 of 150) 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/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/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/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/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java132 sb.append(String.format(Locale.US, "%02x", data.length)); in createPtrServiceQuery()
193 sb.append(String.format(Locale.US, "%04x", dnsType)); in createRequest()
194 sb.append(String.format(Locale.US, "%02x", version)); in createRequest()
221 sb.append(String.format(Locale.US, "%02x", dnsName.length())); in compressDnsName()
231 sb.append(String.format(Locale.US, "%02x", name.length())); in compressDnsName()
DWifiP2pServiceRequest.java142 sb.append(String.format(Locale.US, "%02x", (mLength) & 0xff)); in getSupplicantQuery()
143 sb.append(String.format(Locale.US, "%02x", (mLength >> 8) & 0xff)); in getSupplicantQuery()
144 sb.append(String.format(Locale.US, "%02x", mProtocolType)); in getSupplicantQuery()
145 sb.append(String.format(Locale.US, "%02x", mTransId)); in getSupplicantQuery()
/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/
DApplicationKeyStorage.java73 Log.i(TAG, String.format(Locale.US, "Get %d/%d/%s", userId, uid, alias)); in getGrantAlias()
80 Log.i(TAG, String.format(Locale.US, "Set %d/%d/%s: %d bytes of key material", in setSymmetricKeyEntry()
98 Log.i(TAG, String.format(Locale.US, "Del %d/%d/%s", userId, uid, alias)); in deleteEntry()
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()
/frameworks/base/core/tests/coretests/src/android/text/format/
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()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java147 Locale.US, "Unexpected tag %s in keyChainSnapshot", name)); in deserializeInternal()
199 Locale.US, "Unexpected tag %s in wrappedApplicationKey", name)); in readWrappedApplicationKey()
255 Locale.US, in readKeyChainProtectionParams()
303 Locale.US, in readKeyDerivationParams()
344 Locale.US, "%s expected int but got '%s'", tagName, text), e); in readIntTag()
358 Locale.US, "%s expected long but got '%s'", tagName, text), e); in readLongTag()
381 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.java217 Log.i(TAG, String.format(Locale.US, in getEncryptKey()
269 Log.i(TAG, String.format(Locale.US, in getDecryptKey()
313 Log.e(TAG, String.format(Locale.US, "The platform key for user %d became invalid.", in ensureDecryptionKeyIsValid()
340 Locale.US, "Platform key generation %d exists already.", generationId)); in init()
347 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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java70 mDefaultCountryCode = oemDefaultCountryCode.toUpperCase(Locale.US); in WifiCountryCode()
131 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in enableForceCountryCode()
174 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in setCountryCode()
/frameworks/base/location/java/android/location/
DCountry.java88 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
98 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
/frameworks/base/services/core/java/com/android/server/
DExtconUEventObserver.java142 String extconPath = String.format(Locale.US, "/sys/class/extcon/%s", mName); in getDevicePath()
158 return String.format(Locale.US, "/sys/class/extcon/%s/state", mName); in getStatePath()

123456