HomeSort by relevance Sort by last modified time
    Searched refs:US (Results 1 - 25 of 673) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/libphonenumber/test/com/google/i18n/phonenumbers/
ShortNumberUtilTest.java 34 assertTrue(shortUtil.connectsToEmergencyNumber("911", RegionCode.US));
35 assertTrue(shortUtil.connectsToEmergencyNumber("112", RegionCode.US));
36 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.US));
40 assertTrue(shortUtil.connectsToEmergencyNumber("9116666666", RegionCode.US));
41 assertTrue(shortUtil.connectsToEmergencyNumber("1126666666", RegionCode.US));
42 assertFalse(shortUtil.connectsToEmergencyNumber("9996666666", RegionCode.US));
46 assertTrue(shortUtil.connectsToEmergencyNumber("9-1-1", RegionCode.US));
47 assertTrue(shortUtil.connectsToEmergencyNumber("1-1-2", RegionCode.US));
48 assertFalse(shortUtil.connectsToEmergencyNumber("9-9-9", RegionCode.US));
52 assertFalse(shortUtil.connectsToEmergencyNumber("+911", RegionCode.US));
    [all...]
PhoneNumberMatcherTest.java 92 // Try again, but this time we have an international number with Region Code US. It should
94 doTestFindInContext("01164 3 331 6005", RegionCode.US);
95 doTestFindInContext("+64 3 331 6005", RegionCode.US);
101 doTestFindInContext("123-456-7890", RegionCode.US);
107 doTestFindInContext("1-650-333-6000", RegionCode.US);
108 // Calling the US number from Singapore by using different service providers
115 // Calling the US number from Poland
164 doTestFindInContext("011xx5481429712", RegionCode.US);
196 doTestFindInContext("(1800) 7493.524", RegionCode.US);
209 doTestFindInContext("(800) 901-3355 x 7246433", RegionCode.US);
    [all...]
