/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactLoader.java | 21 import android.provider.ContactsContract.RawContacts; 29 * Loads a single Contact and all it constituent RawContacts. 117 cursor = resolver.query(RawContactsEntity.CONTENT_URI, null, RawContacts.CONTACT_ID 121 EntityIterator iterator = RawContacts.newEntityIterator(cursor);
|
GoogleSource.java | 35 import android.provider.ContactsContract.RawContacts; 164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME); 165 final String accountType = stateValues.getAsString(RawContacts.ACCOUNT_TYPE);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ContactsSyncParser.java | 32 import android.provider.ContactsContract.RawContacts; 57 private static final String SERVER_ID_SELECTION = RawContacts.SOURCE_ID + "=?"; 58 private static final String CLIENT_ID_SELECTION = RawContacts.SYNC1 + "=?"; 59 private static final String[] ID_PROJECTION = new String[] {RawContacts._ID}; 83 mAccountUri = uriWithAccountAndIsSyncAdapter(RawContacts.CONTENT_URI, 474 RawContacts.CONTENT_URI, c.getLong(0)); 476 uri, RawContacts.Entity.CONTENT_DIRECTORY); 477 EntityIterator entityIterator = RawContacts.newEntityIterator( 523 cv.put(RawContacts.DIRTY, 0); 530 addCallerIsSyncAdapterParameter(RawContacts.CONTENT_URI), cv [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 49 import android.provider.ContactsContract.RawContacts; 203 + RawContacts.LAST_TIME_CONTACTED + "=? WHERE " 204 + RawContacts._ID + "=?"; 571 Tables.RAW_CONTACTS + "." + RawContacts.TIMES_CONTACTED 573 Tables.RAW_CONTACTS + "." + RawContacts.LAST_TIME_CONTACTED 575 Tables.RAW_CONTACTS + "." + RawContacts.CUSTOM_RINGTONE 577 Tables.RAW_CONTACTS + "." + RawContacts.SEND_TO_VOICEMAIL 579 Tables.RAW_CONTACTS + "." + RawContacts.STARRED [all...] |
SearchIndexManager.java | 28 import android.provider.ContactsContract.RawContacts; 297 sb.append(RawContacts.CONTACT_ID + " IN ("); 326 RawContacts.CONTACT_ID +
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RawContactModifierTests.java | 37 import android.provider.ContactsContract.RawContacts; 175 contact.put(RawContacts._ID, existingId); 177 contact.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); 178 contact.put(RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE); 360 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); 370 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); 381 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); 408 RawContactDeltaListTests.buildDelete(RawContacts.CONTENT_URI)); 491 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); 501 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()) [all...] |
/packages/apps/Exchange/src/com/android/exchange/provider/ |
ExchangeDirectoryProvider.java | 37 import android.provider.ContactsContract.RawContacts; 136 put(RawContacts.ACCOUNT_TYPE, Eas.EXCHANGE_ACCOUNT_MANAGER_TYPE); 137 put(RawContacts.ACCOUNT_NAME, accountName); 138 put(RawContacts.RAW_CONTACT_IS_READ_ONLY, 1); 281 final String accountName = uri.getQueryParameter(RawContacts.ACCOUNT_NAME); 324 final String accountName = uri.getQueryParameter(RawContacts.ACCOUNT_NAME);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 32 import android.provider.ContactsContract.RawContacts; 261 return RawContacts.CONTENT_URI; 269 return getLong(RawContacts.CONTACT_ID);
|
ContactsContract_ContactsTest.java | 132 ContactsContract.RawContacts.DIRTY, 133 ContactsContract.RawContacts.DELETED
|
/packages/apps/Contacts/src/com/android/contacts/ |
SplitAggregateView.java | 28 import android.provider.ContactsContract.RawContacts; 57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID,
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 28 import android.provider.ContactsContract.RawContacts; 211 final String type = entityValues.getAsString(RawContacts.ACCOUNT_TYPE); 212 final String dataSet = entityValues.getAsString(RawContacts.DATA_SET);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NotificationImportExportListener.java | 29 import android.provider.ContactsContract.RawContacts; 121 final Uri contactUri = RawContacts.getContactLookupUri( 123 RawContacts.CONTENT_URI, rawContactId));
|
NfcImportVCardActivity.java | 31 import android.provider.ContactsContract.RawContacts; 226 Uri contactUri = RawContacts.getContactLookupUri(getContentResolver(), uri);
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 29 import android.provider.ContactsContract.RawContacts; 251 RawContacts.ACCOUNT_TYPE, 252 RawContacts.DATA_SET,
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 48 import android.provider.ContactsContract.RawContacts; 177 RawContacts.CONTACT_ID, 357 ExtraInfoQuery.COLUMNS, RawContacts.CONTACT_ID + " = ?", 389 mSelection = RawContacts.CONTACT_ID + "=?"; 390 } else if (RawContacts.CONTENT_ITEM_TYPE.equals(mimeType)) { 394 mSelection = RawContacts.CONTACT_ID + "=?"; 413 contactIdCursor = resolver.query(RawContacts.CONTENT_URI, 414 new String[] { RawContacts.CONTACT_ID }, 415 RawContacts._ID + "=?", new String[] { String.valueOf(rawContactId) }, [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 37 import android.provider.ContactsContract.RawContacts; 79 public List<RawContact> rawContacts; 83 return "ID: " + contactId + " rawContacts: " + rawContacts + " name: " + name 280 RawContacts.ACCOUNT_TYPE, 281 RawContacts.ACCOUNT_NAME, 282 RawContacts.DATA_SET 386 suggestion.rawContacts = Lists.newArrayList(); 398 suggestion.rawContacts.add(rawContact); 434 if (suggestion.rawContacts != null) [all...] |
BaseRawContactEditorView.java | 24 import android.provider.ContactsContract.RawContacts; 92 * Return true if the current {@link RawContacts} supports {@link Photo},
|
/packages/services/Telephony/src/com/android/phone/ |
SimContacts.java | 40 import android.provider.ContactsContract.RawContacts; 155 ContentProviderOperation.newInsert(RawContacts.CONTENT_URI); 158 builder.withValue(RawContacts.ACCOUNT_NAME, account.name); 159 builder.withValue(RawContacts.ACCOUNT_TYPE, account.type);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
FastScrollingIndexCacheTest.java | 23 import android.provider.ContactsContract.RawContacts; 50 private static final Uri URI_B = RawContacts.CONTENT_URI;
|
BaseContactsProvider2Test.java | 51 import android.provider.ContactsContract.RawContacts; 161 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, account.name); 162 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type); 440 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId), 441 RawContacts.StreamItems.CONTENT_DIRECTORY), account), 499 values.put(RawContacts.ACCOUNT_TYPE, accountType); 500 values.put(RawContacts.ACCOUNT_NAME, accountName); 503 RawContacts.CONTENT_URI, rawContactId), values, null, null); 523 return mResolver.query(ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId), 544 long contactId = c.getLong(c.getColumnIndex(RawContacts.CONTACT_ID)) [all...] |
ContactDirectoryManagerTest.java | 34 import android.provider.ContactsContract.RawContacts; 97 uri.getQueryParameter(RawContacts.ACCOUNT_NAME), 98 uri.getQueryParameter(RawContacts.ACCOUNT_TYPE),
|
/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())
|
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 41 import android.provider.ContactsContract.RawContacts; 255 RawContacts.ACCOUNT_TYPE, // 3 256 RawContacts.DATA_SET, // 4
|
/packages/apps/Settings/src/com/android/settings/ |
Utils.java | 56 import android.provider.ContactsContract.RawContacts; 531 new String[] {RawContacts._ID}, 532 RawContacts.ACCOUNT_TYPE + " IS NULL AND " + 533 RawContacts.ACCOUNT_NAME + " IS NULL",
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 36 import android.provider.ContactsContract.RawContacts; 66 RawContacts.CONTACT_ID,
|