/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | InputMethodSubtypePreferenceTest.java | 39 createPreference("", "en_US", Locale.US), 40 createPreference("E", "en_US", Locale.US), 41 createPreference("Z", "en_US", Locale.US), 43 createPreference("", "en", Locale.US), 44 createPreference("E", "en", Locale.US), 45 createPreference("Z", "en", Locale.US), 47 createPreference("", "ja", Locale.US), 48 createPreference("A", "hi_IN", Locale.US), 49 createPreference("B", "", Locale.US), 50 createPreference("E", "ja", Locale.US), [all …]
|
/frameworks/support/compat/src/androidTest/java/androidx/core/os/ |
D | LocaleListCompatTest.java | 66 final LocaleListCompat ll = LocaleListCompat.create(Locale.US); in testOneMemberLocaleList() 70 assertEquals(Locale.US, ll.get(0)); in testOneMemberLocaleList() 77 final Locale[] la = {enPH, Locale.US}; in testTwoMemberLocaleList() 83 assertEquals(Locale.US, ll.get(1)); in testTwoMemberLocaleList() 105 final Locale[] la = {Locale.US, null}; in testNullArguments() 116 final Locale[] la = {Locale.US, Locale.US}; in testRepeatedArguments() 129 assertEquals(-1, empty.indexOf(Locale.US)); in testIndexOf() 131 final LocaleListCompat oneMember = LocaleListCompat.create(Locale.US); in testIndexOf() 132 assertEquals(0, oneMember.indexOf(Locale.US)); in testIndexOf() 146 final Locale[] la1 = {Locale.US}; in testToString() [all …]
|
/frameworks/support/compat/src/main/java/androidx/core/util/ |
D | Preconditions.java | 286 String.format(Locale.US, in checkArgumentInRange() 290 String.format(Locale.US, in checkArgumentInRange() 313 String.format(Locale.US, in checkArgumentInRange() 317 String.format(Locale.US, in checkArgumentInRange() 340 String.format(Locale.US, in checkArgumentInRange() 344 String.format(Locale.US, in checkArgumentInRange() 369 String.format(Locale.US, "%s[%d] must not be null", valueName, i)); in checkArrayElementsNotNull() 397 String.format(Locale.US, "%s[%d] must not be null", valueName, ctr)); in checkCollectionElementsNotNull() 454 String.format(Locale.US, "%s[%d] is out of range of [%f, %f] (too low)", in checkArrayElementsInRange() 458 String.format(Locale.US, "%s[%d] is out of range of [%f, %f] (too high)", in checkArrayElementsInRange()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AssetJsonWriter.java | 56 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/ |
D | MDnsUtils.java | 64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) in containsVendor() 65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) in containsVendor()
|
D | HPRecommendationPlugin.java | 57 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/ |
D | WifiP2pDnsSdServiceInfo.java | 130 sb.append(String.format(Locale.US, "%02x", data.length)); in createPtrServiceQuery() 190 sb.append(String.format(Locale.US, "%04x", dnsType)); in createRequest() 191 sb.append(String.format(Locale.US, "%02x", version)); in createRequest() 218 sb.append(String.format(Locale.US, "%02x", dnsName.length())); in compressDnsName() 228 sb.append(String.format(Locale.US, "%02x", name.length())); in compressDnsName()
|
D | WifiP2pServiceRequest.java | 139 sb.append(String.format(Locale.US, "%02x", (mLength) & 0xff)); in getSupplicantQuery() 140 sb.append(String.format(Locale.US, "%02x", (mLength >> 8) & 0xff)); in getSupplicantQuery() 141 sb.append(String.format(Locale.US, "%02x", mProtocolType)); in getSupplicantQuery() 142 sb.append(String.format(Locale.US, "%02x", mTransId)); in getSupplicantQuery()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | MDnsUtils.java | 78 … || 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/ |
D | PlatformKeyManager.java | 169 Locale.US, "%d does not have a lock screen set.", userId)); in regenerate() 205 Log.i(TAG, String.format(Locale.US, in getEncryptKey() 255 Log.i(TAG, String.format(Locale.US, in getDecryptKey() 301 Locale.US, "%d does not have a lock screen set.", userId)); in init() 307 Locale.US, "Platform key generation %d exists already.", generationId)); in init() 314 Log.w(TAG, String.format(Locale.US, "Platform generation ID was %d but no " in init()
|
D | RecoverableKeyGenerator.java | 106 Locale.US, "Failed writing (%d, %s) to database.", uid, alias)); in generateAndStoreKey() 148 Locale.US, "Failed writing (%d, %s) to database.", uid, alias)); in importKey()
|
D | WrappedKey.java | 197 Locale.US, in unwrapKeys() 216 Locale.US, in unwrapKeys()
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportStats.java | 77 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/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/ |
D | VideoProvider.java | 67 String rootPath = String.format(Locale.US, "%s/%d_%d/", context.getFilesDir(), width, in buildMedia() 77 String description = String.format(Locale.US, in buildMedia() 80 String title = String.format(Locale.US, "Video %d-%d", i, j); in buildMedia() 81 String studio = String.format(Locale.US, "Studio %d", count % STUDIO_COUNT); in buildMedia()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | ApplicationKeyStorage.java | 73 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()
|
D | RecoverySnapshotStorage.java | 88 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()
|
D | RecoverableKeyStoreDb.java | 144 String.format(Locale.US, in getKey() 441 String.format(Locale.US, in getRecoveryServiceCertPath() 521 String.format(Locale.US, in getRecoveryServicePublicKey() 594 String.format(Locale.US, in getRecoverySecretTypes() 682 String.format(Locale.US, in getActiveRootOfTrust() 871 String.format(Locale.US, in getLong() 951 String.format(Locale.US, in getBytes() 1034 String.format(Locale.US, in getBytes() 1120 String.format(Locale.US, in getLong()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 63 setLocale(Locale.US); in testFormatBytes() 110 setLocale(Locale.US); in testFormatBytesSi() 120 setLocale(Locale.US); in testFormatBytesIec() 136 setLocale(Locale.US); in testFormatShortElapsedTime() 170 setLocale(Locale.US); in testFormatShortElapsedTimeRoundingUpToMinutes()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotDeserializer.java | 148 Locale.US, "Unexpected tag %s in keyChainSnapshot", name)); in deserializeInternal() 196 Locale.US, "Unexpected tag %s in wrappedApplicationKey", name)); in readWrappedApplicationKey() 252 Locale.US, in readKeyChainProtectionParams() 300 Locale.US, in readKeyDerivationParams() 341 Locale.US, "%s expected int but got '%s'", tagName, text), e); in readIntTag() 355 Locale.US, "%s expected long but got '%s'", tagName, text), e); in readLongTag() 378 Locale.US, in readBlobTag()
|
/frameworks/support/collection/src/test/java/androidx/collection/ |
D | SimpleArrayMapTest.java | 47 map.put(String.format(Locale.US, "key %d", i++), "B_DONT_DO_THAT"); in testConcurrentModificationException() 87 map.put(String.format(Locale.US, "key %d", i++), "B_DONT_DO_THAT"); in testNonConcurrentAccesses()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | ForeignKeyTest.java | 222 assertThat(t.getMessage().toUpperCase(Locale.US), is(foreignKeyErrorMessage())); in simpleForeignKeyFailure() 234 assertThat(t.getMessage().toUpperCase(Locale.US), is(foreignKeyErrorMessage())); in simpleForeignKeyDeferredFailure() 281 assertThat(t.getMessage().toUpperCase(Locale.US), is(foreignKeyErrorMessage())); in onDelete_noAction() 297 assertThat(t.getMessage().toUpperCase(Locale.US), is(foreignKeyErrorMessage())); in onDelete_noAction_withTransaction() 312 assertThat(t.getMessage().toUpperCase(Locale.US), is(foreignKeyErrorMessage())); in onDelete_noAction_deferred() 357 assertThat(t.getMessage().toUpperCase(Locale.US), is(foreignKeyErrorMessage())); in multipleReferences()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewOnMeasurePerfTest.java | 117 textView.setTextLocale(Locale.US); in testMeasure_AtMost() 134 textView.setTextLocale(Locale.US); in testMeasure_Exactly() 151 textView.setTextLocale(Locale.US); in testMeasure_Unspecified()
|
/frameworks/base/location/java/android/location/ |
D | Country.java | 86 mCountryIso = countryIso.toUpperCase(Locale.US); in Country() 96 mCountryIso = countryIso.toUpperCase(Locale.US); in Country()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextViewSetTextMeasurePerfTest.java | 101 textView.setTextLocale(Locale.US); in timeCreate() 131 textView.setTextLocale(Locale.US); in timeDraw()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | MemoryStatUtil.java | 81 final String path = String.format(Locale.US, MEMORY_STAT_FILE_FMT, uid, pid); in readMemoryStatFromMemcg() 92 final String path = String.format(Locale.US, PROC_STAT_FILE_FMT, pid); in readMemoryStatFromProcfs()
|