HomeSort by relevance Sort by last modified time
    Searched full:rawcontacts (Results 51 - 75 of 142) sorted by null

1 23 4 5 6

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactDeltaList.java 30 import android.provider.ContactsContract.RawContacts;
62 final EntityIterator iterator = RawContacts.newEntityIterator(
224 * {@link RawContacts} together.
258 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
268 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
283 * existing {@link RawContacts#_ID} value. Usually used when creating
288 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID);
297 * Find {@link RawContacts#_ID} of the requested {@link RawContactDelta}.
304 return values.getAsLong(RawContacts._ID);
319 * Find index of given {@link RawContacts#_ID} when present
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 32 import android.provider.ContactsContract.RawContacts;
277 contactIdCursor = cr.query(RawContacts.CONTENT_URI,
278 new String[] {RawContacts.CONTACT_ID},
279 RawContacts._ID + "=" + rawContactId, null, null);
319 rawContactIdCursor = cr.query(RawContacts.CONTENT_URI,
320 new String[] {RawContacts._ID},
321 RawContacts.CONTACT_ID + "=" + contactId, null, null);
338 rawContactIdCursor = cr.query(RawContacts.CONTENT_URI,
339 new String[] {RawContacts._ID},
340 RawContacts.CONTACT_ID + "=" + contactId, null, null)
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ImportTestProvider.java 23 import android.provider.ContactsContract.RawContacts;
68 Uri uri = Uri.withAppendedPath(RawContacts.CONTENT_URI, String.valueOf(i));
82 if (uri.equals(RawContacts.CONTENT_URI)) {
83 TestCase.assertNull(actualContentValues.get(RawContacts.ACCOUNT_NAME));
84 TestCase.assertNull(actualContentValues.get(RawContacts.ACCOUNT_TYPE));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 100 import android.provider.ContactsContract.RawContacts;
213 "UPDATE " + Tables.RAW_CONTACTS + " SET " + RawContacts.TIMES_CONTACTED + "=" +
214 " ifnull(" + RawContacts.TIMES_CONTACTED + ",0)+1 " +
215 " WHERE " + RawContacts.CONTACT_ID + "=?";
473 "SELECT " + RawContacts.STARRED
474 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?";
505 RawContacts.DELETED,
524 + "(SELECT " + RawContacts.CONTACT_ID
538 " SET " + RawContacts.DIRTY + "=1" +
539 " WHERE " + RawContacts._ID + " IN ("
    [all...]
DataRowHandlerForGroupMembership.java 25 import android.provider.ContactsContract.RawContacts;
47 RawContacts.DELETED,
55 private static final String SELECTION_RAW_CONTACT_ID = RawContacts._ID + "=?";
105 rawContactValues.put(RawContacts.STARRED, starred ? 1 : 0);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 60 import android.provider.ContactsContract.RawContacts;
530 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values);
550 Uri insertUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI,
551 contactId), RawContacts.Data.CONTENT_DIRECTORY);
566 Uri insertUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI,
567 contactId), RawContacts.Data.CONTENT_DIRECTORY);
581 Uri insertUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI,
582 contactId), RawContacts.Data.CONTENT_DIRECTORY);
602 Uri contactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
627 Uri contactUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI
    [all...]
BaseContactsProvider2Test.java 51 import android.provider.ContactsContract.RawContacts;
168 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, account.name);
169 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type);
468 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId),
469 RawContacts.StreamItems.CONTENT_DIRECTORY), account),
527 values.put(RawContacts.ACCOUNT_TYPE, accountType);
528 values.put(RawContacts.ACCOUNT_NAME, accountName);
531 RawContacts.CONTENT_URI, rawContactId), values, null, null);
545 values.put(RawContacts.STARRED, starred);
546 values.put(RawContacts.SEND_TO_VOICEMAIL, sendToVoiceMail)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 42 import android.provider.ContactsContract.RawContacts;
323 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
357 startActivity(new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI));
398 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
582 final Cursor cursor = getContentResolver().query(RawContacts.CONTENT_URI,
583 new String[] { RawContacts._ID },
584 RawContacts.CONTACT_ID + "=?",
586 RawContacts._ID + " LIMIT 1");
  /frameworks/base/core/java/android/content/
