HomeSort by relevance Sort by last modified time
    Searched refs:rawContactId2 (Results 1 - 11 of 11) sorted by null

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 68 long rawContactId2 = createRawContactWithName("aa", "bottom");
71 rawContactId1, rawContactId2);
74 + " AND " + AggregationExceptions.RAW_CONTACT_ID2 + "=" + rawContactId2
75 + ") OR (" + AggregationExceptions.RAW_CONTACT_ID1 + "=" + rawContactId2
84 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
85 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
91 rawContactId1, rawContactId2);
98 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
99 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
105 rawContactId1, rawContactId2);
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 44 long rawContactId2 = createRawContactWithName("johndoe", null);
46 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
51 + rawContactId2 + "-" + normalizedName;
74 long rawContactId2 = createRawContactWithName("johndoe", null);
75 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "4.5.6");
81 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
102 long rawContactId2 = createRawContactWithName("Deer", "Dough");
103 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_TYPE, "bar");
104 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_NAME, "BAR");
105 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "1")
    [all...]
GroupsTest.java 289 final long rawContactId2 = this.createRawContact(sTestAccount);
292 this.insertGroupMembership(rawContactId2, groupId);
295 assertNotAggregated(rawContactId1, rawContactId2);
297 assertRawContactVisible(rawContactId2, false);
303 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
307 assertRawContactVisible(rawContactId2, true);
333 final long rawContactId2 = this.createRawContact(sSecondAccount);
340 assertRawContactVisible(rawContactId2, false);
348 assertRawContactVisible(rawContactId2, false);
354 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
    [all...]
ContactsProvider2Test.java 786 long rawContactId2 = createRawContact(account2);
788 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
795 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2);
808 long rawContactId2 = createRawContact(account2);
810 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
818 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2);
823 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2);
    [all...]
BaseContactsProvider2Test.java 567 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
570 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
649 protected void assertAggregated(long rawContactId1, long rawContactId2) {
651 long contactId2 = queryContactId(rawContactId2);
655 protected void assertAggregated(long rawContactId1, long rawContactId2,
658 long contactId2 = queryContactId(rawContactId2);
665 protected void assertNotAggregated(long rawContactId1, long rawContactId2) {
667 long contactId2 = queryContactId(rawContactId2);
    [all...]
ContactsActor.java 510 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
513 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntitySet.java 217 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
218 if (rawContactId2 != null && rawContactId2 >= 0) {
219 builder.withValue(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactDeltaList.java 274 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
276 if (rawContactId2 != null && rawContactId2 >= 0) {
277 builder.withValue(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java     [all...]

Completed in 313 milliseconds