Home
last modified time | relevance | path

Searched refs:US (Results 1 – 25 of 141) 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/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/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/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/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java184 Locale.US, "%d does not have a lock screen set.", userId)); in regenerate()
222 Log.i(TAG, String.format(Locale.US, in getEncryptKey()
276 Log.i(TAG, String.format(Locale.US, in getDecryptKey()
321 Log.e(TAG, String.format(Locale.US, "The platform key for user %d became invalid.", in ensureDecryptionKeyIsValid()
347 Locale.US, "%d does not have a lock screen set.", userId)); in init()
353 Locale.US, "Platform key generation %d exists already.", generationId)); in init()
360 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()
DWrappedKey.java213 Locale.US, in unwrapKeys()
232 Locale.US, in unwrapKeys()
/frameworks/base/services/backup/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()
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 …]
DDateFormatTest.java59 assertFalse(DateFormat.is24HourLocale(Locale.US)); in testIs24HourLocale()
65 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(Locale.US); in testgetIcuDateFormatSymbols()
92 Locale enUS = Locale.US; in testGetDateFormatOrder()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java62 mDefaultCountryCode = oemDefaultCountryCode.toUpperCase(Locale.US); in WifiCountryCode()
112 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in enableForceCountryCode()
154 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in setCountryCode()
/frameworks/base/services/core/java/com/android/server/am/
DMemoryStatUtil.java111 final String statPath = String.format(Locale.US, MEMORY_STAT_FILE_FMT, uid, pid); in readMemoryStatFromMemcg()
122 final String statPath = String.format(Locale.US, PROC_STAT_FILE_FMT, pid); in readMemoryStatFromProcfs()
123 final String statusPath = String.format(Locale.US, PROC_STATUS_FILE_FMT, pid); in readMemoryStatFromProcfs()
132 final String statusPath = String.format(Locale.US, PROC_STATUS_FILE_FMT, pid); in readRssHighWaterMarkFromProcfs()
143 final String path = String.format(Locale.US, PROC_CMDLINE_FILE_FMT, pid); in readCmdlineFromProcfs()
/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/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/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()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextViewSetTextMeasurePerfTest.java104 textView.setTextLocale(Locale.US); in timeCreate()
135 textView.setTextLocale(Locale.US); in timeDraw()

123456