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

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregator2Test.java 80 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom");
83 rawContactId1, rawContactId2);
86 + " AND " + AggregationExceptions.RAW_CONTACT_ID2 + "=" + rawContactId2
87 + ") OR (" + AggregationExceptions.RAW_CONTACT_ID1 + "=" + rawContactId2
96 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
97 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
103 rawContactId1, rawContactId2);
110 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
111 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
117 rawContactId1, rawContactId2);
    [all...]
ContactAggregatorTest.java 80 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom");
83 rawContactId1, rawContactId2);
86 + " AND " + AggregationExceptions.RAW_CONTACT_ID2 + "=" + rawContactId2
87 + ") OR (" + AggregationExceptions.RAW_CONTACT_ID1 + "=" + rawContactId2
96 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
97 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
103 rawContactId1, rawContactId2);
110 assertTrue((rawContactId1 == c.getLong(1) && rawContactId2 == c.getLong(2))
111 || (rawContactId2 == c.getLong(1) && rawContactId1 == c.getLong(2)));
117 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 546 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
549 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
650 protected void assertAggregated(long rawContactId1, long rawContactId2) {
652 long contactId2 = queryContactId(rawContactId2);
656 protected void assertAggregated(long rawContactId1, long rawContactId2,
659 long contactId2 = queryContactId(rawContactId2);
666 protected void assertNotAggregated(long rawContactId1, long rawContactId2) {
668 long contactId2 = queryContactId(rawContactId2);
    [all...]
ContactsActor.java 717 protected void setAggregationException(int type, long rawContactId1, long rawContactId2) {
720 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
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);
ContactUtil.java 124 * @param rawContactId2 Id of the second raw contact
127 long rawContactId1, long rawContactId2) {
130 values.put(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2);
ContactsContract_IsSuperPrimaryName.java 170 private void setAggregationException(long rawContactId1, long rawContactId2) {
173 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 279 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
281 if (rawContactId2 != null && rawContactId2 >= 0) {
282 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/
ContactsProvider2.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
AbstractContactAggregator.java     [all...]

Completed in 4387 milliseconds