/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForStructuredPostal.java | 29 * Handler for postal address data rows. 87 final PostalSplitter.Postal postal = new PostalSplitter.Postal(); local 90 mSplitter.split(postal, unstruct); 91 postal.toValues(update); 94 postal.fromValues(augmented); 95 final String joined = mSplitter.join(postal);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PostalSplitterTest.java | 21 import com.android.providers.contacts.PostalSplitter.Postal; 100 final Postal postal = new Postal(); local 101 mPostalSplitter.split(postal, formattedPostal); 102 assertEquals(street, postal.street); 103 assertEquals(pobox, postal.pobox); 104 assertEquals(neighborhood, postal.neighborhood); 105 assertEquals(city, postal.city); 106 assertEquals(region, postal.region) 113 final Postal postal = new Postal(); local [all...] |
PostalSplitterForJapaneseTest.java | 21 import com.android.providers.contacts.PostalSplitter.Postal; 41 // Postal address for Tokyo Metropolitan City Hall (Tokyo-Tocho) as of 2009 + pseudo PO box. 116 final Postal postal = new Postal(); local 117 mPostalSplitter.split(postal, formattedPostal); 118 assertEquals(street, postal.street); 119 assertEquals(pobox, postal.pobox); 120 assertEquals(neighborhood, postal.neighborhood); 121 assertEquals(city, postal.city) 129 final Postal postal = new Postal(); local [all...] |
/external/chromium_org/chrome/browser/chromeos/contacts/ |
contact_test_util.cc | 55 std::string PostalAddressToString(const Contact_PostalAddress& postal) { 56 return postal.address() + "," + 57 base::IntToString(postal.type().relation()) + "," + 58 postal.type().label() + "," + 59 base::IntToString(postal.primary()); 105 "postal=", ' '); 212 Contact::PostalAddress* postal = contact->add_postal_addresses(); local 213 postal->set_address(address); 214 postal->mutable_type()->set_relation(relation); 215 postal->mutable_type()->set_label(label) [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DataAction.java | 217 StructuredPostalDataItem postal = (StructuredPostalDataItem) item; local 218 final String postalAddress = postal.getFormattedAddress();
|