/packages/apps/Contacts/src/com/android/contacts/editor/ |
PickRawContactLoader.java | 1 package com.android.contacts.editor; 11 import android.provider.ContactsContract.Contacts; 16 import com.android.contacts.model.AccountTypeManager; 17 import com.android.contacts.model.account.AccountType; 65 mContactUri, new String[] {Contacts._ID, Contacts.IS_USER_PROFILE}, null, 80 result.contactId = contactCursor.getLong(/* Contacts._ID */ 0); 81 result.isUserProfile = contactCursor.getInt(/* Contacts.IS_USER_PROFILE */ 1) == 1; 138 new String[] {Data.RAW_CONTACT_ID, Contacts.Photo._ID}, 182 if (!uri.toString().startsWith(Contacts.CONTENT_URI.toString())) [all...] |
AggregationSuggestionEngine.java | 17 package com.android.contacts.editor; 34 import android.provider.ContactsContract.Contacts; 35 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 36 import android.provider.ContactsContract.Contacts.AggregationSuggestions.Builder; 41 import com.android.contacts.compat.AggregationSuggestionsCompat; 42 import com.android.contacts.model.ValuesDelta; 43 import com.android.contacts.model.account.AccountWithDataSet; 179 Contacts.CONTENT_URI, true, mContentObserver); 287 Contacts.Photo._ID 304 Cursor cursor = contentResolver.query(uri, new String[]{Contacts._ID}, null, null, null) [all...] |
EditorIntents.java | 16 package com.android.contacts.editor; 23 import android.provider.ContactsContract.Contacts; 26 import com.android.contacts.activities.ContactEditorActivity; 27 import com.android.contacts.activities.ContactEditorSpringBoardActivity; 28 import com.android.contacts.model.RawContactDeltaList; 29 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette; 34 * Creates Intents to edit contacts. 83 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 17 package com.android.providers.contacts; 19 import static com.android.providers.contacts.TestUtils.dumpTable; 20 import static com.android.providers.contacts.TestUtils.dumpUri; 28 import android.provider.Contacts; 29 import android.provider.Contacts.ContactMethods; 30 import android.provider.Contacts.Extensions; 31 import android.provider.Contacts.GroupMembership; 32 import android.provider.Contacts.Groups; 33 import android.provider.Contacts.Organizations; 34 import android.provider.Contacts.People [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlertDialogSamples.java | 288 ContactsContract.Contacts._ID, 289 ContactsContract.Contacts.DISPLAY_NAME, 290 ContactsContract.Contacts.SEND_TO_VOICEMAIL 292 Cursor cursor = managedQuery(ContactsContract.Contacts.CONTENT_URI, 297 ContactsContract.Contacts.SEND_TO_VOICEMAIL, 298 ContactsContract.Contacts.DISPLAY_NAME,
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 16 package com.android.contacts.list; 32 import android.provider.ContactsContract.Contacts; 38 import com.android.contacts.util.ContactLoaderUtils; 112 new String[] { Contacts._ID, Contacts.LOOKUP_KEY }, null, null, null); 118 return Contacts.getLookupUri(contactId, lookupKey); 148 // contacts). 356 if (mSelectedContactUri.toString().startsWith(Contacts.CONTENT_LOOKUP_URI.toString())) { 362 } else if (mSelectedContactUri.toString().startsWith(Contacts.CONTENT_URI.toString()) &&
|
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);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PollingAction.java | 124 List<Contacts.Item> contacts = mPollingTask.mContacts; local 125 for (int i = 0; i < contacts.size(); i++) { 126 Contacts.Item item = contacts.get(i); 131 logger.debug("No contacts in polling task, no action.");
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
ContactEntry.java | 42 int nameColumn = cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME); 43 int starredColumn = cursor.getColumnIndex(ContactsContract.Contacts.STARRED);
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
AccountImageChangeObserver.java | 27 import android.provider.ContactsContract.Contacts; 147 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, 162 // Look up this account in the contacts database.
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 17 package com.android.contacts.tests.quickcontact; 25 import android.provider.ContactsContract.Contacts; 34 import com.android.contacts.tests.R; 81 final Intent intent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactsListFragment.java | 30 import android.provider.ContactsContract.Contacts; 130 * Build the {@link Contacts#CONTENT_LOOKUP_URI} for the given 146 return Contacts.getLookupUri(contactId, lookupKey);
|
/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;
|
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/ |
ContactPreferenceTest.java | 79 intentFilter.addDataType(ContactsContract.Contacts.CONTENT_ITEM_TYPE);
|
/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...] |
/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");
|
/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 | 30 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, 149 * @param timeoutMs timeout in milliseconds to wait for contacts response 361 Slog.w(TAG, "Null cursor from contacts query."); 368 Slog.w(TAG, "Problem getting content resolver or performing contacts query.", t); 392 final int idIdx = cursor.getColumnIndex(Contacts._ID); 402 final int starIdx = cursor.getColumnIndex(Contacts.STARRED) [all...] |