Home
last modified time | relevance | path

Searched refs:contact (Results 1 – 25 of 234) sorted by relevance

12345678910

/external/chromium_org/chrome/browser/chromeos/contacts/
Dcontact_test_util.cc73 std::string ContactToString(const Contact& contact) { in ContactToString() argument
75 contact.contact_id() + "," + in ContactToString()
76 base::Int64ToString(contact.update_time()) + "," + in ContactToString()
77 base::IntToString(contact.deleted()) + "," + in ContactToString()
78 contact.full_name() + "," + in ContactToString()
79 contact.given_name() + "," + in ContactToString()
80 contact.additional_name() + "," + in ContactToString()
81 contact.family_name() + "," + in ContactToString()
82 contact.name_prefix() + "," + in ContactToString()
83 contact.name_suffix(); in ContactToString()
[all …]
Dgdata_contacts_service.cc259 contacts::Contact* contact) { in FillContactFromDictionary() argument
260 DCHECK(contact); in FillContactFromDictionary()
261 contact->Clear(); in FillContactFromDictionary()
263 if (!dict.GetString(kIdField, contact->mutable_contact_id())) in FillContactFromDictionary()
273 contact->set_update_time(update_time.ToInternalValue()); in FillContactFromDictionary()
277 contact->set_deleted(dict.Get(kDeletedField, &deleted_value)); in FillContactFromDictionary()
278 if (contact->deleted()) in FillContactFromDictionary()
281 GetCleanedString(dict, kFullNameField, contact->mutable_full_name()); in FillContactFromDictionary()
282 GetCleanedString(dict, kGivenNameField, contact->mutable_given_name()); in FillContactFromDictionary()
284 dict, kAdditionalNameField, contact->mutable_additional_name()); in FillContactFromDictionary()
[all …]
Dcontact_map.cc37 Contact* contact = *it; in Merge() local
38 Map::iterator map_it = contacts_.find(contact->contact_id()); in Merge()
40 if (contact->deleted() && policy == DROP_DELETED_CONTACTS) { in Merge()
46 delete contact; in Merge()
50 map_it->second = contact; in Merge()
52 contacts_[contact->contact_id()] = contact; in Merge()
Dcontact_test_util.h24 std::string ContactToString(const Contact& contact);
52 Contact* contact);
59 Contact* contact);
66 Contact* contact);
73 Contact* contact);
82 Contact* contact);
89 void SetPhoto(const gfx::Size& size, Contact* contact);
Dcontact_database_unittest.cc155 scoped_ptr<Contact> contact(new Contact); in TEST_F() local
156 InitContact(kContactId, "1", false, contact.get()); in TEST_F()
158 "email_label_1", true, contact.get()); in TEST_F()
160 "", false, contact.get()); in TEST_F()
162 "phone_label", true, contact.get()); in TEST_F()
164 "postal_label_1", true, contact.get()); in TEST_F()
166 "postal_label_2", false, contact.get()); in TEST_F()
170 "im_label_1", true, contact.get()); in TEST_F()
171 SetPhoto(gfx::Size(20, 20), contact.get()); in TEST_F()
173 contacts_to_save->push_back(contact.get()); in TEST_F()
[all …]
Dgdata_contacts_service_unittest.cc50 contacts::Contact* contact) { in InitContact() argument
51 DCHECK(contact); in InitContact()
52 contact->set_contact_id(contact_id); in InitContact()
57 contact->set_update_time(update_time.ToInternalValue()); in InitContact()
58 contact->set_deleted(deleted); in InitContact()
59 contact->set_full_name(full_name); in InitContact()
60 contact->set_given_name(given_name); in InitContact()
61 contact->set_additional_name(additional_name); in InitContact()
62 contact->set_family_name(family_name); in InitContact()
63 contact->set_name_prefix(name_prefix); in InitContact()
[all …]
Dcontact_database.cc260 const contacts::Contact& contact = **it; in SaveContactsFromTaskRunner() local
261 if (contact.contact_id() == kUpdateMetadataKey) { in SaveContactsFromTaskRunner()
263 << contact.contact_id(); in SaveContactsFromTaskRunner()
266 updates.Put(leveldb::Slice(contact.contact_id()), in SaveContactsFromTaskRunner()
267 leveldb::Slice(contact.SerializeAsString())); in SaveContactsFromTaskRunner()
269 keys_to_delete.erase(contact.contact_id()); in SaveContactsFromTaskRunner()
323 scoped_ptr<Contact> contact(new Contact); in LoadContactsFromTaskRunner() local
324 if (!contact->ParseFromArray(value_slice.data(), value_slice.size())) { in LoadContactsFromTaskRunner()
332 contacts->push_back(contact.release()); in LoadContactsFromTaskRunner()
Dcontact.proto13 // A contact, roughly based on the GData Contact kind:
22 // Last time at which this contact was updated within the upstream provider,
26 // Has the contact been deleted recently within the upstream provider?
29 // Affinity between the user and this contact, in the range [0.0, 1.0].
113 // Latest time that we've seen in a contact's |update_time| field. Note that
114 // the time may have come from a deleted contact that has been discarded.
Dcontact_map_unittest.cc90 scoped_ptr<Contact> contact(new Contact); in TEST() local
91 InitContact(kContactId, "1", false, contact.get()); in TEST()
95 contacts_to_merge->push_back(new Contact(*contact)); in TEST()
Dgoogle_contact_store.cc305 Contact* contact = (*updated_contacts)[i]; in OnDownloadSuccess() local
306 if (contact->deleted()) in OnDownloadSuccess()
307 contact_ids_to_delete_from_db->push_back(contact->contact_id()); in OnDownloadSuccess()
309 contacts_to_save_to_db->push_back(contact); in OnDownloadSuccess()
/external/chromium_org/chrome/browser/autocomplete/
Dcontact_provider_chromeos.cc173 const contacts::Contact& contact = **it; in RefreshContacts() local
175 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.full_name())); in RefreshContacts()
177 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.given_name())); in RefreshContacts()
179 AutocompleteMatch::SanitizeString(UTF8ToUTF16(contact.family_name())); in RefreshContacts()
181 contact.has_affinity() ? contact.affinity() : kDefaultAffinity; in RefreshContacts()
185 ContactData(full_name, given_name, family_name, contact.contact_id(), in RefreshContacts()
195 const ContactData& contact) { in AddContactIfMatched() argument
201 if (!WordIsNamePrefix(input.text(), contact.full_name, 0, in AddContactIfMatched()
202 contact.full_name.size(), &classifications)) { in AddContactIfMatched()
214 if (!WordIsNamePrefix(*it, contact.given_name, contact.given_name_index, in AddContactIfMatched()
[all …]
Dcontact_provider_chromeos_unittest.cc39 contacts::Contact* contact) { in InitContact() argument
40 contact->set_contact_id(contact_id); in InitContact()
41 contact->set_full_name(full_name); in InitContact()
42 contact->set_given_name(given_name); in InitContact()
43 contact->set_family_name(family_name); in InitContact()
94 const contacts::Contact* contact = contact_manager_->GetContactById( in GetMatchedContacts() local
96 DCHECK(contact) << "Unable to find contact for match " << i; in GetMatchedContacts()
97 contacts.push_back(contact); in GetMatchedContacts()
216 scoped_ptr<contacts::Contact> contact(new contacts::Contact); in TEST_F() local
219 contact.get()); in TEST_F()
[all …]
Dcontact_provider_chromeos.h63 const ContactData& contact);
67 const ContactData& contact);
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContactParser.java45 public ContactParser(String contact) { in ContactParser() argument
46 super(contact); in ContactParser()
59 Contact contact = new Contact(); in parse() local
64 contact.setWildCardFlag(true); in parse()
66 super.parse(contact); in parse()
69 super.parse(contact); in parse()
71 retval.add(contact); in parse()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
Dbackground.js29 var contact = { variable
38 contact['emails'].push(email['address']);
42 if (!contact['name']) {
43 contact['name'] = contact['emails'][0] || "<Unknown>";
45 contacts.push(contact);
Dcontacts.js7 for (var i = 0, contact; contact = contacts[i]; i++) {
12 pName.innerText = contact['name'];
15 for (var j = 0, email; email = contact['emails'][j]; j++) {
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Drostermodule_unittest.cc146 WriteContact(std::ostream& os, const XmppRosterContact* contact) { in WriteContact() argument
147 if (contact == NULL) { in WriteContact()
153 WriteString(os, contact->jid().Str()); in WriteContact()
155 WriteString(os, contact->name()); in WriteContact()
157 WriteSubscriptionState(os, contact->subscription_state()); in WriteContact()
159 for(size_t i=0; i < contact->GetGroupCount(); ++i) { in WriteContact()
161 WriteString(os, contact->GetGroup(i)); in WriteContact()
163 os<<"]]"<<contact->raw_xml()->Str(); in WriteContact()
716 talk_base::scoped_ptr<XmppRosterContact> contact(XmppRosterContact::Create()); in TEST_F() local
717 TEST_OK(contact->set_jid(Jid("brandt@example.net"))); in TEST_F()
[all …]
Drostermoduleimpl.cc735 bool operator() (XmppRosterContactImpl *& contact) { in operator ()() argument
736 return contact->jid() == jid_; in operator ()()
758 const XmppRosterContact* contact) { in RequestRosterChange() argument
759 if (!contact) in RequestRosterChange()
762 Jid jid = contact->jid(); in RequestRosterChange()
770 const XmlElement* contact_xml = contact->raw_xml(); in RequestRosterChange()
921 XmppRosterContact* contact = *pos; in DeleteContacts() local
923 delete contact; in DeleteContacts()
959 bool operator() (XmppPresenceImpl *& contact) { in operator ()() argument
960 return contact->jid() == jid_; in operator ()()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/
DListeningPointImpl.java233 Contact contact = new Contact(); in createContactHeader() local
236 contact.setAddress(address); in createContactHeader()
238 return contact; in createContactHeader()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
Dindex.php126 'contact/email');
182 …attributes']['namePerson/last'] ?> ( <?php echo $_SESSION['attributes']['contact/email'] ?> )</spa…
/external/libvpx/libvpx/examples/includes/geshi/docs/
DREADME20 If you think you've found a bug in GeSHi, contact me with a bug
24 language files, but if you do find something major please contact me.
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
Dindex.php127 'contact/email');
183 …attributes']['namePerson/last'] ?> ( <?php echo $_SESSION['attributes']['contact/email'] ?> )</spa…
/external/chromium_org/content/test/data/accessibility/
Daddress-expected-android.txt2 android.view.View clickable name='Please contact John Citizen for more information.'
Daddress-expected-mac.txt4 … AXStaticText AXRoleDescription='text' AXValue='Please contact John Citizen for more information.'
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java1151 Contact contact = (Contact) lastResponse.getContactHeaders().getFirst(); in createAck() local
1152 javax.sip.address.URI uri = (javax.sip.address.URI) contact.getAddress().getURI() in createAck()
1172 Contact contact = null; in createAck() local
1174 contact = (Contact) lastResponse.getContactHeaders().getFirst(); in createAck()
1182 if (contact != null) { in createAck()
1184 route.setAddress((AddressImpl) ((AddressImpl) (contact.getAddress())).clone()); in createAck()
1197 if (contact != null) { in createAck()
1198 javax.sip.address.URI uri = (javax.sip.address.URI) contact.getAddress().getURI() in createAck()

12345678910