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.java501 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() local
515 Cursor cursor = queryContact(contactId2); in testAggregationExceptionKeepIn()
606 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() local
609 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
611 assertTrue(contactId2 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
615 assertDisplayNameEquals(contactId2, rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
985 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnName() local
988 assertSuggestions(contactId1, contactId2, contactId3); in testAggregationSuggestionsBasedOnName()
1003 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnPhoneNumber() local
1004 assertTrue(contactId1 != contactId2); in testAggregationSuggestionsBasedOnPhoneNumber()
[all …]
DContactAggregator2Test.java517 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() local
531 Cursor cursor = queryContact(contactId2); in testAggregationExceptionKeepIn()
622 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() local
625 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
627 assertTrue(contactId2 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
631 assertDisplayNameEquals(contactId2, rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
992 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnName() local
995 assertEquals(contactId1, contactId2); in testAggregationSuggestionsBasedOnName()
1011 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnPhoneNumber() local
1012 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.java2495 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery() local
2510 values2.put(RawContacts.CONTACT_ID, contactId2); in testCallablesQuery()
5231 long contactId2 = queryContactId(rawContactId2); in testSendToVoicemailAndRingtoneAfterAggregation() local
5232 updateSendToVoicemailAndRingtone(contactId2, true, "bar"); in testSendToVoicemailAndRingtoneAfterAggregation()
5248 long contactId2 = queryContactId(rawContactId2); in testDoNotSendToVoicemailAfterAggregation() local
5249 updateSendToVoicemailAndRingtone(contactId2, false, null); in testDoNotSendToVoicemailAfterAggregation()
5265 long contactId2 = queryContactId(rawContactId2); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() local
5266 updateSendToVoicemailAndRingtone(contactId2, false, "bar"); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit()
7701 long contactId2 = queryContactId(rawContactId2); in testPhotoStoreCleanup() local
7760 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()