ShortNumberInfoTest.java 108 shortInfo.getExpectedCostForRegion(parse("911", RegionCode.US), RegionCode.ZZ));
187 assertTrue(shortInfo.connectsToEmergencyNumber("911", RegionCode.US));
188 assertTrue(shortInfo.connectsToEmergencyNumber("112", RegionCode.US));
189 assertFalse(shortInfo.connectsToEmergencyNumber("999", RegionCode.US));
193 assertTrue(shortInfo.connectsToEmergencyNumber("9116666666", RegionCode.US));
194 assertTrue(shortInfo.connectsToEmergencyNumber("1126666666", RegionCode.US));
195 assertFalse(shortInfo.connectsToEmergencyNumber("9996666666", RegionCode.US));
199 assertTrue(shortInfo.connectsToEmergencyNumber("9-1-1", RegionCode.US));
200 assertTrue(shortInfo.connectsToEmergencyNumber("1-1-2", RegionCode.US));
201 assertFalse(shortInfo.connectsToEmergencyNumber("9-9-9", RegionCode.US));
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
BreakIteratorBenchmark.java 26 LIPSUM(Locale.US, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis consequat nisl non pharetra. Praesent pretium vehicula odio sed ultrices. Aenean a felis libero. Vivamus sed commodo nibh. Pellentesque turpis lectus, euismod vel ante nec, cursus posuere orci. Suspendisse velit neque, fermentum luctus ultrices in, ultrices vitae arcu. Duis tincidunt cursus lorem. Nam ultricies accumsan quam vitae imperdiet. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Quisque aliquet pretium nisi, eget laoreet enim molestie sit amet. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.\nNam dapibus aliquam lacus ac suscipit. Proin in nibh sit amet purus congue laoreet eget quis nisl. Morbi gravida dignissim justo, a venenatis ante pulvinar at. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ultrices vestibulum dui, vel aliquam lacus aliquam quis. Duis fringilla sapien ac lacus egestas, vel adipiscing elit euismod. Donec non tellus odio. Donec gravida eu massa ac feugiat. Aliquam erat volutpat. Praesent id adipiscing metus, nec laoreet enim. Aliquam vitae posuere turpis. Mauris ac pharetra sem. In at placerat tortor. Vivamus ac vehicula neque. Cras volutpat ullamcorper massa et varius. Praesent sagittis neque vitae nulla euismod pharetra.\nSed placerat sapien non molestie sollicitudin. Nullam sit amet dictum quam. Etiam tincidunt tortor vel pretium vehicula. Praesent fringilla ipsum vel velit luctus dignissim. Nulla massa ligula, mattis in enim et, mattis lacinia odio. Suspendisse tristique urna a orci commodo tempor. Duis lacinia egestas arcu a sollicitudin.\nIn ac feugiat lacus. Nunc fermentum eu est at tristique. Pellentesque quis ligula et orci placerat lacinia. Maecenas quis mauris diam. Etiam mi ipsum, tempus in purus quis, euismod faucibus orci. Nulla facilisi. Praesent sit amet sapien vel elit porta adipiscing. Phasellus sit amet volutpat diam.\nProin bibendum elit non lacus pharetra, quis eleifend tellus placerat. Nulla facilisi. Maecenas ante diam, pellentesque mattis mattis in, porta ut lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc interdum tristique metus, in scelerisque odio fermentum eget. Cras nec venenatis lacus. Aenean euismod eget metus quis molestie. Cras tincidunt dolor ut massa ornare, in elementum lacus auctor. Cras sodales nisl lacus, id ultrices ligula varius at. Sed tristique sit amet tellus vel mollis. Sed sed sollicitudin quam. Sed sed adipiscing risus, et dictum orci. Cras tempor pellentesque turpis et tempus."),
27 LONGPARA(Locale.US, "During dinner, Mr. Bennet scarcely spoke at all; but when the servants were withdrawn, he thought it time to have some conversation with his guest, and therefore started a subject in which he expected him to shine, by observing that he seemed very fortunate in his patroness. Lady Catherine de Bourgh's attention to his wishes, and consideration for his comfort, appeared very remarkable. Mr. Bennet could not have chosen better. Mr. Collins was eloquent in her praise. The subject elevated him to more than usual solemnity of manner, and with a most important aspect he protested that \"he had never in his life witnessed such behaviour in a person of rank--such affability and condescension, as he had himself experienced from Lady Catherine. She had been graciously pleased to approve of both of the discourses which he had already had the honour of preaching before her. She had also asked him twice to dine at Rosings, and had sent for him only the Saturday before, to make up her pool of quadrille in the evening. Lady Catherine was reckoned proud by many people he knew, but _he_ had never seen anything but affability in her. She had always spoken to him as she would to any other gentleman; she made not the smallest objection to his joining in the society of the neighbourhood nor to his leaving the parish occasionally for a week or two, to visit his relations. She had even condescended to advise him to marry as soon as he could, provided he chose with discretion; and had once paid him a visit in his humble parsonage, where she had perfectly approved all the alterations he had been making, and had even vouchsafed to suggest some herself--some shelves in the closet up stairs.\""),
31 TABS(Locale.US, "one\t\t\t\t\t\t\t\t\t\t\t\t\t\ttwo\n"),
32 ACCENT(Locale.US, "e\u0301\u00e9\nwhich is:\n\"e\\u0301\\u00e9\""),
33 EMOJI(Locale.US, ">>\ud83d\ude01<<\nwhich is:\n\">>\\ud83d\\ude01<<\""),
34 SPACES(Locale.US, " leading spaces and trailing ones too "),
35 EMPTY(Locale.US, ""),
36 NEWLINE(Locale.US, "\\n:\n"),
RelativeDateTimeFormatterBenchmark.java 28 Locale l = Locale.US;
38 Locale l = Locale.US;
48 Locale l = Locale.US;
58 Locale l = Locale.US;
ExpensiveObjectsBenchmark.java 57 Collator.getInstance(Locale.US);
62 Collator c = Collator.getInstance(Locale.US);
70 new DateFormatSymbols(Locale.US);
75 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
83 new DecimalFormatSymbols(Locale.US);
88 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
96 NumberFormat.getInstance(Locale.US);
101 NumberFormat nf = NumberFormat.getInstance(Locale.US);
108 NumberFormat nf = NumberFormat.getInstance(Locale.US);
121 NumberFormat nf = NumberFormat.getInstance(Locale.US);
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DecimalFormatSymbolsTest.java 21 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
22 DecimalFormatSymbols dfs2 = new DecimalFormatSymbols(ULocale.US);
46 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
54 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
62 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
70 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
83 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
91 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
104 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
112 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US);
    [all...]
DateFormatSymbolsTest.java 21 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
22 DateFormatSymbols dfs2 = new DateFormatSymbols(ULocale.US);
23 DateFormatSymbols dfsn = new DateFormatSymbols(Locale.US);
47 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
55 DateFormatSymbols dfs = new DateFormatSymbols(ULocale.US);
63 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
71 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
85 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
93 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
107 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
    [all...]
MessageFormatTest.java 61 MessageFormat mf = new MessageFormat(pattern, Locale.US);
69 MessageFormat mf = new MessageFormat(pattern, ULocale.US);
77 MessageFormat mf = new MessageFormat(pattern, Locale.US);
87 MessageFormat mf = new MessageFormat(pattern, Locale.US);
97 MessageFormat mf = new MessageFormat(pattern, Locale.US);
106 MessageFormat mf = new MessageFormat(pattern, Locale.US);
133 MessageFormat mf = new MessageFormat(pattern, Locale.US);
151 MessageFormat mf = new MessageFormat(pattern, Locale.US);
166 MessageFormat mf = new MessageFormat(pattern, Locale.US);
178 MessageFormat mf = new MessageFormat(pattern, Locale.US);
    [all...]
  /system/connectivity/shill/bin/
