/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
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);
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
ShortNumberUtilTest.java | 32 assertTrue(shortUtil.connectsToEmergencyNumber("911", RegionCode.US)); 33 assertTrue(shortUtil.connectsToEmergencyNumber("119", RegionCode.US)); 34 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.US)); 38 assertTrue(shortUtil.connectsToEmergencyNumber("9116666666", RegionCode.US)); 39 assertTrue(shortUtil.connectsToEmergencyNumber("1196666666", RegionCode.US)); 40 assertFalse(shortUtil.connectsToEmergencyNumber("9996666666", RegionCode.US)); 44 assertTrue(shortUtil.connectsToEmergencyNumber("9-1-1", RegionCode.US)); 45 assertTrue(shortUtil.connectsToEmergencyNumber("1-1-9", RegionCode.US)); 46 assertFalse(shortUtil.connectsToEmergencyNumber("9-9-9", RegionCode.US)); 50 assertFalse(shortUtil.connectsToEmergencyNumber("+911", RegionCode.US)); [all...] |
PhoneNumberMatcherTest.java | 48 // Try again, but this time we have an international number with Region Code US. It should 50 doTestFindInContext("01164 3 331 6005", RegionCode.US); 51 doTestFindInContext("+64 3 331 6005", RegionCode.US); 56 doTestFindInContext("123-456-7890", RegionCode.US); 62 doTestFindInContext("1-650-333-6000", RegionCode.US); 63 // Calling the US number from Singapore by using different service providers 70 // Calling the US number from Poland 119 doTestFindInContext("011xx5481429712", RegionCode.US); 151 doTestFindInContext("(1800) 7493.524", RegionCode.US); 164 doTestFindInContext("(800) 901-3355 x 7246433", RegionCode.US); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/ |
AlgNameMapperTest.java | 56 assertEquals(HARDCODED_ALIASES[i][1].toUpperCase(Locale.US), 57 AlgNameMapper.map2AlgName(HARDCODED_ALIASES[i][0]).toUpperCase(Locale.US)); 62 assertEquals(HARDCODED_ALIASES[i][1].toUpperCase(Locale.US), 64 .toUpperCase(Locale.US)).toUpperCase(Locale.US)); 92 assertEquals(NON_HARDCODED_ALIASES[i][1].toUpperCase(Locale.US), 93 algName.toUpperCase(Locale.US));
|
/external/eigen/test/ |
unalignedcount.cpp | 20 #define VERIFY_ALIGNED_UNALIGNED_COUNT(XPR,AL,UL,AS,US) {\ 23 if(!(nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US)) \ 25 VERIFY( (#XPR) && nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US ); \
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormatterTest.java | 63 fLoc.format(Locale.US, "%f", val); 69 fLoc.format(Locale.US, "%f", val); 73 fLoc = new Formatter(Locale.US); 74 fNoL = new Formatter(Locale.US); 75 fLoc.format(Locale.US, "%f", val); 81 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal); 87 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal); 91 fLoc = new Formatter(Locale.US); 92 fNoL = new Formatter(Locale.US); 93 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal) [all...] |
LocaleTest.java | 69 assertEquals("Hong Kong", new Locale("", "HK").getDisplayCountry(Locale.US)); 70 assertEquals("Macau", new Locale("", "MO").getDisplayCountry(Locale.US)); 71 assertEquals("Palestine", new Locale("", "PS").getDisplayCountry(Locale.US)); 73 assertEquals("Cocos [Keeling] Islands", new Locale("", "CC").getDisplayCountry(Locale.US)); 74 assertEquals("Congo [DRC]", new Locale("", "CD").getDisplayCountry(Locale.US)); 75 assertEquals("Congo [Republic]", new Locale("", "CG").getDisplayCountry(Locale.US)); 76 assertEquals("Falkland Islands [Islas Malvinas]", new Locale("", "FK").getDisplayCountry(Locale.US)); 77 assertEquals("Macedonia [FYROM]", new Locale("", "MK").getDisplayCountry(Locale.US)); 78 assertEquals("Myanmar [Burma]", new Locale("", "MM").getDisplayCountry(Locale.US)); 79 assertEquals("Taiwan", new Locale("", "TW").getDisplayCountry(Locale.US)); [all...] |
FormatterTest.java | 60 assertEquals("JAKOB ARJOUNI", String.format(Locale.US, "%S", "jakob arjouni")); 98 assertEquals("null", String.format(Locale.US, "%s", (String) null)); 99 assertEquals("null", String.format(Locale.US, "%d", (Integer) null)); 101 assertEquals("%", String.format(Locale.US, "%%")); 171 assertEquals(expected, String.format(Locale.US, "%t" + pattern, c)); 172 assertEquals(expected, String.format(Locale.US, "%T" + pattern, c));
|
TimeZoneTest.java | 53 assertEquals("GMT+00:01", tz0001.getDisplayName(false, TimeZone.SHORT, Locale.US)); 54 assertEquals("GMT+01:30", tz0130.getDisplayName(false, TimeZone.SHORT, Locale.US)); 55 assertEquals("GMT-01:30", tzMinus0130.getDisplayName(false, TimeZone.SHORT, Locale.US)); 142 // This might cause us trouble if Europe/Helsinki changes its rules. See the bug for 222 String longDst = tz.getDisplayName(true, TimeZone.LONG, Locale.US); 223 String longStd = tz.getDisplayName(false, TimeZone.LONG, Locale.US); 224 String shortDst = tz.getDisplayName(true, TimeZone.SHORT, Locale.US); 225 String shortStd = tz.getDisplayName(false, TimeZone.SHORT, Locale.US); 280 assertEquals("Chile Summer Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); 281 assertEquals("Chile Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.US)); [all...] |
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
buildall.sh | 5 ./buildpkb.sh en US lh0 12 ./buildbin.sh en-US lh0
|
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 55 Collator.getInstance(Locale.US); 60 Collator c = Collator.getInstance(Locale.US); 68 new DateFormatSymbols(Locale.US); 73 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 81 new DecimalFormatSymbols(Locale.US); 86 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 94 NumberFormat.getInstance(Locale.US); 99 NumberFormat nf = NumberFormat.getInstance(Locale.US); 106 NumberFormat nf = NumberFormat.getInstance(Locale.US); 119 NumberFormat nf = NumberFormat.getInstance(Locale.US); [all...] |
DateIntervalFormatBenchmark.java | 28 Locale l = Locale.US; 38 Locale l = Locale.US; 48 Locale l = Locale.US;
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US); 78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
|
/libcore/luni/src/test/java/libcore/java/text/ |
BreakIteratorTest.java | 29 iterator = BreakIterator.getCharacterInstance(Locale.US); 39 if (l.equals(Locale.US)) { 44 assertTrue("At least locale " + Locale.US + " must be presented", found); 58 BreakIterator it = BreakIterator.getWordInstance(Locale.US); 73 BreakIterator it = BreakIterator.getWordInstance(Locale.US); 106 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); 130 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); 154 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US);
|
DateFormatSymbolsTest.java | 88 String[][] originalZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); 91 String[][] currentZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); 97 String[][] originalZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); 100 String[][] currentZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); 107 for (String[] row : DateFormatSymbols.getInstance(Locale.US).getZoneStrings()) { 133 String[][] array = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); 148 String[][] array = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();
|
DecimalFormatTest.java | 40 DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.US); 50 NumberFormat numberFormat = NumberFormat.getNumberInstance(Locale.US); 81 Locale.US, "9,990,000,000,000,000,000,000,000,000,000,000"); 91 Locale.US, "1,234,567,890,123,450"); 93 Locale.US, "123,456,789,012,345,678,900"); 95 Locale.US, "987,654,321,098,765,432,109,876,543,210"); 98 Locale.US, "-1,234,567,890,123,450"); 100 Locale.US, "-123,456,789,012,345,678,900"); 102 Locale.US, "-987,654,321,098,765,432,109,876,543,210"); 195 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(Locale.US); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SynchronousProfileProvider.java | 44 return Locale.US;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
language_options_dictionary_download_browsertest.js | 28 options.LanguageOptions.onDictionaryDownloadBegin('en-US'); 38 options.LanguageOptions.onDictionaryDownloadSuccess('en-US'); 51 options.LanguageOptions.onDictionaryDownloadBegin('en-US'); 65 options.LanguageOptions.onDictionaryDownloadSuccess('en-US'); 68 options.LanguageOptions.onDictionaryDownloadFailure('en-US'); 76 options.LanguageOptions.onDictionaryDownloadFailure('en-US'); 83 options.LanguageOptions.onDictionaryDownloadFailure('en-US'); 97 options.LanguageOptions.onDictionaryDownloadBegin('en-US'); 99 options.LanguageOptions.onDictionaryDownloadFailure('en-US');
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
AlgNameMapper.java | 90 String algUC = element[1].toUpperCase(Locale.US); 129 String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); 175 return algAliasesMap.get(algName.toUpperCase(Locale.US)); 192 String algUC = alg.toUpperCase(Locale.US); 211 } else if (!algAliasesMap.containsKey(alias.toUpperCase(Locale.US))) { 212 algAliasesMap.put(alias.toUpperCase(Locale.US), alg);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
LanguageCallbackTest.java | 43 Locale locale = Locale.US; 45 assertEquals("US", lc.getLocale().getCountry());
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceRequest.java | 78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0));
|
/libcore/luni/src/main/java/java/net/ |
DefaultFileNameMap.java | 40 return MimeUtils.guessMimeTypeFromExtension(ext.toLowerCase(Locale.US));
|
/libcore/luni/src/test/java/libcore/java/io/ |
StreamTokenizerTest.java | 26 Locale.setDefault(Locale.US);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpDate.java | 38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US); 69 format = new SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ConfigurationTest.java | 37 shConfiguration.setLocale( Locale.US ); 38 assertThat( configuration.locale, equalTo( Locale.US ) );
|