Searched defs:city (Results 1 - 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) {
105 assertEquals(city, postal.city);
112 String neighborhood, String city, String region, String postcode, String country) {
117 postal.city = city;
98 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
111 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
H A DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) {
121 assertEquals(city, postal.city);
128 String neighborhood, String city, String region, String postcode, String country) {
133 postal.city = city;
114 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
127 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPostalSplitter.java36 public String city; field in class:PostalSplitter.Postal
45 city = values.getAsString(StructuredPostal.CITY);
55 values.put(StructuredPostal.CITY, city);
86 postal.street, postal.pobox, postal.neighborhood, postal.city,
103 final boolean hasCity = !TextUtils.isEmpty(postal.city);
109 // Second block: [region][ ][city][ ][neighborhood]
137 builder.append(postal.city);
169 final boolean hasCity = !TextUtils.isEmpty(postal.city);
175 // Second block: [city][, ][region][ ][postcode]
203 builder.append(postal.city);
[all...]
/packages/apps/Email/src/com/android/exchange/adapter/
H A DContactsSyncAdapter.java250 String city; field in class:ContactsSyncAdapter.Address
257 return city != null || country != null || code != null || state != null
440 work.city = getValue();
455 home.city = getValue();
470 other.city = getValue();
601 ops.addPostal(entity, StructuredPostal.TYPE_WORK, work.street, work.city,
605 ops.addPostal(entity, StructuredPostal.TYPE_HOME, home.street, home.city,
609 ops.addPostal(entity, StructuredPostal.TYPE_OTHER, other.street, other.city,
1312 public void addPostal(Entity entity, int type, String street, String city, String state, argument
1317 if (cv != null && cvCompareString(cv, StructuredPostal.CITY, city)
[all...]

Completed in 20 milliseconds