/packages/apps/Contacts/src/com/android/contacts/activities/ |
ShowOrCreateActivity.java | 17 package com.android.contacts.activities; 29 import android.provider.ContactsContract.Contacts; 37 import com.android.contacts.ContactsActivity; 38 import com.android.contacts.ContactsUtils; 39 import com.android.contacts.R; 40 import com.android.contacts.util.ImplicitIntentsUtil; 41 import com.android.contacts.util.NotifyingAsyncQueryHandler; 44 * Handle several edge cases around showing or possibly creating contacts in 49 * <li>If no matching contacts found, will prompt user with dialog to add to a 54 * <li>If more than one matching found, show list of matching contacts usin [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
DataItem.java | 17 package com.android.contacts.model.dataitem; 36 import android.provider.ContactsContract.Contacts.Data; 37 import android.provider.ContactsContract.Contacts.Entity; 39 import com.android.contacts.Collapser; 40 import com.android.contacts.MoreContactUtils; 41 import com.android.contacts.model.RawContactModifier;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
ResultActivity.java | 17 package com.android.contacts.tests.allintents; 30 import android.provider.ContactsContract.Contacts; 40 import com.android.contacts.tests.R; 45 * An activity that shows the result of a contacts activity invocation. 122 if (names[i].equals(Contacts.PHOTO_ID) && !TextUtils.isEmpty(value)) {
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
ContactPhotoManagerImpl.java | 17 package com.android.contacts.common; 42 import android.provider.ContactsContract.Contacts; 43 import android.provider.ContactsContract.Contacts.Photo; 55 import com.android.contacts.common.util.BitmapUtil; 56 import com.android.contacts.common.util.TrafficStatsTags; 57 import com.android.contacts.common.util.UriUtils; [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
DataItem.java | 17 package com.android.contacts.common.model.dataitem; 36 import android.provider.ContactsContract.Contacts.Data; 37 import android.provider.ContactsContract.Contacts.Entity; 38 import com.android.contacts.common.Collapser; 39 import com.android.contacts.common.MoreContactUtils; 40 import com.android.contacts.common.model.account.AccountType.EditType;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsManager.java | 23 import android.provider.ContactsContract.Contacts; 38 * Manages all interactions with Contacts DB. 47 * Use at most this many of the highest affinity contacts. 78 * - Whether the contact is in the visible group (i.e., Contacts list). 105 * to Contacts content provider. 112 * The number of contacts observed in the most recent instance of 113 * contacts content provider. 118 * The hash code of list of valid contacts names in the most recent dictionary 145 * Returns all the valid names in the Contacts DB. Callers should also 150 * contacts appearing first 158 final ArrayList<RankedContact> contacts = new ArrayList<>(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 17 package com.android.contacts; 44 import android.provider.ContactsContract.Contacts; 56 import com.android.contacts.activities.ContactEditorActivity; 57 import com.android.contacts.compat.CompatUtils; 58 import com.android.contacts.compat.PinnedPositionsCompat; 59 import com.android.contacts.database.ContactUpdateUtils; 60 import com.android.contacts.database.SimContactDao; 61 import com.android.contacts.model.AccountTypeManager; 62 import com.android.contacts.model.CPOWrapper; 63 import com.android.contacts.model.RawContactDelta [all...] |
ShortcutIntentBuilder.java | 16 package com.android.contacts; 41 import android.provider.ContactsContract.Contacts; 51 import com.android.contacts.ContactPhotoManager.DefaultImageRequest; 52 import com.android.contacts.util.BitmapUtil; 53 import com.android.contacts.util.ImplicitIntentsUtil; 61 Contacts.DISPLAY_NAME, 62 Contacts.PHOTO_ID, 63 Contacts.LOOKUP_KEY
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
PhoneNumberListAdapter.java | 17 package com.android.contacts.common.list; 28 import android.provider.ContactsContract.Contacts; 33 import com.android.contacts.common.ContactPhotoManager; 34 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest; 35 import com.android.contacts.common.ContactsUtils; 36 import com.android.contacts.common.R; 37 import com.android.contacts.common.compat.CallableCompat; 38 import com.android.contacts.common.compat.DirectoryCompat; 39 import com.android.contacts.common.compat.PhoneCompat; 40 import com.android.contacts.common.extensions.PhoneDirectoryExtenderAccessor [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 40 import android.provider.ContactsContract.Contacts; [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | 56 * The contract between the contacts provider and applications. Contains 58 * {@link Contacts}. 78 * A row in the {@link Contacts} table represents an aggregate of one or more 80 * the RawContacts table is changed, the affected aggregate contacts are updated as 99 * disaggregation of raw contacts 115 /** The authority for the contacts provider */ 116 public static final String AUTHORITY = "com.android.contacts"; 117 /** A content:// style uri to the authority for the contacts provider */ 143 * {@code content://com.android.contacts/data/emails/filter/acme?directory=3} 152 * {@link Contacts#CONTENT_URI} [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
AttentionManagementVerifierActivity.java | 140 // charlie is not in contacts [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_AllUriTest.java | 17 package android.provider.cts.contacts; 25 import android.provider.ContactsContract.Contacts; 55 {"content://com.android.contacts/contacts", "sud"}, 56 {"content://com.android.contacts/contacts/1", "sud"}, 57 {"content://com.android.contacts/contacts/1/data", "t"}, 58 {"content://com.android.contacts/contacts/1/entities", "t"} [all...] |
Contacts_PhonesTest.java | 17 package android.provider.cts.contacts; 20 import android.provider.Contacts.Phones;
|
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 46 import android.provider.ContactsContract.Contacts; 202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
|
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 46 import android.provider.ContactsContract.Contacts; 202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
CalendarQueryService.java | 46 import android.provider.ContactsContract.Contacts; 202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 28 import android.provider.ContactsContract.Contacts; 229 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { 235 if (Contacts.isEnterpriseContactId(contactId)) { 498 * test, since we'll need a live contacts database to test against, 501 * the test might break whenever the contacts schema changes. But we 508 // - content://com.android.contacts/data/phones ==> use the "contact_id" column 509 // - content://com.android.contacts/phone_lookup ==> use the "_ID" column 510 // - content://com.android.contacts/data ==> use the "contact_id" column 519 // the contacts provider is slow or blocked (like during a sync.) 532 if (url.startsWith("content://com.android.contacts/data/phones")) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupUtil.java | 17 package com.android.contacts.group; 27 import android.provider.ContactsContract.Contacts; 31 import com.android.contacts.ContactsUtils; 32 import com.android.contacts.GroupListLoader; 33 import com.android.contacts.activities.ContactSelectionActivity; 34 import com.android.contacts.list.ContactsSectionIndexer; 35 import com.android.contacts.list.UiIntentActions; 36 import com.android.contacts.model.account.GoogleAccountType; 167 /** Returns an Intent to pick contacts to add to a group. */ 263 bundle.putStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, newSections) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 30 import android.provider.ContactsContract.Contacts; 295 Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 296 Uri dataUri = Uri.withAppendedPath(baseUri, Contacts.Data.CONTENT_DIRECTORY);
|
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/ |
AllUriTest.java | 16 package com.android.providers.contacts.tests2; 24 import android.provider.ContactsContract.Contacts; 41 insert for 'content://com.android.contacts/contacts' failed: Aggregate contacts are created automatically 42 insert for 'content://com.android.contacts/raw_contacts/1/data' failed: mimetype is required 43 update for 'content://com.android.contacts/raw_contacts/1/stream_items/1' failed: Empty values 44 insert for 'content://com.android.contacts/data' failed: raw_contact_id is required 45 insert for 'content://com.android.contacts/settings' failed: Must specify both or neither of ACCOUNT_NAME and ACCOUNT_TYPE; URI: content://com.android.contacts/settings?account_type=1, calling user: com.android.providers.contacts.tests2, calling package:com. (…) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ExportTestProvider.java | 24 import android.provider.ContactsContract.Contacts; 95 * which value in the ContentValue corresponds to the entry in Contacts database.
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCursorSupport.java | 22 import android.provider.Contacts.People; 40 * Demonstration of the use of a CursorLoader to load and display contacts 143 // These are the Contacts rows that we will retrieve.
|
LoaderRetainedSupport.java | 22 import android.provider.Contacts.People; 40 * Demonstration of the use of a CursorLoader to load and display contacts 137 // These are the Contacts rows that we will retrieve.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapUtils.java | 29 import android.provider.ContactsContract.Contacts; 291 * all contacts. It is required to determine which field of the contact is 294 if (V) Log.v(TAG, "Loading Contacts ..."); 303 totalContacts = contactCount; // to set total contacts count fetched on Connect 306 Log.e(TAG, "Exception occurred in load contacts: " + e); 312 /* updated_list stores list of contacts which are added/updated after 313 * the time when contacts were last updated. (contactsLastUpdated 314 * indicates the time when contact/contacts were last updated and 320 String[] projection = {Contacts._ID, Contacts.CONTACT_LAST_UPDATED_TIMESTAMP} [all...] |