Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java500 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() local
510 if (contactId1 != newContactId1) { in testAggregationExceptionKeepIn()
511 Cursor cursor = queryContact(contactId1); in testAggregationExceptionKeepIn()
605 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() local
609 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
610 assertTrue(contactId1 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
614 assertDisplayNameEquals(contactId1, rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
984 long contactId1 = queryContactId(rawContactId1); in testAggregationSuggestionsBasedOnName() local
988 assertSuggestions(contactId1, contactId2, contactId3); in testAggregationSuggestionsBasedOnName()
1002 long contactId1 = queryContactId(rawContactId1); in testAggregationSuggestionsBasedOnPhoneNumber() local
[all …]
DContactAggregator2Test.java516 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() local
526 if (contactId1 != newContactId1) { in testAggregationExceptionKeepIn()
527 Cursor cursor = queryContact(contactId1); in testAggregationExceptionKeepIn()
621 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() local
625 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
626 assertTrue(contactId1 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
630 assertDisplayNameEquals(contactId1, rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
991 long contactId1 = queryContactId(rawContactId1); in testAggregationSuggestionsBasedOnName() local
995 assertEquals(contactId1, contactId2); in testAggregationSuggestionsBasedOnName()
996 assertSuggestions(queryContactId(rawContactId5), contactId1, contactId3); in testAggregationSuggestionsBasedOnName() local
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java113 long contactId1 = queryContactId(rawContactId1); in testLookupKeySameSourceIdDifferentAccounts() local
114 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId1), in testLookupKeySameSourceIdDifferentAccounts()
122 assertStoredValue(lookupUri1, Contacts._ID, contactId1); in testLookupKeySameSourceIdDifferentAccounts()
DBaseContactsProvider2Test.java651 long contactId1 = queryContactId(rawContactId1); in assertAggregated() local
653 assertTrue(contactId1 == contactId2); in assertAggregated()
658 long contactId1 = queryContactId(rawContactId1); in assertAggregated() local
660 assertTrue(contactId1 == contactId2); in assertAggregated()
662 String displayName = queryDisplayName(contactId1); in assertAggregated()
667 long contactId1 = queryContactId(rawContactId1); in assertNotAggregated() local
669 assertTrue(contactId1 != contactId2); in assertNotAggregated()
DDirectoryTest.java104 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts() local
DContactsProvider2Test.java2483 long contactId1 = queryContactId(rawContactId1); in testCallablesQuery() local
2493 values1.put(RawContacts.CONTACT_ID, contactId1); in testCallablesQuery()
4887 long contactId1 = queryContactId(rawContactId1); in testSendToVoicemailAndRingtoneAfterAggregation() local
4888 updateSendToVoicemailAndRingtone(contactId1, true, "foo"); in testSendToVoicemailAndRingtoneAfterAggregation()
4899 assertSendToVoicemailAndRingtone(contactId1, true, "foo,bar"); // Either foo or bar in testSendToVoicemailAndRingtoneAfterAggregation()
4904 long contactId1 = queryContactId(rawContactId1); in testDoNotSendToVoicemailAfterAggregation() local
4905 updateSendToVoicemailAndRingtone(contactId1, true, null); in testDoNotSendToVoicemailAfterAggregation()
4921 long contactId1 = queryContactId(rawContactId1); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() local
4922 updateSendToVoicemailAndRingtone(contactId1, true, "foo"); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit()
7193 long contactId1 = queryContactId(rawContactId1); in testPhotoStoreCleanup() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1343 public static Intent createJoinContactsIntent(Context context, long contactId1, in createJoinContactsIntent() argument
1347 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID1, contactId1); in createJoinContactsIntent()
1538 long contactId1 = intent.getLongExtra(EXTRA_CONTACT_ID1, -1); in joinContacts() local
1543 long rawContactIds[] = getRawContactIdsForAggregation(contactId1, contactId2); in joinContacts()
1564 Contacts.CONTENT_URI, contactId1); 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()