HomeSort by relevance Sort by last modified time
    Searched refs:RawContacts (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 25 import android.provider.ContactsContract.RawContacts;
72 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.SOURCE_ID, "123");
75 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "4.5.6");
78 storeValue(RawContacts.CONTENT_URI, rawContactId3, RawContacts.SOURCE_ID, "http://foo?bar");
98 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.ACCOUNT_TYPE, "foo");
99 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.ACCOUNT_NAME, "FOO")
    [all...]
CallerInfoIntegrationTest.java 24 import android.provider.ContactsContract.RawContacts;
41 values.put(RawContacts.CUSTOM_RINGTONE, "ring");
42 values.put(RawContacts.SEND_TO_VOICEMAIL, 1);
44 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values);
ContactsProvider2Test.java 67 import android.provider.ContactsContract.RawContacts;
253 assertProjection(RawContacts.CONTENT_URI, new String[]{
254 RawContacts._ID,
255 RawContacts.CONTACT_ID,
256 RawContacts.ACCOUNT_NAME,
257 RawContacts.ACCOUNT_TYPE,
258 RawContacts.DATA_SET,
259 RawContacts.ACCOUNT_TYPE_AND_DATA_SET,
260 RawContacts.SOURCE_ID,
261 RawContacts.VERSION
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_RawContactsTest.java 25 import android.provider.ContactsContract.RawContacts;
51 .with(RawContacts.ACCOUNT_TYPE, "test_type")
52 .with(RawContacts.ACCOUNT_NAME, "test_name")
53 .with(RawContacts.SOURCE_ID, "source_id")
62 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
72 .with(RawContacts.ACCOUNT_TYPE, "test_type")
73 .with(RawContacts.ACCOUNT_NAME, "test_name")
79 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
ContactsContract_StreamItemsTest.java 28 import android.provider.ContactsContract.RawContacts;
63 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId).buildUpon()
64 .appendPath(RawContacts.StreamItems.CONTENT_DIRECTORY)
74 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE);
75 values.put(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME);
87 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE);
88 values.put(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME);
90 Uri contactUri = resolver.insert(RawContacts.CONTENT_URI, values);
99 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE);
100 values.put(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME)
    [all...]
ContactsContract_DataTest.java 26 import android.provider.ContactsContract.RawContacts;
53 .with(RawContacts.ACCOUNT_TYPE, "test_type")
54 .with(RawContacts.ACCOUNT_NAME, "test_name")
55 .with(RawContacts.SOURCE_ID, "source_id")
74 .with(RawContacts.ACCOUNT_TYPE, "test_type")
75 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_GroupMembershipTest.java 25 import android.provider.ContactsContract.RawContacts;
64 .with(RawContacts.ACCOUNT_TYPE, "test_type")
65 .with(RawContacts.ACCOUNT_NAME, "test_name")
84 .with(RawContacts.ACCOUNT_TYPE, "test_type")
85 .with(RawContacts.ACCOUNT_NAME, "test_name")
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactLoaderUtils.java 24 import android.provider.ContactsContract.RawContacts;
57 if (RawContacts.CONTENT_ITEM_TYPE.equals(type)) {
59 return RawContacts.getContactLookupUri(resolver,
60 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));
72 return RawContacts.getContactLookupUri(resolver,
73 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
TestSyncAdapter.java 27 import android.provider.ContactsContract.RawContacts;
56 values.put(RawContacts.ACCOUNT_NAME, account.name);
57 values.put(RawContacts.ACCOUNT_TYPE, account.type);
58 final int count = cr.update(RawContacts.CONTENT_URI, values,
59 RawContacts.ACCOUNT_NAME + " IS NULL AND " + RawContacts.ACCOUNT_TYPE + " IS NULL",
  /cts/tests/tests/permission2/src/android/permission2/cts/
WriteSocialStreamPermissionTest.java 23 import android.provider.ContactsContract.RawContacts;
41 ContentUris.withAppendedId(RawContacts.CONTENT_URI, 1337),
42 RawContacts.StreamItems.CONTENT_DIRECTORY), values);
ReadSocialStreamPermissionTest.java 23 import android.provider.ContactsContract.RawContacts;
40 ContentUris.withAppendedId(RawContacts.CONTENT_URI, 1337),
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ExportTestResolver.java 18 import android.provider.ContactsContract.RawContacts;
27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider);
ImportTestResolver.java 21 import android.provider.ContactsContract.RawContacts;
37 equalsString(authority, RawContacts.CONTENT_URI.toString());
  /packages/apps/Contacts/src/com/android/contacts/model/
AccountTypeWithDataSet.java 26 import android.provider.ContactsContract.RawContacts;
36 private static final Uri RAW_CONTACTS_URI_LIMIT_1 = RawContacts.CONTENT_URI.buildUpon()
59 final String BASE_SELECTION = RawContacts.ACCOUNT_TYPE + " = ?";
63 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL";
66 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?";
AccountWithDataSet.java 30 import android.provider.ContactsContract.RawContacts;
53 private static final Uri RAW_CONTACTS_URI_LIMIT_1 = RawContacts.CONTENT_URI.buildUpon()
96 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?";
100 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL";
103 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?";
  /packages/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 30 import android.provider.ContactsContract.RawContacts;
