/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 49 import android.provider.ContactsContract.RawContacts; 546 Tables.RAW_CONTACTS + "." + RawContacts.CUSTOM_RINGTONE 548 Tables.RAW_CONTACTS + "." + RawContacts.SEND_TO_VOICEMAIL 550 Tables.RAW_CONTACTS + "." + RawContacts.STARRED 573 " WHERE " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0;"); 596 + " AND " + Tables.RAW_CONTACTS + "." + RawContacts.DELETED + "=0" + [all...] |
AbstractContactsProvider.java | 39 import android.provider.ContactsContract.RawContacts; 424 + " GROUP BY " + RawContacts.CONTACT_ID; 434 + ", " + RawContacts.CONTACT_ID + " AS cid"
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 48 import android.provider.ContactsContract.RawContacts; 400 operations.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI) 401 .withValue(RawContacts.ACCOUNT_NAME, accountName) 402 .withValue(RawContacts.ACCOUNT_TYPE, accountType) 403 .withValue(RawContacts.DATA_SET, dataSet) 425 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri)); 500 // Trim any empty fields, and RawContacts, before persisting 579 final Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, 581 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri); 605 final StringBuilder sb = new StringBuilder(RawContacts._ID + " IN(") [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactEditorSpringBoardActivity.java | 13 import android.provider.ContactsContract.RawContacts; 113 RawContacts.CONTENT_ITEM_TYPE.equals(type)) { 139 if (mShowReadOnly || (mResult.rawContacts.size() > 1 && mHasWritableAccount)) { 195 intent = getIntentForRawContact(mResult.rawContacts.get(mWritableAccountPosition).id); 286 final long[][] result = new long[mResult.rawContacts.size()][1]; 287 for (int i = 0; i < mResult.rawContacts.size(); i++) { 288 result[i][0] = mResult.rawContacts.get(i).id;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
FastScrollingIndexCacheTest.java | 22 import android.provider.ContactsContract.RawContacts; 49 private static final Uri URI_B = RawContacts.CONTENT_URI;
|
BaseContactsProvider2Test.java | 54 import android.provider.ContactsContract.RawContacts; 180 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, account.name); 181 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type); 480 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId), 481 RawContacts.StreamItems.CONTENT_DIRECTORY), account), 539 values.put(RawContacts.ACCOUNT_TYPE, accountType); 540 values.put(RawContacts.ACCOUNT_NAME, accountName); 543 RawContacts.CONTENT_URI, rawContactId), values, null, null); 557 values.put(RawContacts.STARRED, starred); 558 values.put(RawContacts.SEND_TO_VOICEMAIL, sendToVoiceMail) [all...] |
ContactsDatabaseHelperTest.java | 28 import android.provider.ContactsContract.RawContacts; 397 contentValues.put(RawContacts.SORT_KEY_PRIMARY, "sort_key_primary"); 424 contentValues.put(RawContacts.SORT_KEY_ALTERNATIVE, "sort_key_alt");
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 41 import android.provider.ContactsContract.RawContacts; 95 RawContacts.ACCOUNT_TYPE, 96 RawContacts.DATA_SET, 286 int accountTypeColumn = cursor.getColumnIndexOrThrow(RawContacts.ACCOUNT_TYPE); 287 int dataSetColumn = cursor.getColumnIndexOrThrow(RawContacts.DATA_SET);
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
SimContactDaoTests.java | 241 return new StringableCursor(mResolver.query(ContactsContract.RawContacts.CONTENT_URI, 242 null, ContactsContract.RawContacts.ACCOUNT_NAME + "=? AND " + 243 ContactsContract.RawContacts.ACCOUNT_TYPE+ "=?", 252 ContactsContract.RawContacts.ACCOUNT_NAME + "=? AND " + 253 ContactsContract.RawContacts.ACCOUNT_TYPE+ "=?", 262 ContactsContract.RawContacts.ACCOUNT_NAME + "=? AND " + 263 ContactsContract.RawContacts.ACCOUNT_TYPE+ "=? AND " + [all...] |
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 182 // Note: We use RawContacts because this data must be associated with a particular account. 186 ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) 187 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, mSelectedAccount.getType()) 188 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, mSelectedAccount.getName())
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 34 import android.provider.ContactsContract.RawContacts; 65 RawContacts.CONTACT_ID,
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
DefaultContactListAdapter.java | 243 selection.append(ContactsContract.RawContacts.ACCOUNT_TYPE) 247 selection.append(" AND ").append(ContactsContract.RawContacts.ACCOUNT_NAME)
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
NfcImportVCardActivity.java | 34 import android.provider.ContactsContract.RawContacts; 251 Uri contactUri = RawContacts.getContactLookupUri(getContentResolver(), uri);
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 43 import android.provider.ContactsContract.RawContacts; [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
RawContactModifier.java | 43 import android.provider.ContactsContract.RawContacts; 378 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); 379 final String dataSet = values.getAsString(RawContacts.DATA_SET); 397 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); 398 final String dataSet = values.getAsString(RawContacts.DATA_SET); 432 state.getValues().getAsString(RawContacts.ACCOUNT_TYPE)); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 31 import android.provider.ContactsContract.RawContacts; 516 // RawContacts.CONTACT_ID column). But looking up the mime type requires 535 if (VDBG) Rlog.v(TAG, "'data/phones' URI; using RawContacts.CONTACT_ID"); 536 columnName = RawContacts.CONTACT_ID; 541 // (Note Data.CONTACT_ID and RawContacts.CONTACT_ID are equivalent.)
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 42 import android.provider.ContactsContract.RawContacts; 535 entityIterator = RawContacts.newEntityIterator(mContentResolver.query(
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 42 import android.provider.ContactsContract.RawContacts; 67 RawContacts.CONTACT_ID, // 0
|
EventLocationAdapter.java | 30 import android.provider.ContactsContract.RawContacts; 103 RawContacts.CONTACT_ID,
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
SimImportActivityTest.java | 289 ContactsContract.RawContacts.ACCOUNT_NAME + "=? AND " + 290 ContactsContract.RawContacts.ACCOUNT_TYPE+ "=?",
|
/packages/apps/Dialer/java/com/android/incallui/ |
CallerInfo.java | 31 import android.provider.ContactsContract.RawContacts; 412 // RawContacts.CONTACT_ID column). But looking up the mime type requires 430 Log.v(TAG, "'data/phones' URI; using RawContacts.CONTACT_ID"); 431 columnName = RawContacts.CONTACT_ID; 436 // (Note Data.CONTACT_ID and RawContacts.CONTACT_ID are equivalent.)
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
PhoneLoader.java | 132 * if that fails use {@link android.provider.ContactsContract.RawContacts#CONTACT_ID}. 144 ret = cursor.getColumnIndexOrThrow(ContactsContract.RawContacts.CONTACT_ID);
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
AccountType.java | 26 import android.provider.ContactsContract.RawContacts; 59 /** The {@link RawContacts#ACCOUNT_TYPE} these constraints apply to. */ 61 /** The {@link RawContacts#DATA_SET} these constraints apply to. */
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceUtils.java | 47 import android.provider.ContactsContract.RawContacts; 508 final Uri oldContacts = RawContacts.CONTENT_URI.buildUpon() 510 .appendQueryParameter(RawContacts.ACCOUNT_NAME, name) 511 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, oldType) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 55 import android.provider.ContactsContract.RawContacts; 339 final String accountType = entValues.getAsString(RawContacts.ACCOUNT_TYPE); 340 final long rawContactId = entValues.getAsLong(RawContacts._ID); 343 final boolean isRestricted = entValues.getAsInteger(RawContacts.IS_RESTRICTED) != 0;
|