/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookupTest.java | 140 PersonalDictionaryLookup lookup = setUpShortcut(Locale.US); in testShortcutKeyMatching() 142 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US)); in testShortcutKeyMatching() 143 assertNull(lookup.expandShortcut("Shortcut", Locale.US)); in testShortcutKeyMatching() 144 assertNull(lookup.expandShortcut("SHORTCUT", Locale.US)); in testShortcutKeyMatching() 145 assertNull(lookup.expandShortcut("shortcu", Locale.US)); in testShortcutKeyMatching() 146 assertNull(lookup.expandShortcut("shortcutt", Locale.US)); in testShortcutKeyMatching() 153 PersonalDictionaryLookup lookup = setUpShortcut(Locale.US); in testShortcutMatchesInputCountry() 155 verifyWordExists(lookup.getShortcutsForLocale(Locale.US), "shortcut"); in testShortcutMatchesInputCountry() 161 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US)); in testShortcutMatchesInputCountry() 174 verifyWordExists(lookup.getShortcutsForLocale(Locale.US), "shortcut"); in testShortcutMatchesInputLanguage() [all …]
|
D | DictionaryFacilitatorLruCacheTests.java | 30 final DictionaryFacilitator dictionaryFacilitatorEnUs = cache.get(Locale.US); in testGetFacilitator() 32 assertTrue(dictionaryFacilitatorEnUs.isForLocale(Locale.US)); in testGetFacilitator()
|
D | RichInputMethodSubtypeTests.java | 94 Locale.US.toString(), "qwerty")); in setUp() 123 Locale.US.toString(), "azerty")); in setUp()
|
D | ContactsDictionaryUtilsTest.java | 56 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.US)); in testUseFirstLastBigramsForLocale()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | StringUtilsTests.java | 26 private static final Locale US = Locale.US; field in StringUtilsTests 38 assert_toTitleCaseOfKeyLabel(US, null, null); in test_toTitleCaseOfKeyLabel() 39 assert_toTitleCaseOfKeyLabel(US, "", ""); in test_toTitleCaseOfKeyLabel() 40 assert_toTitleCaseOfKeyLabel(US, "aeiou", "AEIOU"); in test_toTitleCaseOfKeyLabel() 55 assert_toTitleCaseOfKeyLabel(US, in test_toTitleCaseOfKeyLabel() 120 assert_toTitleCaseOfKeyCode(US, Constants.CODE_ENTER, Constants.CODE_ENTER); in test_toTitleCaseOfKeyCode() 121 assert_toTitleCaseOfKeyCode(US, Constants.CODE_SPACE, Constants.CODE_SPACE); in test_toTitleCaseOfKeyCode() 122 assert_toTitleCaseOfKeyCode(US, Constants.CODE_COMMA, Constants.CODE_COMMA); in test_toTitleCaseOfKeyCode() 127 assert_toTitleCaseOfKeyCode(US, 0x0069, 0x0049); // i -> I in test_toTitleCaseOfKeyCode() 128 assert_toTitleCaseOfKeyCode(US, 0x0131, 0x0049); // ı -> I in test_toTitleCaseOfKeyCode() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | LanguageOnSpacebarUtilsTests.java | 60 EN_US_QWERTY = findSubtypeOf(Locale.US.toString(), "qwerty"); in setUp() 104 assertFormatType(EN_US_QWERTY, true, Locale.US, FORMAT_TYPE_NONE); in testOneSubtypeImplicitlyEnabled() 122 assertFormatType(EN_GB_QWERTY, false, Locale.US, FORMAT_TYPE_LANGUAGE_ONLY); in testOneSubtypeExplicitlyEnabled() 126 assertFormatType(FR_AZERTY, false, Locale.US, FORMAT_TYPE_LANGUAGE_ONLY); in testOneSubtypeExplicitlyEnabled() 130 assertFormatType(FR_CA_QWERTY, false, Locale.US, FORMAT_TYPE_LANGUAGE_ONLY); in testOneSubtypeExplicitlyEnabled() 145 assertFormatType(EN_US_QWERTY, false, Locale.US, FORMAT_TYPE_LANGUAGE_ONLY); in testTwoSubtypesExplicitlyEnabled() 146 assertFormatType(FR_AZERTY, false, Locale.US, FORMAT_TYPE_LANGUAGE_ONLY); in testTwoSubtypesExplicitlyEnabled() 153 assertFormatType(EN_US_QWERTY, false, Locale.US, FORMAT_TYPE_LANGUAGE_ONLY); in testTwoSubtypesExplicitlyEnabled() 154 assertFormatType(ZZ_QWERTY, false, Locale.US, FORMAT_TYPE_FULL_LOCALE); in testTwoSubtypesExplicitlyEnabled() 164 assertFormatType(EN_US_QWERTY, false, Locale.US, FORMAT_TYPE_FULL_LOCALE); in testMultiSubtypeWithSameLanuageAndSameLayout() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 112 LogUtil.v(LogUtil.BUGLE_DATABASE_PERF_TAG, String.format(Locale.US, in printTiming() 161 printTiming(t1, String.format(Locale.US, in endTransaction() 192 printTiming(t1, String.format(Locale.US, in insertWithOnConflict() 264 String.format(Locale.US, "query %s with %s ==> %d", in query() 295 String.format(Locale.US, "query %s with %s ==> %d", in query() 313 String.format(Locale.US, "queryNumEntries %s with %s ==> %d", table, in queryNumEntries() 332 String.format(Locale.US, "rawQuery %s ==> %d", sql, cursor.getCount())); in rawQuery() 352 printTiming(t1, String.format(Locale.US, "update %s with %s ==> %d", in update() 373 String.format(Locale.US, "delete from %s with %s ==> %d", table, in delete() 394 printTiming(t1, String.format(Locale.US, "insert to %s", table)); in insert() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | CommonDateUtils.java | 29 new SimpleDateFormat("--MM-dd", Locale.US); 31 new SimpleDateFormat("yyyy-MM-dd", Locale.US); 33 new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US); 35 new SimpleDateFormat("--MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US);
|
D | DateUtils.java | 49 new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'", Locale.US), 50 new SimpleDateFormat("yyyyMMdd", Locale.US), 51 new SimpleDateFormat("yyyyMMdd'T'HHmmssSSS'Z'", Locale.US), 52 new SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'", Locale.US), 53 new SimpleDateFormat("yyyyMMdd'T'HHmm'Z'", Locale.US), 106 final Calendar calendar = Calendar.getInstance(UTC_TIMEZONE, Locale.US); in getUtcDate() 115 final Calendar calendar = Calendar.getInstance(UTC_TIMEZONE, Locale.US); in getUtcDate()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | CharsetUtil.java | 1027 decodingSupported.add(JAVA_CHARSETS[i].canonical.toLowerCase(Locale.US)); in decodingSupported.add() argument 1033 encodingSupported.add(JAVA_CHARSETS[i].canonical.toLowerCase(Locale.US)); in encodingSupported.add() argument 1042 charsetMap.put(c.canonical.toLowerCase(Locale.US), c); in c.canonical.toLowerCase() argument 1044 charsetMap.put(c.mime.toLowerCase(Locale.US), c); in c.mime.toLowerCase() argument 1048 charsetMap.put(c.aliases[j].toLowerCase(Locale.US), c); in charsetMap.put() argument 1140 return encodingSupported.contains(charsetName.toLowerCase(Locale.US)); in isEncodingSupported() 1155 return decodingSupported.contains(charsetName.toLowerCase(Locale.US)); in isDecodingSupported() 1166 Charset c = charsetMap.get(charsetName.toLowerCase(Locale.US)); in toMimeCharset() 1185 Charset c = charsetMap.get(charsetName.toLowerCase(Locale.US)); in toJavaCharset()
|
/packages/services/Telephony/src/org/apache/james/mime4j/util/ |
D | CharsetUtil.java | 1027 decodingSupported.add(JAVA_CHARSETS[i].canonical.toLowerCase(Locale.US)); in decodingSupported.add() argument 1033 encodingSupported.add(JAVA_CHARSETS[i].canonical.toLowerCase(Locale.US)); in encodingSupported.add() argument 1042 charsetMap.put(c.canonical.toLowerCase(Locale.US), c); in c.canonical.toLowerCase() argument 1044 charsetMap.put(c.mime.toLowerCase(Locale.US), c); in c.mime.toLowerCase() argument 1048 charsetMap.put(c.aliases[j].toLowerCase(Locale.US), c); in charsetMap.put() argument 1140 return encodingSupported.contains(charsetName.toLowerCase(Locale.US)); in isEncodingSupported() 1155 return decodingSupported.contains(charsetName.toLowerCase(Locale.US)); in isDecodingSupported() 1166 Charset c = charsetMap.get(charsetName.toLowerCase(Locale.US)); in toMimeCharset() 1185 Charset c = charsetMap.get(charsetName.toLowerCase(Locale.US)); in toJavaCharset()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 198 connection.executeSimpleCommand(String.format(Locale.US, in exists() 244 connection.executeSimpleCommand(String.format(Locale.US, in create() 269 String.format(Locale.US, ImapConstants.UID_COPY + " %s \"%s\"", in copyMessages() 358 String.format(Locale.US, in getUnreadMessageCount() 517 searchForUids(String.format(Locale.US, "%d:%d NOT DELETED", start, end)), listener); in getMessages() 526 final SimpleDateFormat formatter = new SimpleDateFormat("dd-LLL-yyyy", Locale.US); in generateDateRangeCommand() 679 mConnection.sendCommand(String.format(Locale.US, in fetchInternal() 879 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure() 904 (type.getString() + "/" + subType.getString()).toLowerCase(Locale.US); in parseBodyStructure() 962 bodyDisposition.getStringOrEmpty(0).getString().toLowerCase(Locale.US); in parseBodyStructure() [all …]
|
D | Pop3Store.java | 564 response = executeSimpleCommand(String.format(Locale.US, "RETR %d", messageId)); in fetchBody() 569 String.format(Locale.US, "TOP %d %d", messageId, lines)); in fetchBody() 573 String.format(Locale.US, "RETR %d", messageId)); in fetchBody() 660 executeSimpleCommand(String.format(Locale.US, "DELE %s", msgNum)); in setFlags()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | KlpActionLabelTests.java | 94 doTestActionKeysInLocaleWithStringResources(italian, Locale.ITALIAN, Locale.US); in testActionLabelInOtherLocale() 105 doTestActionKeysInLocaleWithStringResources(noLanguage, Locale.US, Locale.US); in testNoLanguageSubtypeActionLabel() 158 doTestActionKeysInLocaleWithKeyboardTextsSet(hiLatn, hi_ZZ, Locale.US); in testHinglishActionLabel() 175 doTestActionKeysInLocaleWithKeyboardTextsSet(srLatn, sr_ZZ, Locale.US); in testSerbianLatinActionLabel()
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
D | ImapFolder.java | 326 mConnection.sendCommand(String.format(Locale.US, in fetchInternal() 515 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure() 540 (type.getString() + "/" + subType.getString()).toLowerCase(Locale.US); in parseBodyStructure() 598 bodyDisposition.getStringOrEmpty(0).getString().toLowerCase(Locale.US); in parseBodyStructure() 612 contentDisposition.append(String.format(Locale.US, ";\n %s=\"%s\"", in parseBodyStructure() 614 .getString().toLowerCase(Locale.US), in parseBodyStructure() 623 contentDisposition.append(String.format(Locale.US, ";\n size=%d", size)); in parseBodyStructure() 699 mConnection.executeSimpleCommand(String.format(Locale.US, in setFlags() 718 String.format(Locale.US, ImapConstants.SELECT + " \"%s\"", mName)); in doSelect() 760 String.format(Locale.US, ImapConstants.GETQUOTAROOT + " \"%s\"", mName)); in getQuota()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | SuggestionSpanUtilsTest.java | 225 final SuggestionSpan enUsLocaleSpan = new SuggestionSpan(Locale.US, suggestions, 0); in testFindFirstLocaleFromSuggestionSpans() 234 assertEquals(Locale.US, SuggestionSpanUtils.findFirstLocaleFromSuggestionSpans( in testFindFirstLocaleFromSuggestionSpans() 237 assertEquals(Locale.US, SuggestionSpanUtils.findFirstLocaleFromSuggestionSpans( in testFindFirstLocaleFromSuggestionSpans() 240 assertEquals(Locale.US, SuggestionSpanUtils.findFirstLocaleFromSuggestionSpans( in testFindFirstLocaleFromSuggestionSpans()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 184 if (locale.equals(Locale.US)) { in getThisWeekTimestamp() 203 if (locale.equals(Locale.US)) { in getThisYearTimestamp() 219 if (locale.equals(Locale.US)) { in getOlderThanAYearTimestamp() 227 if (locale.equals(Locale.US)) { in getOlderThanAYearTimestamp()
|
D | VersionUtil.java | 54 mSimpleVersionName = String.format(Locale.US, "%d.%d.%03d", in VersionUtil()
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
D | InCallContactInteractionsTest.java | 238 Locale.US, in testLocationInfo_ForUS() 279 Locale.US, in testLocationInfo_NoDistance() 286 Address address = new Address(Locale.US); in getAddressForTest()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 168 final Calendar calendar = Calendar.getInstance(DateUtils.UTC_TIMEZONE, Locale.US); in onLabelRebuilt() 199 final Calendar calendar = Calendar.getInstance(DateUtils.UTC_TIMEZONE, Locale.US); in createDatePickerDialog() 233 Calendar.getInstance(DateUtils.UTC_TIMEZONE, Locale.US); in createDatePickerDialog()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 368 String.format(Locale.US, SMS_BACKUP_FILE_FORMAT, fileNum++)); in onFullBackup() 370 backupAll(data, mmsCursor, String.format(Locale.US, in onFullBackup() 377 String.format(Locale.US, SMS_BACKUP_FILE_FORMAT, fileNum++)); in onFullBackup() 382 String.format(Locale.US, MMS_BACKUP_FILE_FORMAT, fileNum++)); in onFullBackup() 634 final String where = String.format(Locale.US, "%s = %d and %s = %s", 645 final String where = String.format(Locale.US, "%s = %d", 667 subscriptionInfo.getCountryIso().toUpperCase(Locale.US)); 1029 final String srcName = String.format(Locale.US, "text.%06d.txt", 0);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactPhotoUtils.java | 82 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempPhotoFileName() 88 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempCroppedPhotoFileName()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | Log.java | 171 : String.format(Locale.US, format, args); in buildMessage() 177 return String.format(Locale.US, "%s: %s", prefix, msg); in buildMessage()
|
/packages/apps/TV/usbtuner/res/raw/ |
D | ut_us_all | 1 # US ATSC center frequencies 72 # US EIA/NCTA Standard Cable center frequencies
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SynchronousProfileProvider.java | 44 return Locale.US; in getLocale()
|