54 RawContacts._ID, // 0
55 RawContacts.CONTACT_ID, // 1
56 RawContacts.DISPLAY_NAME_PRIMARY // 2
64 RawContacts._ID, // 0
65 RawContacts.CONTACT_ID, // 1
186 String accountClause = RawContacts.ACCOUNT_NAME + "=? AND " +
187 RawContacts.ACCOUNT_TYPE + "=?";
190 accountClause += " AND " + RawContacts.DATA_SET + " IS NULL";
193 accountClause += " AND " + RawContacts.DATA_SET + "=?"
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 44 import android.provider.ContactsContract.RawContacts;
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
ContactsSyncAdapterService.java 37 import android.provider.ContactsContract.RawContacts;
109 Uri uri = RawContacts.CONTENT_URI.buildUpon()
110 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account.name)
111 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, Eas.EXCHANGE_ACCOUNT_MANAGER_TYPE)
114 boolean changed = hasDirtyRows(cr, uri, RawContacts.DIRTY);
117 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account.name)
118 .appendQueryParameter(RawContacts.ACCOUNT_TYPE,
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
StreamItemPopulatorActivity.java 32 import android.provider.ContactsContract.RawContacts;
171 Cursor c = getContentResolver().query(RawContacts.CONTENT_URI,
173 RawContacts._ID,
174 RawContacts.ACCOUNT_TYPE,
175 RawContacts.ACCOUNT_NAME
177 RawContacts.CONTACT_ID + "=? AND " + RawContacts.ACCOUNT_TYPE + "=?",
223 ContentUris.withAppendedId(ContactsContract.RawContacts.CONTENT_URI,
225 ContactsContract.RawContacts.StreamItems.CONTENT_DIRECTORY))
281 values.put(RawContacts.ACCOUNT_TYPE, accountType)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 70 import android.provider.ContactsContract.RawContacts;
301 + SettingsColumns.CONCRETE_ACCOUNT_TYPE + "," + RawContacts.CONTACT_ID;
317 final String OUTER_RAW_CONTACTS_ID = OUTER_RAW_CONTACTS + "." + RawContacts._ID;
332 " WHERE " + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID +
333 " GROUP BY " + RawContacts.CONTACT_ID;
371 Tables.RAW_CONTACTS + "." + RawContacts.SOURCE_ID;
373 Tables.RAW_CONTACTS + "." + RawContacts.VERSION;
375 Tables.RAW_CONTACTS + "." + RawContacts.DIRTY;
377 Tables.RAW_CONTACTS + "." + RawContacts.DELETED;
379 Tables.RAW_CONTACTS + "." + RawContacts.SYNC1
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java 62 import android.provider.ContactsContract.RawContacts;
110 " WHERE " + RawContacts.CONTACT_ID + "=?" +
298 "SELECT COUNT(" + RawContacts._ID + ")" +
300 " WHERE " + RawContacts.CONTACT_ID + "=?"
301 + " AND " + RawContacts._ID + "<>?");
314 " WHERE " + RawContacts._ID + "=?"
333 + Contacts.STARRED + "=(SELECT (CASE WHEN COUNT(" + RawContacts.STARRED
335 + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID + " AND "
336 + RawContacts.STARRED + "=1)" + " WHERE " + Contacts._ID + "=?");
340 " SET " + RawContacts.CONTACT_ID + "=?,
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntityDelta.java 33 import android.provider.ContactsContract.RawContacts;
49 * empty {@link Entity}, which then becomes an insert {@link RawContacts} case.
87 entity.mValues.setIdColumn(RawContacts._ID);
110 .getAsLong(RawContacts.VERSION);
111 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION);
353 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION);
357 .newAssertQuery(RawContacts.CONTENT_URI);
358 builder.withSelection(RawContacts._ID + "=" + beforeId, null);
359 builder.withValue(RawContacts.VERSION, beforeVersion);
384 mValues.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactLoaderTest.java 34 import android.provider.ContactsContract.RawContacts;
135 final Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
165 final Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
173 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE);
302 RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_TYPE,
303 RawContacts.DATA_SET, RawContacts.ACCOUNT_TYPE_AND_DATA_SET,
304 RawContacts.DIRTY, RawContacts.VERSION, RawContacts.SOURCE_ID
    [all...]
EntityDeltaTests.java 34 import android.provider.ContactsContract.RawContacts;
70 contact.put(RawContacts.VERSION, 43);
71 contact.put(RawContacts._ID, contactId);
241 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
251 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
260 source.getValues().put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DISABLED);
281 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
286 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
296 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri())
    [all...]
EntityDeltaListTests.java 39 import android.provider.ContactsContract.RawContacts;
106 after.put(RawContacts.ACCOUNT_NAME, EntityDeltaTests.TEST_ACCOUNT_NAME);
107 after.put(RawContacts.SEND_TO_VOICEMAIL, 1);
125 contact.put(RawContacts.VERSION, version);
126 contact.put(RawContacts._ID, rawContactId);
137 contact.put(RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT);
231 values.put(RawContacts.VERSION, version);
232 return buildOper(RawContacts.CONTENT_URI, TYPE_ASSERT, values);
237 values.put(RawContacts.AGGREGATION_MODE, mode);
238 return buildOper(RawContacts.CONTENT_URI, TYPE_UPDATE, values)
    [all...]

Completed in 271 milliseconds

1 2 3 4