HomeSort by relevance Sort by last modified time
    Searched refs:RawContacts (Results 1 - 25 of 82) 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);
LegacyContactImporterTest.java 30 import android.provider.ContactsContract.RawContacts;
182 assertQueryResults(folder + "/expected_raw_contacts.txt", RawContacts.CONTENT_URI,
184 RawContacts._ID,
185 RawContacts.ACCOUNT_NAME,
186 RawContacts.ACCOUNT_TYPE,
187 RawContacts.DELETED,
188 RawContacts.DIRTY,
189 RawContacts.SOURCE_ID,
190 RawContacts.VERSION,
191 RawContacts.SYNC1
    [all...]
ContactAggregatorTest.java 37 import android.provider.ContactsContract.RawContacts;
    [all...]
ContactsProvider2Test.java 61 import android.provider.ContactsContract.RawContacts;
171 assertProjection(RawContacts.CONTENT_URI, new String[]{
172 RawContacts._ID,
173 RawContacts.CONTACT_ID,
174 RawContacts.ACCOUNT_NAME,
175 RawContacts.ACCOUNT_TYPE,
176 RawContacts.DATA_SET,
177 RawContacts.ACCOUNT_TYPE_AND_DATA_SET,
178 RawContacts.SOURCE_ID,
179 RawContacts.VERSION
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_RawContactsTest.java 27 import android.provider.ContactsContract.RawContacts;
33 @TestTargetClass(ContactsContract.RawContacts.class)
54 notes = "Test RawContacts#getContactLookupUri(ContentResolver resolver, Uri " +
56 method = "RawContacts#getContactLookupUri",
61 .with(RawContacts.ACCOUNT_TYPE, "test_type")
62 .with(RawContacts.ACCOUNT_NAME, "test_name")
63 .with(RawContacts.SOURCE_ID, "source_id")
72 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri());
82 notes = "Test RawContacts#getContactLookupUri(ContentResolver resolver, Uri " +
84 method = "RawContacts#getContactLookupUri"
    [all...]
ContactsContract_DataTest.java 28 import android.provider.ContactsContract.RawContacts;
63 .with(RawContacts.ACCOUNT_TYPE, "test_type")
64 .with(RawContacts.ACCOUNT_NAME, "test_name")
65 .with(RawContacts.SOURCE_ID, "source_id")
91 .with(RawContacts.ACCOUNT_TYPE, "test_type")
92 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_GroupMembershipTest.java 28 import android.provider.ContactsContract.RawContacts;
80 .with(RawContacts.ACCOUNT_TYPE, "test_type")
81 .with(RawContacts.ACCOUNT_NAME, "test_name")
106 .with(RawContacts.ACCOUNT_TYPE, "test_type")
107 .with(RawContacts.ACCOUNT_NAME, "test_name")
  /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/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 67 import android.provider.ContactsContract.RawContacts;
253 + SettingsColumns.CONCRETE_ACCOUNT_TYPE + "," + RawContacts.CONTACT_ID;
262 final String OUTER_RAW_CONTACTS_ID = OUTER_RAW_CONTACTS + "." + RawContacts._ID;
277 " WHERE " + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID +
278 " GROUP BY " + RawContacts.CONTACT_ID;
318 Tables.RAW_CONTACTS + "." + RawContacts.ACCOUNT_NAME;
320 Tables.RAW_CONTACTS + "." + RawContacts.ACCOUNT_TYPE;
322 Tables.RAW_CONTACTS + "." + RawContacts.DATA_SET;
324 Tables.RAW_CONTACTS + "." + RawContacts.ACCOUNT_TYPE_AND_DATA_SET;
326 Tables.RAW_CONTACTS + "." + RawContacts.SOURCE_ID
    [all...]
ContactAggregator.java 51 import android.provider.ContactsContract.RawContacts;
98 " WHERE " + RawContacts.CONTACT_ID + "=?" +
288 "SELECT COUNT(" + RawContacts._ID + ")" +
290 " WHERE " + RawContacts.CONTACT_ID + "=?"
291 + " AND " + RawContacts._ID + "<>?");
304 " WHERE " + RawContacts._ID + "=?"
329 + " AND " + RawContacts.CONTACT_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 + "=?")
    [all...]
DataRowHandlerForGroupMembership.java 32 import android.provider.ContactsContract.RawContacts;
47 RawContacts.DELETED,
48 RawContacts.ACCOUNT_TYPE,
49 RawContacts.ACCOUNT_NAME,
50 RawContacts.DATA_SET,
59 private static final String SELECTION_RAW_CONTACT_ID = RawContacts._ID + "=?";
109 rawContactValues.put(RawContacts.STARRED, starred ? 1 : 0);
195 RawContacts._ID + "=?", mSelectionArgs1, null, null, null);
244 c = db.query(Tables.GROUPS, new String[]{RawContacts._ID},
252 c = db.query(Tables.GROUPS, new String[]{RawContacts._ID}
    [all...]
ContactsProvider2.java 136 import android.provider.ContactsContract.RawContacts;
255 "UPDATE " + Tables.RAW_CONTACTS + " SET " + RawContacts.TIMES_CONTACTED + "=" +
256 " CASE WHEN " + RawContacts.TIMES_CONTACTED + " IS NULL THEN 1 ELSE " +
257 " (" + RawContacts.TIMES_CONTACTED + " + 1) END WHERE " + RawContacts.CONTACT_ID + "=?";
438 "SELECT " + RawContacts.STARRED
439 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?";
467 RawContacts.DELETED,
468 RawContacts.ACCOUNT_TYPE,
469 RawContacts.ACCOUNT_NAME
    [all...]