HomeSort by relevance Sort by last modified time
    Searched refs:ContactsContract (Results 1 - 25 of 405) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
NoteDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Note;
25 * {@link ContactsContract.CommonDataKinds.Note}.
DataItem.java 21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Event;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 import android.provider.ContactsContract.CommonDataKinds.Im;
26 import android.provider.ContactsContract.CommonDataKinds.Nickname;
27 import android.provider.ContactsContract.CommonDataKinds.Note;
28 import android.provider.ContactsContract.CommonDataKinds.Organization;
29 import android.provider.ContactsContract.CommonDataKinds.Phone;
30 import android.provider.ContactsContract.CommonDataKinds.Photo
    [all...]
EventDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Event;
25 * {@link ContactsContract.CommonDataKinds.Event}.
GroupMembershipDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
25 * {@link ContactsContract.CommonDataKinds.GroupMembership}.
IdentityDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 * {@link ContactsContract.CommonDataKinds.Identity}.
NicknameDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Nickname;
25 * {@link ContactsContract.CommonDataKinds.Nickname}.
PhotoDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.Contacts.Photo;
25 * {@link ContactsContract.Contacts.Photo}.
RelationDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Relation;
25 * {@link ContactsContract.CommonDataKinds.Relation}.
SipAddressDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.SipAddress;
25 * {@link ContactsContract.CommonDataKinds.SipAddress}.
WebsiteDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Website;
25 * {@link ContactsContract.CommonDataKinds.Website}.
EmailDataItem.java 20 import android.provider.ContactsContract;
21 import android.provider.ContactsContract.CommonDataKinds.Email;
25 * {@link ContactsContract.CommonDataKinds.Email}.
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DeletedContactsTableUtil.java 21 import android.provider.ContactsContract;
39 ContactsContract.DeletedContacts.CONTACT_ID + " INTEGER PRIMARY KEY," +
40 ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP +
46 ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP));
58 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId);
59 values.put(ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP,
74 ContactsContract.DeletedContacts.DAYS_KEPT_MILLISECONDS;
79 ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP + " < ?", args);
ContactsTableUtil.java 19 import static android.provider.ContactsContract.Contacts;
25 import android.provider.ContactsContract;
97 + " SELECT " + ContactsContract.RawContacts.CONTACT_ID
99 + " WHERE " + ContactsContract.RawContacts._ID
124 final String sql = "select " + ContactsContract.RawContacts.CONTACT_ID + ", count(1)"
126 + " where " + ContactsContract.RawContacts.CONTACT_ID + " ="
127 + " (select " + ContactsContract.RawContacts.CONTACT_ID
129 + " where " + ContactsContract.RawContacts._ID + " = ?)"
130 + " group by " + ContactsContract.RawContacts.CONTACT_ID;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DataUtil.java 23 import android.provider.ContactsContract;
31 private static final Uri URI = ContactsContract.Data.CONTENT_URI;
45 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId);
46 values.put(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE);
47 Uri resultUri = resolver.insert(ContactsContract.Data.CONTENT_URI, values);
64 values.put(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, sb.toString());
65 values.put(ContactsContract.CommonDataKinds.StructuredName.GIVEN_NAME, givenName);
66 values.put(ContactsContract.CommonDataKinds.StructuredName.FAMILY_NAME, familyName);
ContactUtil.java 24 import android.provider.ContactsContract;
31 private static final Uri URI = ContactsContract.Contacts.CONTENT_URI;
46 ContactsContract.Contacts._ID
58 ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP
61 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
TestUtil.java 21 import android.provider.ContactsContract;
49 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, account.name)
50 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type)
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContractIntentsTest.java 21 import android.provider.ContactsContract;
27 * Tests to verify that common actions on {@link ContactsContract} content are
41 intent.setData(ContactsContract.Contacts.CONTENT_URI);
47 intent.setData(ContactsContract.Contacts.CONTENT_URI);
53 intent.setData(ContactsContract.Contacts.CONTENT_URI);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/database/
ContactUpdateUtils.java 22 import android.provider.ContactsContract;
40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1);
41 values.put(ContactsContract.Data.IS_PRIMARY, 1);
44 ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, dataId),
  /packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
ContactsPreferences.java 23 import android.provider.ContactsContract;
55 return ContactsContract.Preferences.SORT_ORDER_PRIMARY;
57 return ContactsContract.Preferences.SORT_ORDER_ALTERNATIVE;
69 ContactsContract.Preferences.SORT_ORDER);
80 ContactsContract.Preferences.SORT_ORDER, sortOrder);
89 return ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY;
91 return ContactsContract.Preferences.DISPLAY_ORDER_ALTERNATIVE;
103 ContactsContract.Preferences.DISPLAY_ORDER);
114 ContactsContract.Preferences.DISPLAY_ORDER, displayOrder);
130 ContactsContract.Preferences.SORT_ORDER), false, this)
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
ContactsProviderTest.java 25 import android.provider.ContactsContract;
35 * Verifies that query(ContactsContract.Contacts.CONTENT_URI) requires
43 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI,
45 fail("query(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
53 * Verifies that insert(ContactsContract.Contacts.CONTENT_URI) requires
61 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI,
63 fail("insert(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
71 * Verifies that query(ContactsContract.Profile.CONTENT_URI) requires
79 getContext().getContentResolver().query(ContactsContract.Profile.CONTENT_URI,
81 fail("query(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException
    [all...]
  /external/chromium_org/components/autofill/core/browser/android/java/src/org/chromium/components/browser/autofill/
PersonalAutofillPopulator.java 20 import android.provider.ContactsContract.CommonDataKinds.Phone;
21 import android.provider.ContactsContract.Profile;
22 import android.provider.ContactsContract;
45 ContactsContract.Profile.CONTENT_URI,
46 ContactsContract.Contacts.Data.CONTENT_DIRECTORY
58 ContactsContract.CommonDataKinds.Email.ADDRESS,
64 return ContactsContract.CommonDataKinds.Email.CONTENT_ITEM_TYPE;
74 ContactsContract.CommonDataKinds.Phone.NUMBER,
80 return ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE;
96 ContactsContract.CommonDataKinds.StructuredPostal.STREET
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ValuesDelta.java 25 import android.provider.ContactsContract;
151 return getAsString(ContactsContract.Data.MIMETYPE);
163 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY);
176 final Long isSuperPrimary = getAsLong(ContactsContract.Data.IS_SUPER_PRIMARY);
316 if (values.containsKey(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID)) {
318 values.remove(ContactsContract.CommonDataKinds.GroupMembership.GROUP_SOURCE_ID);
462 put(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId);
466 return getAsLong(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID);
470 put(ContactsContract.CommonDataKinds.Photo.PHOTO, value);
474 return getAsByteArray(ContactsContract.CommonDataKinds.Photo.PHOTO)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactUtil.java 24 import android.provider.ContactsContract;
31 private static final Uri URI = ContactsContract.Contacts.CONTENT_URI;
46 ContactsContract.Contacts._ID
58 ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP
61 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 29 import android.provider.ContactsContract;
88 // Note: Other types are available in ContactsContract.CommonDataKinds
92 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_HOME);
93 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_WORK);
94 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE);
95 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_OTHER);
97 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_HOME);
98 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_WORK);
99 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_MOBILE);
100 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_OTHER)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
ContentResolverTest.java 19 import android.provider.ContactsContract;
38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);

Completed in 282 milliseconds

1 2 3 4 5 6 7 8 91011>>