Home
last modified time | relevance | path

Searched refs:postcode (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/util/
DPostalCodeUtilsTest.java51 for (String postcode : VALID_POSTCODES_US) { in validPostcodesUs()
52 assertThat(PostalCodeUtils.matches(postcode, Locale.US.getCountry())).isTrue(); in validPostcodesUs()
58 for (String postcode : VALID_POSTCODES_GB) { in validPostcodesGb()
59 assertThat(PostalCodeUtils.matches(postcode, Locale.UK.getCountry())).isTrue(); in validPostcodesGb()
65 for (String postcode : INVALID_POSTCODES_US) { in invalidPostcodesUs()
66 assertThat(PostalCodeUtils.matches(postcode, Locale.US.getCountry())).isFalse(); in invalidPostcodesUs()
72 for (String postcode : INVALID_POSTCODES_GB) { in invalidPostcodesGb()
73 assertThat(PostalCodeUtils.matches(postcode, Locale.UK.getCountry())).isFalse(); in invalidPostcodesGb()
79 for (String postcode : INVALID_POSTCODES_US) { in unsupportedRegion()
81 assertThat(PostalCodeUtils.matches(postcode, Locale.ROOT.getCountry())).isTrue(); in unsupportedRegion()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java38 public String postcode; field in PostalSplitter.Postal
47 postcode = values.getAsString(StructuredPostal.POSTCODE); in fromValues()
57 values.put(StructuredPostal.POSTCODE, postcode); in toValues()
87 postal.region, postal.postcode, postal.country in join()
105 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); in joinJaJp()
124 builder.append(postal.postcode); in joinJaJp()
171 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); in joinEnUs()
211 builder.append(postal.postcode); in joinEnUs()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument
107 assertEquals(postcode, postal.postcode); in assertSplitPostal()
112 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument
119 postal.postcode = postcode; in assertJoinedPostal()
DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument
123 assertEquals(postcode, postal.postcode); in assertSplitPostal()
128 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument
135 postal.postcode = postcode; in assertJoinedPostal()
/packages/apps/TV/common/src/com/android/tv/common/util/
DPostalCodeUtils.java106 public static boolean matches(@NonNull CharSequence postcode, @NonNull String region) { in matches() argument
108 return pattern == null || pattern.matcher(postcode).matches(); in matches()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...