/packages/apps/Contacts/src/com/android/contacts/list/ |
PhoneNumberListAdapter.java | 16 package com.android.contacts.list; 28 import android.provider.ContactsContract.Contacts; 36 import com.android.contacts.CallUtil; 37 import com.android.contacts.ContactPhotoManager.DefaultImageRequest; 38 import com.android.contacts.ContactsUtils; 39 import com.android.contacts.GeoUtil; 40 import com.android.contacts.R; 41 import com.android.contacts.compat.CallableCompat; 42 import com.android.contacts.compat.CompatUtils; 43 import com.android.contacts.compat.DirectoryCompat [all...] |
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 39 import android.provider.ContactsContract.Contacts; 53 import com.android.contacts.common.Collapser; 54 import com.android.contacts.common.Collapser.Collapsible; 55 import com.android.contacts.common.MoreContactUtils; 56 import com.android.contacts.common.util.ContactDisplayUtils; 243 if (inputUriAsString.startsWith(Contacts.CONTENT_URI.toString())) { 244 if (!inputUriAsString.endsWith(Contacts.Data.CONTENT_DIRECTORY)) { 245 queryUri = Uri.withAppendedPath(uri, Contacts.Data.CONTENT_DIRECTORY);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_PhoneLookup.java | 17 package android.provider.cts.contacts; 28 import android.provider.ContactsContract.Contacts; 31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact; 32 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact; 248 // We need this helper function to add a filter for specific contacts because 249 // otherwise tests will fail if performed on a device with existing contacts data 251 sb.append(Contacts._ID + " in ");
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactPhotoManager.java | 17 package com.android.contacts; 45 import android.provider.ContactsContract.Contacts; 46 import android.provider.ContactsContract.Contacts.Photo; 58 import com.android.contacts.lettertiles.LetterTileDrawable; 59 import com.android.contacts.util.BitmapUtil; 60 import com.android.contacts.util.PermissionsUtil; 61 import com.android.contacts.util.TrafficStatsTags; 62 import com.android.contacts.util.UriUtils; 277 * especially for non-local or temporary contacts that might not have a lookup key. This [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountFilterUtil.java | 17 package com.android.contacts.util; 29 import android.provider.ContactsContract.Contacts; 36 import com.android.contacts.R; 37 import com.android.contacts.activities.ContactEditorActivity; 38 import com.android.contacts.list.AccountFilterActivity; 39 import com.android.contacts.list.ContactListFilter; 40 import com.android.contacts.list.ContactListFilterController; 41 import com.android.contacts.model.AccountTypeManager; 42 import com.android.contacts.model.Contact; 43 import com.android.contacts.model.account.AccountDisplayInfo [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 17 package com.android.providers.contacts; 26 import android.provider.ContactsContract.Contacts; 31 import com.android.providers.contacts.testutil.DataUtil; 32 import com.android.providers.contacts.testutil.RawContactUtil; 40 * adb shell am instrument -e class com.android.providers.contacts.GlobalSearchSupportTest -w \ 41 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner 50 // Creating an AUTO_ADD group will exclude all ungrouped contacts from global search 63 // If the contact is not in the "my contacts" group, nothing should be found 163 * Tests that the contacts provider return the appropriate information from the golden 203 Contacts.getLookupUri(contact.getContactId(), contact.getLookupKey() [all...] |
TestUtils.java | 17 package com.android.providers.contacts; 24 import android.provider.ContactsContract.Contacts; 32 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 251 // Then propagate it to contacts too. 252 db.execSQL("UPDATE " + Tables.CONTACTS 253 + " SET " + Contacts.RAW_TIMES_CONTACTED + " = (" 256 + " WHERE " + Tables.CONTACTS + "._id = r." + RawContacts.CONTACT_ID
|
BaseContactsProvider2Test.java | 17 package com.android.providers.contacts; 19 import static com.android.providers.contacts.ContactsActor.PACKAGE_GREY; 20 import static com.android.providers.contacts.TestUtils.cv; 21 import static com.android.providers.contacts.TestUtils.dumpCursor; 51 import android.provider.ContactsContract.Contacts; 62 import com.android.providers.contacts.ContactsDatabaseHelper.AccountsColumns; 63 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 64 import com.android.providers.contacts.testutil.CommonDatabaseUtils; 65 import com.android.providers.contacts.testutil.DataUtil; 66 import com.android.providers.contacts.testutil.RawContactUtil [all...] |
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
TelecomUtils.java | 129 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id); 130 InputStream photoDataStream = ContactsContract.Contacts.openContactPhotoInputStream(
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
DialerDatabaseHelper.java | 33 import android.provider.ContactsContract.Contacts; 38 import com.android.contacts.common.R; 39 import com.android.contacts.common.util.StopWatch; 342 * Removes rows in the smartdial database that matches the contacts that have been deleted by 346 * @param deletedContactCursor Cursor containing rows of deleted contacts 383 * Removes potentially corrupted entries in the database. These contacts may be added before the 412 * Removes rows in the smartdial database that matches updated contacts. 415 * @param updatedContactCursor Cursor pointing to the list of recently updated contacts. 436 * Inserts updated contacts as rows to the smartdial table. 439 * @param updatedContactCursor Cursor pointing to the list of recently updated contacts [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 26 import android.provider.ContactsContract.Contacts; 48 * RecipientAlternatesAdapter backs the RecipientEditTextView for managing contacts 407 uri = Contacts.getLookupUri(contactId, lookupKey) 409 .appendPath(Contacts.Entity.CONTENT_DIRECTORY) 422 uri = Contacts.getLookupUri(contactId, lookupKey) 424 .appendPath(Contacts.Entity.CONTENT_DIRECTORY) 455 * if a cursor contains multiple contacts and they have the same destination, we'd still want
|
/packages/apps/Dialer/java/com/android/incallui/ |
ContactInfoCache.java | 29 import android.provider.ContactsContract.Contacts; 42 import com.android.contacts.common.ContactsUtils; 111 .put(Contacts.DISPLAY_NAME, contactInfo.name) 112 .put(Contacts.DISPLAY_NAME_SOURCE, DisplayNameSources.STRUCTURED_NAME) 113 .put(Contacts.CONTENT_ITEM_TYPE, contactRows) 450 Log.d(TAG, "Contact lookup. Local contacts miss, checking remote"); 517 // Don't overwrite photo in local contacts. 548 // is available on contacts database. 627 cce.lookupUri = Contacts.getLookupUri(info.contactIdOrZero, info.lookupKeyOrNull); [all...] |
CallerInfo.java | 28 import android.provider.ContactsContract.Contacts; 35 import com.android.contacts.common.ContactsUtils; 36 import com.android.contacts.common.ContactsUtils.UserType; 37 import com.android.contacts.common.util.TelephonyManagerUtils; 263 || !Contacts.isEnterpriseContactId(contactId))) { 396 * a live contacts database to test against, preloaded with at least some phone numbers and 398 * test might break whenever the contacts schema changes. But we can at least make sure we 404 // - content://com.android.contacts/data/phones ==> use the "contact_id" column 405 // - content://com.android.contacts/phone_lookup ==> use the "_ID" column 406 // - content://com.android.contacts/data ==> use the "contact_id" colum [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneNumberUtilsTest.java | 25 import android.provider.Contacts; 26 import android.provider.Contacts.People; 136 intent.setData(Contacts.People.CONTENT_URI);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 35 import android.provider.ContactsContract.Contacts; 47 * Class for managing contacts sync related mOperations 94 * Take a list of updated contacts and apply those changes to the 95 * contacts database. Typically this list of contacts would have been 100 * @param rawContacts The list of contacts to update 154 // A sync adapter should batch operations on multiple contacts, 167 * Return a list of the local contacts that have been marked as 175 Log.i(TAG, "*** Looking for local dirty contacts"); 222 * for contacts we've just added to the system, since we can't monkey wit [all...] |
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 5 INSERT INTO _deleted_people VALUES(1249441421793000,'20d08a710c3df43d','android.contacts.test.eclair@gmail.com',NULL); 7 INSERT INTO _sync_state VALUES(1,'android.contacts.test.eclair@gmail.com',''); 41 INSERT INTO groupmembership VALUES(1,2,NULL,'android.contacts.test.eclair@gmail.com',6); 42 INSERT INTO groupmembership VALUES(2,3,NULL,'android.contacts.test.eclair@gmail.com',6); 43 INSERT INTO groupmembership VALUES(3,3,NULL,'android.contacts.test.eclair@gmail.com','20a186238cf27aaa'); 44 INSERT INTO groupmembership VALUES(9,3,NULL,'android.contacts.test.eclair@gmail.com',55555555555); 46 INSERT INTO groupmembership VALUES(11,2,3,'android.contacts.test.eclair@gmail.com','2fcbf74c8be345dc'); 48 INSERT INTO groups VALUES(1,'android.contacts.test.eclair@gmail.com',6,NULL,NULL,NULL,0,1,'System Group: My Contacts','System Group: My Contacts',0,'Contacts') [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
TelecomUtils.java | 80 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id); 81 InputStream photoDataStream = ContactsContract.Contacts.openContactPhotoInputStream( 345 * It will attempt to load a Bitmap from the Contacts store, otherwise it will paint
|
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/ |
TelecomUtils.java | 150 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id); 151 InputStream photoDataStream = ContactsContract.Contacts.openContactPhotoInputStream(
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
AttachPhotoActivity.java | 17 package com.android.contacts.activities; 33 import android.provider.ContactsContract.Contacts; 40 import com.android.contacts.ContactSaveService; 41 import com.android.contacts.ContactsActivity; 42 import com.android.contacts.ContactsUtils; 43 import com.android.contacts.R; 44 import com.android.contacts.editor.ContactEditorUtils; 45 import com.android.contacts.model.AccountTypeManager; 46 import com.android.contacts.model.Contact; 47 import com.android.contacts.model.ContactLoader [all...] |
ContactEditorSpringBoardActivity.java | 1 package com.android.contacts.activities; 16 import com.android.contacts.AppCompatContactsActivity; 17 import com.android.contacts.ContactSaveService; 18 import com.android.contacts.R; 19 import com.android.contacts.editor.ContactEditorFragment; 20 import com.android.contacts.editor.EditorIntents; 21 import com.android.contacts.editor.PickRawContactDialogFragment; 22 import com.android.contacts.editor.PickRawContactLoader; 23 import com.android.contacts.editor.PickRawContactLoader.RawContactsMetadata; 24 import com.android.contacts.editor.SplitContactConfirmationDialogFragment [all...] |
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
EditFdnContactScreen.java | 32 import android.provider.Contacts.PeopleColumns; 33 import android.provider.Contacts.PhonesColumns; 88 * Constants used in importing from contacts
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
AccountType.java | 17 package com.android.contacts.common.model.account; 25 import android.provider.ContactsContract.Contacts; 31 import com.android.contacts.common.R; 32 import com.android.contacts.common.model.dataitem.DataKind; 146 * @return True if contacts can be created and edited using this app. If false, there could still 317 * Phone#TYPE_WORK}. Includes constraints on total number of rows a {@link Contacts} may have of
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
VCardRecord.java | 148 intent.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
HomeGroupsXLarge.java | 180 startActivity(new Intent(Intent.ACTION_INSERT, ContactsContract.Contacts.CONTENT_URI));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsSource.java | 28 import android.provider.ContactsContract.Contacts; 241 * rows a {@link Contacts} may have of this type, and details on how
|