Entity.java 26 * is in Contacts, where the top level ContentValue contains the columns from the RawContacts
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 32 import android.provider.ContactsContract.RawContacts;
198 Intent createIntent = new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI);
200 createIntent.setType(RawContacts.CONTENT_TYPE);
218 createIntent.setType(RawContacts.CONTENT_ITEM_TYPE);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListFilter.java 24 import android.provider.ContactsContract.RawContacts;
266 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName);
267 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType);
269 uriBuilder.appendQueryParameter(RawContacts.DATA_SET, dataSet);
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 165 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
166 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
167 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null);
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 165 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
166 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
167 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null);
  /development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
ContactsFragment.java 165 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
166 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
167 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null);
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ContactsSyncParser.java 32 import android.provider.ContactsContract.RawContacts;
59 private static final String SERVER_ID_SELECTION = RawContacts.SOURCE_ID + "=?";
60 private static final String CLIENT_ID_SELECTION = RawContacts.SYNC1 + "=?";
61 private static final String[] ID_PROJECTION = new String[] {RawContacts._ID};
85 mAccountUri = uriWithAccountAndIsSyncAdapter(RawContacts.CONTENT_URI,
479 RawContacts.CONTENT_URI, c.getLong(0));
481 uri, RawContacts.Entity.CONTENT_DIRECTORY);
486 RawContacts.newEntityIterator(cursor);
532 cv.put(RawContacts.DIRTY, 0);
539 addCallerIsSyncAdapterParameter(RawContacts.CONTENT_URI), cv
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
MapTestData.java 204 item.put(ContactsContract.RawContacts.ACCOUNT_TYPE, "test_account");
205 item.put(ContactsContract.RawContacts.ACCOUNT_NAME, "MAP account");
206 Uri uri = resolver.insert(ContactsContract.RawContacts.CONTENT_URI, item);
242 resolver.delete(ContactsContract.RawContacts.CONTENT_URI,
243 ContactsContract.RawContacts.ACCOUNT_TYPE + "=\"test_account\"", null);
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 47 import android.provider.ContactsContract.RawContacts;
271 operations.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI)
272 .withValue(RawContacts.ACCOUNT_NAME, accountName)
273 .withValue(RawContacts.ACCOUNT_TYPE, accountType)
274 .withValue(RawContacts.DATA_SET, dataSet)
296 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri));
368 // Trim any empty fields, and RawContacts, before persisting
430 final Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI,
432 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri);
456 final StringBuilder sb = new StringBuilder(RawContacts._ID + " IN(")
    [all...]
SplitAggregateView.java 28 import android.provider.ContactsContract.RawContacts;
57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID,
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
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...]
  /platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DialerJankTests.java 35 import android.provider.ContactsContract.RawContacts;
170 // to insert a new raw contact in the table ContactsContract.RawContacts
171 ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
172 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, "Test")
173 .withValue(RawContacts.ACCOUNT_NAME, CONTACT_NAME)
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_FrequentsStrequentsTest.java 34 import android.provider.ContactsContract.RawContacts;
437 .with(RawContacts.ACCOUNT_TYPE, "test_account")
438 .with(RawContacts.ACCOUNT_NAME, "test_name")
451 .with(RawContacts.ACCOUNT_TYPE, "test_account")
452 .with(RawContacts.ACCOUNT_NAME, "test_name")
465 .with(RawContacts.ACCOUNT_TYPE, "test_account")
466 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_TestDataBuilder.java 32 import android.provider.ContactsContract.RawContacts;
261 return RawContacts.CONTENT_URI;
269 return getLong(RawContacts.CONTACT_ID);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactOperations.java 33 import android.provider.ContactsContract.RawContacts;
105 mValues.put(RawContacts.SOURCE_ID, userId);
106 mValues.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE);
107 mValues.put(RawContacts.ACCOUNT_NAME, accountName);
109 newInsertCpo(RawContacts.CONTENT_URI, mIsSyncOperation, true).withValues(mValues);
245 mValues.put(RawContacts.SOURCE_ID, serverId);
309 mValues.put(RawContacts.DIRTY, isDirtyValue);
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSyncContacts.java 266 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, emailAddress)
267 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE,
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
ContactsTest.java 36 import android.provider.ContactsContract.RawContacts;
400 .newInsert(ContactsContract.RawContacts.CONTENT_URI)
401 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE)
402 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME)
558 ops.add(ContentProviderOperation.newDelete(RawContacts.CONTENT_URI)
559 .withSelection(RawContacts.ACCOUNT_TYPE + "=?", new String[] {TEST_ACCOUNT_TYPE})

Completed in 340 milliseconds

1 23 4 5 6