/packages/services/Telephony/ |
Android.mk | 3 # Build the Phone app which includes the emergency dialer. See Contacts
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 30 import android.provider.ContactsContract.Contacts; 66 Contacts.LOOKUP_KEY, 194 * @param contactUri Either a {@link Contacts#CONTENT_URI} or 195 * {@link Contacts#CONTENT_LOOKUP_URI} style URI. 330 * example, this can be used to hide the {@link Contacts#CONTENT_ITEM_TYPE} 360 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 375 lookupUri = Contacts.getLookupUri(contactId, lookupKey); 394 // Prompt user to add this person to contacts
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListWithDisappearingItemBug.java | 24 import android.provider.Contacts.People; 36 * See 1080989. You need some contacts for this adapter.
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
StructuredNameDataItem.java | 17 package com.android.contacts.model.dataitem; 22 import android.provider.ContactsContract.Contacts.Data;
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ExportProcessor.java | 16 package com.android.contacts.vcard; 27 import android.provider.ContactsContract.Contacts; 33 import com.android.contacts.R; 155 if (!composer.init(Contacts.CONTENT_URI, new String[] {Contacts._ID}, 298 * share contacts. 304 intent.setType(Contacts.CONTENT_VCARD_TYPE);
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
StructuredNameDataItem.java | 17 package com.android.contacts.common.model.dataitem; 21 import android.provider.ContactsContract.Contacts.Data;
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_IsSuperPrimaryName.java | 17 package android.provider.cts.contacts; 27 import android.provider.ContactsContract.Contacts; 29 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 30 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData; 31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 36 * aggregated contacts. Additionally, this needs to test the affect that aggregating contacts 71 // Setup: two raw contacts. One with a super primary name. One without. 94 // Execute: aggregate the two raw contacts together 97 // Sanity check: two contacts are aggregate [all...] |
DummyGalProvider.java | 17 package android.provider.cts.contacts; 26 import android.provider.ContactsContract.Contacts; 29 import android.provider.cts.contacts.account.StaticAccountAuthenticator; 42 public static final String AUTHORITY = "android.provider.cts.contacts.dgp"; 67 sURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER); 69 // sURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT); 70 // sURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID); 126 * See com.android.providers.contacts.ContactDirectoryManager. 196 projection = new String[]{Contacts.DISPLAY_NAME}; 204 if (Contacts.DISPLAY_NAME.equals(column)) [all...] |
ContactsTest.java | 17 package android.provider.cts.contacts; 31 import android.provider.Contacts; 32 import android.provider.Contacts.ContactMethods; 33 import android.provider.Contacts.Extensions; 34 import android.provider.Contacts.GroupMembership; 35 import android.provider.Contacts.Groups; 36 import android.provider.Contacts.GroupsColumns; 37 import android.provider.Contacts.Organizations; 38 import android.provider.Contacts.People; 39 import android.provider.Contacts.PeopleColumns [all...] |
ContactsContract_TestDataBuilder.java | 17 package android.provider.cts.contacts; 29 import android.provider.ContactsContract.Contacts; 295 return Contacts.CONTENT_URI; 313 return with(Contacts._ID, mRawContact.getContactId()).loadUsingValues();
|
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 17 package com.android.common.contacts; 46 * @see ContactsContract.Contacts 237 whereBuilder.append(ContactsContract.Contacts._ID + " IN ("). 247 values.put(ContactsContract.Contacts.LAST_TIME_CONTACTED, currentTimeMillis); 248 if (mResolver.update(ContactsContract.Contacts.CONTENT_URI, values, 253 Log.d(TAG, "update toward raw contacts " + contactIds + " failed");
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactListFragment.java | 16 package com.android.contacts.list; 27 import android.provider.ContactsContract.Contacts; 34 import com.android.contacts.R; 35 import com.android.contacts.list.JoinContactLoader.JoinContactLoaderResult; 36 import com.android.contacts.logging.ListEvent; 58 ContentUris.withAppendedId(Contacts.CONTENT_URI, mTargetContactId), 59 new String[] { Contacts.DISPLAY_NAME }, null, null, null);
|
ContactEntryListAdapter.java | 16 package com.android.contacts.list; 26 import android.provider.ContactsContract.Contacts; 37 import com.android.contacts.ContactPhotoManager; 38 import com.android.contacts.ContactPhotoManager.DefaultImageRequest; 39 import com.android.contacts.ContactsUtils; 40 import com.android.contacts.R; 41 import com.android.contacts.compat.CompatUtils; 42 import com.android.contacts.compat.DirectoryCompat; 43 import com.android.contacts.util.SearchUtil; 158 * Remove all directories after the default directory. This is typically used when contacts [all...] |
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
Cp2DefaultDirectoryPhoneLookup.java | 25 import android.provider.ContactsContract.Contacts; 61 /** PhoneLookup implementation for contacts in the default directory. */ 168 "returning true because contacts deleted"); 171 // Hopefully the most common case is there are no contacts updated; we can detect 181 "returning false because no contacts modified since last run"); 185 // are looking for changes to contacts which have been called. 347 /** Returns true if any contacts were modified after {@code lastModified}. */ 358 // Filter to after last modified time based only on contacts we care about 360 Contacts.CONTACT_LAST_UPDATED_TIMESTAMP 363 + Contacts._I [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 40 import android.provider.ContactsContract.Contacts; 57 * The class for composing vCard from Contacts information. 160 Contacts._ID, 242 * Initializes this object using default {@link Contacts#CONTENT_URI}. 256 * {@link ContentResolver} with {@link Contacts#_ID}. 272 return init(Contacts.CONTENT_URI, sContactsProjection, null, null, null, 277 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection 281 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, 437 mIdColumn = mCursor.getColumnIndex(Contacts._ID);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 40 import android.provider.ContactsContract.Contacts; 68 Contacts.LOOKUP_KEY, // 1 69 Contacts.PHOTO_ID, // 2 433 ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 437 item.mContactLookupUri = Contacts.getLookupUri(contactId, lookupKey); 442 // Query for this contacts picture
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ValidateNotificationPeople.java | 32 import android.provider.ContactsContract.Contacts; 65 private static final String[] LOOKUP_PROJECTION = { Contacts._ID, Contacts.STARRED }; 69 /** Indicates that the notification does not reference any valid contacts. */ 116 mBaseContext.getContentResolver().registerContentObserver(Contacts.CONTENT_URI, true, 154 * @param timeoutMs timeout in milliseconds to wait for contacts response 399 Slog.w(TAG, "Null cursor from contacts query."); 406 Slog.w(TAG, "Problem getting content resolver or performing contacts query.", t); 430 final int idIdx = cursor.getColumnIndex(Contacts._ID); 440 final int starIdx = cursor.getColumnIndex(Contacts.STARRED) [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactEntryListAdapter.java | 16 package com.android.contacts.common.list; 26 import android.provider.ContactsContract.Contacts; 35 import com.android.contacts.common.ContactsUtils; 36 import com.android.contacts.common.R; 37 import com.android.contacts.common.util.SearchUtil; 162 * Remove all directories after the default directory. This is typically used when contacts list 167 * deleted (e.g. Join screen has "suggested contacts" directory before the default director, and 479 if (bundle.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES) 480 && bundle.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)) { 481 String[] sections = bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES) [all...] |
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
ContactInfoHelper.java | 28 import android.provider.ContactsContract.Contacts; 36 import com.android.contacts.common.ContactsUtils; 37 import com.android.contacts.common.ContactsUtils.UserType; 38 import com.android.contacts.common.util.Constants; 89 .put(Contacts.DISPLAY_NAME, number) 90 .put(Contacts.DISPLAY_NAME_SOURCE, DisplayNameSources.PHONE) 91 .put(Contacts.CONTENT_ITEM_TYPE, contactRows) 94 return Contacts.CONTENT_LOOKUP_URI 108 // Query {@link Contacts#CONTENT_LOOKUP_URI} directly with work lookup key is not allowed. 114 // Query {@link Contacts#CONTENT_LOOKUP_URI} with work lookup key is not allowed [all...] |
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 103 String[] projection = new String[] { ContactsContract.Contacts._ID, 104 ContactsContract.Contacts.LOOKUP_KEY }; 105 String selections = ContactsContract.Contacts.DISPLAY_NAME + " = ?"; 108 c = contentResolver.query(ContactsContract.Contacts.CONTENT_URI, 112 int lookupIdx = c.getColumnIndex(ContactsContract.Contacts.LOOKUP_KEY); 113 int idIdx = c.getColumnIndex(ContactsContract.Contacts._ID); 116 Uri lookupUri = ContactsContract.Contacts.getLookupUri(contactId, lookupKey);
|
/frameworks/base/core/java/android/provider/ |
Contacts.java | 39 * The Contacts provider stores all information about contacts. 42 * access multiple accounts and support aggregation of similar contacts. These APIs continue to 47 public class Contacts { 48 private static final String TAG = "Contacts"; 54 public static final String AUTHORITY = "contacts"; 97 private Contacts() {} 155 Uri.parse("content://contacts/settings"); 273 * @hide Used only in Contacts application for now. 357 Uri.parse("content://contacts/people") [all...] |
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABProvider.java | 44 import android.provider.ContactsContract.Contacts; 300 String contactSel = Contacts._ID + " IN ( " + sb.toString() + ")"; 301 return getContext().getContentResolver().query(Contacts.CONTENT_URI, projection, 383 Intent intent = new Intent(com.android.service.ims.presence.Contacts 389 intent.putExtra(com.android.service.ims.presence.Contacts.NEW_PHONE_NUMBER, contactNumber); 395 Intent intent = new Intent(com.android.service.ims.presence.Contacts
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
ContactAggregator2Test.java | 17 package com.android.providers.contacts.aggregation; 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 33 import android.provider.ContactsContract.Contacts.Photo; 40 import com.android.providers.contacts.BaseContactsProvider2Test; 41 import com.android.providers.contacts.ContactsProvider2; 42 import com.android.providers.contacts.TestUtils; 43 import com.android.providers.contacts.tests.R; 44 import com.android.providers.contacts.testutil.DataUtil; 45 import com.android.providers.contacts.testutil.RawContactUtil [all...] |
ContactAggregatorTest.java | 17 package com.android.providers.contacts.aggregation; 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 33 import android.provider.ContactsContract.Contacts.Photo; 40 import com.android.providers.contacts.BaseContactsProvider2Test; 41 import com.android.providers.contacts.ContactsProvider2; 42 import com.android.providers.contacts.TestUtils; 43 import com.android.providers.contacts.tests.R; 44 import com.android.providers.contacts.testutil.DataUtil; 45 import com.android.providers.contacts.testutil.RawContactUtil [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 17 package com.android.contacts.interactions; 33 import android.provider.ContactsContract.Contacts; 34 import android.provider.ContactsContract.Contacts.Entity; 39 import com.android.contacts.ContactSaveService; 40 import com.android.contacts.R; 41 import com.android.contacts.model.AccountTypeManager; 42 import com.android.contacts.model.account.AccountType; 43 import com.android.contacts.preference.ContactsPreferences; 44 import com.android.contacts.util.ContactDisplayUtils; 241 Log.e(TAG, "Failed to load contacts"); [all...] |