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

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 67 long rawContactId1 = createRawContactWithName("zz", "top");
71 rawContactId1, rawContactId2);
73 String selection = "(" + AggregationExceptions.RAW_CONTACT_ID1 + "=" + rawContactId1
76 + " AND " + AggregationExceptions.RAW_CONTACT_ID2 + "=" + rawContactId1 + ")";
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 43 long rawContactId1 = createRawContactWithName("John", "Doe");
46 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
50 String expectedLookupKey = "0r" + rawContactId1 + "-" + normalizedName + ".0r"
53 long contactId = queryContactId(rawContactId1);
71 long rawContactId1 = createRawContactWithName("John", "Doe");
72 storeValue(RawContacts.CONTENT_URI, rawContactId1, RawContacts.SOURCE_ID, "123");
81 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
83 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId3);
88 long contactId = queryContactId(rawContactId1);
97 long rawContactId1 = createRawContactWithName("Dear", "Doe")
    [all...]
GroupsTest.java 288 final long rawContactId1 = this.createRawContact();
295 assertNotAggregated(rawContactId1, rawContactId2);
296 assertRawContactVisible(rawContactId1, true);
302 values.put(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1);
306 assertRawContactVisible(rawContactId1, true);
332 final long rawContactId1 = this.createRawContact(sTestAccount);
336 this.insertGroupMembership(rawContactId1, groupId);
339 assertRawContactVisible(rawContactId1, false);
347 assertRawContactVisible(rawContactId1, true);
353 values.put(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1);
    [all...]
ContactsProvider2Test.java 781 long rawContactId1 = createRawContactWithName(account1);
782 insertImHandle(rawContactId1, Im.PROTOCOL_GOOGLE_TALK, null, "gtalk");
788 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
790 long contactId = queryContactId(rawContactId1);
795 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2);
803 long rawContactId1 = createRawContactWithName(account1);
804 insertImHandle(rawContactId1, Im.PROTOCOL_GOOGLE_TALK, null, "gtalk");
810 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
812 long contactId = queryContactId(rawContactId1);
818 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2)
    [all...]
BaseContactsProvider2Test.java 567 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
569 values.put(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1);
649 protected void assertAggregated(long rawContactId1, long rawContactId2) {
650 long contactId1 = queryContactId(rawContactId1);
655 protected void assertAggregated(long rawContactId1, long rawContactId2,
657 long contactId1 = queryContactId(rawContactId1);
665 protected void assertNotAggregated(long rawContactId1, long rawContactId2) {
666 long contactId1 = queryContactId(rawContactId1);
    [all...]
ContactsActor.java 510 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
512 values.put(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntitySet.java 210 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
211 if (rawContactId1 != null && rawContactId1 >= 0) {
212 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1);
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactDeltaList.java 264 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
266 if (rawContactId1 != null && rawContactId1 >= 0) {
267 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java     [all...]

Completed in 256 milliseconds