HomeSort by relevance Sort by last modified time
    Searched refs:RawContacts (Results 51 - 75 of 150) sorted by null

1 23 4 5 6

  /packages/apps/Dialer/java/com/android/contacts/common/model/account/
AccountWithDataSet.java 27 import android.provider.ContactsContract.RawContacts;
56 RawContacts.CONTENT_URI
178 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?";
182 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL";
185 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?";
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntitySet.java 32 import android.provider.ContactsContract.RawContacts;
65 EntityIterator iterator = RawContacts.newEntityIterator(resolver.query(
176 * {@link RawContacts} together.
210 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
217 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
228 * existing {@link RawContacts#_ID} value. Usually used when creating
233 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID);
242 * Find {@link RawContacts#_ID} of the requested {@link EntityDelta}.
249 return values.getAsLong(RawContacts._ID);
261 * 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...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_PhoneLookup.java 30 import android.provider.ContactsContract.RawContacts;
75 .with(RawContacts.ACCOUNT_TYPE, "test_account")
76 .with(RawContacts.ACCOUNT_NAME, "test_name")
89 .with(RawContacts.ACCOUNT_TYPE, "test_account")
90 .with(RawContacts.ACCOUNT_NAME, "test_name")
104 .with(RawContacts.ACCOUNT_TYPE, "test_account")
105 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_StatusUpdatesTest.java 28 import android.provider.ContactsContract.RawContacts;
49 ops.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI)
50 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE)
51 .withValue(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME)
ContactsContract_FrequentsStrequentsTest.java 32 import android.provider.ContactsContract.RawContacts;
432 .with(RawContacts.ACCOUNT_TYPE, "test_account")
433 .with(RawContacts.ACCOUNT_NAME, "test_name")
446 .with(RawContacts.ACCOUNT_TYPE, "test_account")
447 .with(RawContacts.ACCOUNT_NAME, "test_name")
460 .with(RawContacts.ACCOUNT_TYPE, "test_account")
461 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_SearchSnippetsTest.java 32 import android.provider.ContactsContract.RawContacts;
330 .with(RawContacts.ACCOUNT_TYPE, "test_account")
331 .with(RawContacts.ACCOUNT_NAME, "test_name")
344 .with(RawContacts.ACCOUNT_TYPE, "test_account")
345 .with(RawContacts.ACCOUNT_NAME, "test_name")
363 .with(RawContacts.ACCOUNT_TYPE, "test_account")
364 .with(RawContacts.ACCOUNT_NAME, "test_name")
  /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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
TestUtils.java 26 import android.provider.ContactsContract.RawContacts;
227 return insertRawContact(RawContacts.CONTENT_URI, resolver, dbh, values);
240 Long timesContacted = values.getAsLong(RawContacts.LR_TIMES_CONTACTED);
248 cv(RawContacts.RAW_TIMES_CONTACTED, (long) timesContacted),
254 + " SELECT sum(" + RawContacts.RAW_TIMES_CONTACTED + ") FROM "
256 + " WHERE " + Tables.CONTACTS + "._id = r." + RawContacts.CONTACT_ID
257 + " GROUP BY r." + RawContacts.CONTACT_ID + ")");
ContactsActor.java 58 import android.provider.ContactsContract.RawContacts;
581 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values);
601 Uri insertUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI,
602 contactId), RawContacts.Data.CONTENT_DIRECTORY);
617 Uri insertUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI,
618 contactId), RawContacts.Data.CONTENT_DIRECTORY);
632 Uri insertUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI,
633 contactId), RawContacts.Data.CONTENT_DIRECTORY);
653 Uri contactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
678 Uri contactUri = Uri.withAppendedPath(ContentUris.withAppendedId(RawContacts.CONTENT_URI
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregator2Test.java 35 import android.provider.ContactsContract.RawContacts;
    [all...]
ContactAggregatorTest.java 35 import android.provider.ContactsContract.RawContacts;
    [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));
ExportTestProvider.java 26 import android.provider.ContactsContract.RawContacts;
103 TestCase.assertTrue(RawContacts.CONTENT_URI.getAuthority().equals(authority));
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 158 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
159 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
160 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null);
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 158 ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
159 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
160 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null);
  /developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.kt 108 operations.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
109 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
110 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null)
  /developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.kt 108 operations.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
109 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null)
110 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null)
  /packages/apps/Contacts/src/com/android/contacts/model/
ContactLoader.java 37 import android.provider.ContactsContract.RawContacts;
78 * Loads a single Contact and all it constituent RawContacts.
139 RawContacts.ACCOUNT_NAME,
140 RawContacts.ACCOUNT_TYPE,
141 RawContacts.DATA_SET,
142 RawContacts.DIRTY,
143 RawContacts.VERSION,
144 RawContacts.SOURCE_ID,
145 RawContacts.SYNC1,
146 RawContacts.SYNC2
    [all...]
RawContactDeltaList.java 30 import android.provider.ContactsContract.RawContacts;
63 final EntityIterator iterator = RawContacts.newEntityIterator(
236 * {@link RawContacts} together.
269 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
279 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
293 * existing {@link RawContacts#_ID} value. Usually used when creating
298 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID);
307 * Find {@link RawContacts#_ID} of the requested {@link RawContactDelta}.
314 return values.getAsLong(RawContacts._ID);
329 * Find index of given {@link RawContacts#_ID} when present
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/model/
ContactLoader.java 37 import android.provider.ContactsContract.RawContacts;
70 /** Loads a single Contact and all it constituent RawContacts. */
154 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null);
157 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE);
472 cv.put(RawContacts._ID, cursor.getLong(ContactQuery.RAW_CONTACT_ID));
662 final ImmutableList<RawContact> rawContacts = contactData.getRawContacts();
663 final int rawContactCount = rawContacts.size();
665 final RawContact rawContact = rawContacts.get(rawContactIndex);
729 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
733 intent.setDataAndType(uri, RawContacts.CONTENT_ITEM_TYPE)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ShowOrCreateActivity.java 32 import android.provider.ContactsContract.RawContacts;
197 Intent createIntent = new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI);
199 createIntent.setType(RawContacts.CONTENT_TYPE);
217 createIntent.setType(RawContacts.CONTENT_ITEM_TYPE);
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
Cp2DeviceLocalAccountLocatorTests.java 25 import android.provider.ContactsContract.RawContacts;
176 { RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET });
  /packages/apps/Dialer/java/com/android/contacts/common/list/
ContactListFilter.java 24 import android.provider.ContactsContract.RawContacts;
277 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName);
278 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType);
280 uriBuilder.appendQueryParameter(RawContacts.DATA_SET, dataSet);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 41 import android.provider.ContactsContract.RawContacts;
341 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI,
380 startActivity(new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI));
442 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI,
557 final Cursor cursor = getContentResolver().query(RawContacts.CONTENT_URI,
558 new String[] { RawContacts._ID },
559 RawContacts.CONTACT_ID + "=?",
561 RawContacts._ID + " LIMIT 1");

Completed in 675 milliseconds

1 23 4 5 6