Home
last modified time | relevance | path

Searched refs:contactId2 (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java478 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() local
492 Cursor cursor = queryContact(contactId2); in testAggregationExceptionKeepIn()
583 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() local
586 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
588 assertTrue(contactId2 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
592 assertDisplayNameEquals(contactId2, rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
962 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnName() local
965 assertSuggestions(contactId1, contactId2, contactId3); in testAggregationSuggestionsBasedOnName()
980 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnPhoneNumber() local
981 assertTrue(contactId1 != contactId2); in testAggregationSuggestionsBasedOnPhoneNumber()
[all …]
DContactAggregator2Test.java494 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() local
508 Cursor cursor = queryContact(contactId2); in testAggregationExceptionKeepIn()
599 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() local
602 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
604 assertTrue(contactId2 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
608 assertDisplayNameEquals(contactId2, rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
969 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnName() local
972 assertEquals(contactId1, contactId2); in testAggregationSuggestionsBasedOnName()
988 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnPhoneNumber() local
989 assertTrue(contactId1 != contactId2); in testAggregationSuggestionsBasedOnPhoneNumber()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java117 long contactId2 = queryContactId(rawContactId2); in testLookupKeySameSourceIdDifferentAccounts() local
118 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testLookupKeySameSourceIdDifferentAccounts()
125 assertStoredValue(lookupUri2, Contacts._ID, contactId2); in testLookupKeySameSourceIdDifferentAccounts()
DDirectoryTest.java110 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts() local
132 assertEquals(contactId2, cursor.getLong(0)); in testForwardingToLocalInvisibleContacts()
DBaseContactsProvider2Test.java652 long contactId2 = queryContactId(rawContactId2); in assertAggregated() local
653 assertTrue(contactId1 == contactId2); in assertAggregated()
659 long contactId2 = queryContactId(rawContactId2); in assertAggregated() local
660 assertTrue(contactId1 == contactId2); in assertAggregated()
668 long contactId2 = queryContactId(rawContactId2); in assertNotAggregated() local
669 assertTrue(contactId1 != contactId2); in assertNotAggregated()
DContactsProvider2Test.java2469 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery() local
2484 values2.put(RawContacts.CONTACT_ID, contactId2); in testCallablesQuery()
5205 long contactId2 = queryContactId(rawContactId2); in testSendToVoicemailAndRingtoneAfterAggregation() local
5206 updateSendToVoicemailAndRingtone(contactId2, true, "bar"); in testSendToVoicemailAndRingtoneAfterAggregation()
5222 long contactId2 = queryContactId(rawContactId2); in testDoNotSendToVoicemailAfterAggregation() local
5223 updateSendToVoicemailAndRingtone(contactId2, false, null); in testDoNotSendToVoicemailAfterAggregation()
5239 long contactId2 = queryContactId(rawContactId2); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() local
5240 updateSendToVoicemailAndRingtone(contactId2, false, "bar"); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit()
7584 long contactId2 = queryContactId(rawContactId2); in testPhotoStoreCleanup() local
7643 ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testPhotoStoreCleanup()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1344 long contactId2, Class<? extends Activity> callbackActivity, String callbackAction) { in createJoinContactsIntent() argument
1348 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID2, contactId2); in createJoinContactsIntent()
1539 long contactId2 = intent.getLongExtra(EXTRA_CONTACT_ID2, -1); in joinContacts() local
1543 long rawContactIds[] = getRawContactIdsForAggregation(contactId1, contactId2); in joinContacts()
1596 final String name = queryNameOfLinkedContacts(new long[] {contactId1, contactId2}); in joinContacts()
1710 private long[] getRawContactIdsForAggregation(long contactId1, long contactId2) { in getRawContactIdsForAggregation() argument
1711 return getRawContactIdsForAggregation(new long[] {contactId1, contactId2}); in getRawContactIdsForAggregation()