/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ContactLoaderUtils.java | 17 package com.android.contacts.common.util; 22 import android.provider.Contacts; 36 * For legacy contacts, a raw-contact lookup is performed. An {@link IllegalArgumentException} 52 if (ContactsContract.Contacts.CONTENT_ITEM_TYPE.equals(type)) { 68 final String OBSOLETE_AUTHORITY = Contacts.AUTHORITY;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete4.java | 27 import android.provider.ContactsContract.Contacts; 44 Cursor cursor = content.query(Contacts.CONTENT_URI, 89 Contacts.CONTENT_FILTER_URI, 98 Contacts._ID, 99 Contacts.DISPLAY_NAME
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactManager.java | 104 Uri uri = ContactsContract.Contacts.CONTENT_URI; 106 ContactsContract.Contacts._ID, 107 ContactsContract.Contacts.DISPLAY_NAME 109 String selection = ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '" + 112 String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC";
|
/frameworks/base/core/java/android/provider/ |
ContactsInternal.java | 33 * Contacts related internal methods. 48 // Contacts URI matching table 50 matcher.addURI(ContactsContract.AUTHORITY, "contacts/lookup/*", CONTACTS_URI_LOOKUP); 51 matcher.addURI(ContactsContract.AUTHORITY, "contacts/lookup/*/#", CONTACTS_URI_LOOKUP_ID); 97 ? ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE //contact id will be ignored 108 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX)) { 112 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { 122 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX.length()); 124 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE);
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
ContactListItemViewTest.java | 20 import android.provider.ContactsContract.Contacts; 83 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, row), 85 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, row), true); 94 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, row), 96 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, row), false); 118 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, 1), 120 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, 1), true);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
Contacts.java | 39 public final class Contacts { 40 private Contacts() {} 72 Uri.withAppendedPath(Contacts.CONTENT_URI, TABLE_NAME); 257 if (!(o instanceof Contacts.Item)) return false; 259 Contacts.Item that = (Contacts.Item) o; 266 .append("Contacts.Item { ")
|
PollingsQueue.java | 77 public synchronized void add(int type, List<Contacts.Item> list) { 82 List<Contacts.Item> contacts = new ArrayList<Contacts.Item>(); local 83 contacts.clear(); 85 Contacts.Item item = list.get(i); 88 for(int j = 0; j < contacts.size(); j++) { 89 Contacts.Item item0 = contacts.get(j); 102 Contacts.Item item0 = task.mContacts.get(k) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
DatabaseTestUtils.java | 20 import android.provider.ContactsContract.Contacts; 47 Contacts.STARRED, // 10 49 Contacts.IN_VISIBLE_GROUP, // 12
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ProfileAggregator.java | 16 package com.android.providers.contacts.aggregation; 21 import android.provider.ContactsContract.Contacts; 23 import com.android.providers.contacts.ContactLookupKey; 24 import com.android.providers.contacts.ContactsDatabaseHelper; 25 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 26 import com.android.providers.contacts.ContactsProvider2; 27 import com.android.providers.contacts.NameSplitter; 28 import com.android.providers.contacts.PhotoPriorityResolver; 29 import com.android.providers.contacts.TransactionContext; 30 import com.android.providers.contacts.aggregation.util.CommonNicknameCache [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactUtil.java | 17 package android.provider.cts.contacts; 30 * Convenience methods for operating on the Contacts table. 34 private static final Uri URI = ContactsContract.Contacts.CONTENT_URI; 49 ContactsContract.Contacts._ID 61 ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP 64 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId); 115 * manually trigger the forced aggregation, splitting of two raw contacts or specify that 116 * the provider should automatically decide whether or not to aggregate the two raw contacts. 132 // Actually set the aggregation exception in the contacts database, and check that a
|
/external/guice/examples/src/example/xml/ |
Main.java | 35 bind(Contacts.class).to(SimCard.class);
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/ |
b2ChainAndCircleContact.h | 22 #include <Box2D/Dynamics/Contacts/b2Contact.h>
|
b2ChainAndPolygonContact.h | 22 #include <Box2D/Dynamics/Contacts/b2Contact.h>
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentResolverTest.java | 40 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactListAdapter.java | 16 package com.android.contacts.list; 24 import android.provider.ContactsContract.Contacts; 25 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 33 import com.android.contacts.R; 34 import com.android.contacts.common.list.ContactListAdapter; 35 import com.android.contacts.common.list.ContactListItemView; 36 import com.android.contacts.common.list.DirectoryListLoader; 37 import com.android.contacts.common.preference.ContactsPreferences; 62 // Partition 1: All contacts 74 final Builder builder = Contacts.CONTENT_URI.buildUpon() [all...] |
ContactsIntentResolver.java | 17 package com.android.contacts.list; 23 import android.provider.Contacts.ContactMethods; 24 import android.provider.Contacts.People; 25 import android.provider.Contacts.Phones; 30 import android.provider.ContactsContract.Contacts; 37 * Parses a Contacts intent, extracting all relevant parts and packaging them 75 if (Contacts.CONTENT_TYPE.equals(resolvedType)) { 104 if (Contacts.CONTENT_ITEM_TYPE.equals(type)) { 136 if (ContactsContract.Contacts.CONTENT_TYPE.equals(resolvedType) 137 || android.provider.Contacts.People.CONTENT_TYPE.equals(resolvedType)) [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
FrequentContactsCursorQueryData.java | 23 import android.provider.ContactsContract.Contacts; 31 * Helper for querying frequent (and/or starred) contacts. 77 // Some phones have a buggy implementation of the Contacts provider which crashes 78 // when we query for strequent (starred+frequent) contacts (b/17991485). 79 // If this happens, switch to just querying for frequent contacts. 80 return Contacts.CONTENT_FREQUENT_URI; 91 // contacts. This is the last-ditch effort; if this fails, we will display an 95 // TODO: Handle enterprise contacts post M once contacts provider supports it 96 return Contacts.CONTENT_STREQUENT_URI.buildUpon( [all...] |
/build/target/product/ |
core.mk | 32 Contacts \
|
/cts/tests/tests/permission/src/android/permission/cts/ |
ContactsProviderTest.java | 30 * Verifies that query(ContactsContract.Contacts.CONTENT_URI) requires 38 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, 40 fail("query(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException" 48 * Verifies that insert(ContactsContract.Contacts.CONTENT_URI) requires 56 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, 58 fail("insert(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException"
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
ContactsProviderTest.java | 26 * Verify that deprecated contacts permissions are not enforced. 31 * Verifies that query(ContactsContract.Contacts.CONTENT_URI) only requires 36 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, 41 * Verifies that insert(ContactsContract.Contacts.CONTENT_URI) only requires 47 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, 50 fail("insert(ContactsContract.Contacts.CONTENT_URI) threw SecurityException");
|
/cts/tests/tests/widget/src/android/widget/cts/ |
QuickContactBadgeTest.java | 27 import android.provider.ContactsContract.Contacts; 40 final Uri nonExistentContactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 0);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactAccessorSdk3_4.java | 24 import android.provider.Contacts.People; 25 import android.provider.Contacts.People.Phones; 28 * An implementation of {@link ContactAccessor} that uses legacy Contacts API.
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
AggregationSuggestionsCompat.java | 17 package com.android.contacts.compat; 82 android.net.Uri.Builder builder = ContactsContract.Contacts.CONTENT_URI.buildUpon(); 84 builder.appendPath(ContactsContract.Contacts.AggregationSuggestions.CONTENT_DIRECTORY);
|
/packages/apps/Contacts/tests/ |
Android.mk | 18 LOCAL_INSTRUMENTATION_FOR := Contacts
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneQuery.java | 21 import android.provider.ContactsContract.Contacts; 24 import com.android.contacts.common.compat.CompatUtils; 25 import com.android.contacts.common.compat.PhoneLookupSdkCompat; 26 import com.android.contacts.common.ContactsUtils; 92 Contacts.DISPLAY_NAME_ALTERNATIVE,
|