/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PostalSplitterForJapaneseTest.java | 46 private static final String POSTCODE = "163-8001"; 83 assertJoinedPostal(POSTCODE + "\n" + REGION + " " + CITY + "\n" + STREET, 84 STREET, null, null, CITY, REGION, POSTCODE, null); 88 assertJoinedPostal(POSTCODE + "\n" + REGION + "\n" + STREET, 89 STREET, null, null, REGION, null, POSTCODE, null); 91 assertJoinedPostal(POSTCODE + "\n" + STREET, 92 STREET, null, null, null, null, POSTCODE, null); 94 assertJoinedPostal(COUNTRY + " " + POSTCODE + "\n" + STREET, 95 STREET, null, null, null, null, POSTCODE, COUNTRY); 115 String neighborhood, String city, String region, String postcode, String country) [all...] |
PostalSplitterTest.java | 99 String neighborhood, String city, String region, String postcode, String country) { 107 assertEquals(postcode, postal.postcode); 112 String neighborhood, String city, String region, String postcode, String country) { 119 postal.postcode = postcode;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PostalSplitter.java | 38 public String postcode; field in class:PostalSplitter.Postal 47 postcode = values.getAsString(StructuredPostal.POSTCODE); 57 values.put(StructuredPostal.POSTCODE, postcode); 87 postal.region, postal.postcode, postal.country 105 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); 108 // First block: [country][ ][postcode] 124 builder.append(postal.postcode); 171 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); [all...] |