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

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 71 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom");
74 rawContactId1, rawContactId2);
77 + " AND " + AggregationExceptions.RAW_CONTACT_ID2 + "=" + rawContactId2
78 + ") OR (" + AggregationExceptions.RAW_CONTACT_ID1 + "=" + rawContactId2
87 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
88 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
94 rawContactId1, rawContactId2);
101 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
102 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
108 rawContactId1, rawContactId2);
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLookupKeyTest.java 45 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null);
47 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
52 + rawContactId2 + "-" + normalizedName;
75 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null);
76 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "4.5.6");
82 AggregationExceptions.TYPE_KEEP_TOGETHER, rawContactId1, rawContactId2);
103 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "Deer", "Dough");
104 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_TYPE, "bar");
105 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.ACCOUNT_NAME, "BAR");
106 storeValue(RawContacts.CONTENT_URI, rawContactId2, RawContacts.SOURCE_ID, "1")
    [all...]
GroupsTest.java 291 final long rawContactId2 = RawContactUtil.createRawContact(this.mResolver, sTestAccount);
294 this.insertGroupMembership(rawContactId2, groupId);
297 assertNotAggregated(rawContactId1, rawContactId2);
299 assertRawContactVisible(rawContactId2, false);
305 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
309 assertRawContactVisible(rawContactId2, true);
335 final long rawContactId2 = RawContactUtil.createRawContact(this.mResolver, sSecondAccount);
342 assertRawContactVisible(rawContactId2, false);
350 assertRawContactVisible(rawContactId2, false);
356 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
    [all...]
ContactsProvider2Test.java     [all...]
BaseContactsProvider2Test.java 519 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
522 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
601 protected void assertAggregated(long rawContactId1, long rawContactId2) {
603 long contactId2 = queryContactId(rawContactId2);
607 protected void assertAggregated(long rawContactId1, long rawContactId2,
610 long contactId2 = queryContactId(rawContactId2);
617 protected void assertNotAggregated(long rawContactId1, long rawContactId2) {
619 long contactId2 = queryContactId(rawContactId2);
    [all...]
ContactsActor.java 648 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
651 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsProvider2_AccountRemovalTest.java 160 private long assertMerged(long start, long rawContactId, long rawContactId2) {
164 "Raw contact " + rawContactId + " and " + rawContactId2 + " are not merged.");
167 contactId = checkMerged(rawContactId, rawContactId2);
172 private long checkMerged(long rawContactId, long rawContactId2) {
174 long contactId2 = RawContactUtil.queryContactIdByRawContactId(mResolver, rawContactId2);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactUtil.java 124 * @param rawContactId2 Id of the second raw contact
127 long rawContactId1, long rawContactId2) {
130 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/ContactsCommon/src/com/android/contacts/common/model/
RawContactDeltaList.java 268 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
270 if (rawContactId2 != null && rawContactId2 >= 0) {
271 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 835 milliseconds