test_set_wifi_regulatory 55 assert_regdomain_is US <<-"EOF"
56 "region"="US"
60 assert_regdomain_is US <<-"EOF"
61 "region"="us"
67 "region"="US"
71 assert_regdomain_is US <<-"EOF"
73 "region"="us"
77 assert_regdomain_is US <<-"EOF"
78 "region"="us"
104 "region"="us
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
PersonalDictionaryLookupTest.java 140 PersonalDictionaryLookup lookup = setUpShortcut(Locale.US);
142 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US));
143 assertNull(lookup.expandShortcut("Shortcut", Locale.US));
144 assertNull(lookup.expandShortcut("SHORTCUT", Locale.US));
145 assertNull(lookup.expandShortcut("shortcu", Locale.US));
146 assertNull(lookup.expandShortcut("shortcutt", Locale.US));
153 PersonalDictionaryLookup lookup = setUpShortcut(Locale.US);
155 verifyWordExists(lookup.getShortcutsForLocale(Locale.US), "shortcut");
161 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US));
174 verifyWordExists(lookup.getShortcutsForLocale(Locale.US), "shortcut")
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
BigNumberFormatTest.java 35 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
36 DecimalFormat fmt1 = new DecimalFormat("0.###E0", US);
37 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US);
50 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
51 DecimalFormat f = new DecimalFormat("#,##,###", US);
98 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
99 DecimalFormat fmt = new DecimalFormat("#", US);
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
BigNumberFormatTest.java 31 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
32 DecimalFormat fmt1 = new DecimalFormat("0.###E0", US);
33 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US);
46 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
47 DecimalFormat f = new DecimalFormat("#,##,###", US);
94 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
95 DecimalFormat fmt = new DecimalFormat("#", US);
    [all...]
  /art/test/123-inline-execute2/src/
Main.java 24 + String.format(Locale.US, "%.12f", Math.sin(d)));
27 + String.format(Locale.US, "%.12f", Math.sinh(d)));
29 + String.format(Locale.US, "%.12f", Math.asin(d)));
31 + String.format(Locale.US, "%.12f", Math.cos(d)));
33 + String.format(Locale.US, "%.12f", Math.cosh(d)));
35 + String.format(Locale.US, "%.12f", Math.acos(d)));
38 + String.format(Locale.US, "%.12f", Math.tan(d)));
41 + String.format(Locale.US, "%.12f", Math.tanh(d)));
43 + String.format(Locale.US, "%.12f", Math.atan(d)));
45 + String.format(Locale.US, "%.12f", Math.atan2(d, d + 1.0)))
    [all...]
  /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...]
  /external/caliper/examples/src/main/java/examples/
ExpensiveObjectsBenchmark.java 32 new DecimalFormatSymbols(Locale.US);
37 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
45 NumberFormat.getInstance(Locale.US);
50 NumberFormat nf = NumberFormat.getInstance(Locale.US);
  /external/messageformat/javatests/com/android/messageformat/
SimpleMessageFormatTest.java 17 Locale.US, "Going to {place} and back", "place", "Germany"));
23 MessageFormat.formatNamedArgs(Locale.US, msg, "gender", "female"));
25 MessageFormat.formatNamedArgs(Locale.US, msg, "gender", "male"));
27 MessageFormat.formatNamedArgs(Locale.US, msg, "gender", "unknown"));
  /external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
buildall.sh 5 ./buildpkb.sh en US lh0
12 ./buildbin.sh en-US lh0
  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
AssetJsonWriter.java 56 mWriter.name(key.toLowerCase(Locale.US));
57 mWriter.value(value.toLowerCase(Locale.US));
77 mWriter.name(key.toLowerCase(Locale.US));
80 mWriter.value(value.toUpperCase(Locale.US));
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
StringUtilsTests.java 26 private static final Locale US = Locale.US;
38 assert_toTitleCaseOfKeyLabel(US, null, null);
39 assert_toTitleCaseOfKeyLabel(US, "", "");
40 assert_toTitleCaseOfKeyLabel(US, "aeiou", "AEIOU");
55 assert_toTitleCaseOfKeyLabel(US,
120 assert_toTitleCaseOfKeyCode(US, Constants.CODE_ENTER, Constants.CODE_ENTER);
121 assert_toTitleCaseOfKeyCode(US, Constants.CODE_SPACE, Constants.CODE_SPACE);
122 assert_toTitleCaseOfKeyCode(US, Constants.CODE_COMMA, Constants.CODE_COMMA);
127 assert_toTitleCaseOfKeyCode(US, 0x0069, 0x0049); // i ->
    [all...]
  /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 51 Locale.setDefault(Locale.US);
91 String[][] originalZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();
94 String[][] currentZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();
100 String[][] originalZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();
103 String[][] currentZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();
110 for (String[] row : DateFormatSymbols.getInstance(Locale.US).getZoneStrings()) {
136 String[][] array = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();
151 String[][] array = DateFormatSymbols.getInstance(Locale.US).getZoneStrings();

Completed in 660 milliseconds

1 2 3 4 5 6 7 8 91011>>