/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 448 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() local 462 Cursor cursor = queryContact(contactId2); in testAggregationExceptionKeepIn() 553 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() local 556 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() 558 assertTrue(contactId2 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames() 562 assertDisplayNameEquals(contactId2, rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() 932 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnName() local 935 assertSuggestions(contactId1, contactId2, contactId3); in testAggregationSuggestionsBasedOnName() 950 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnPhoneNumber() local 951 assertTrue(contactId1 != contactId2); in testAggregationSuggestionsBasedOnPhoneNumber() [all …]
|
D | ContactAggregator2Test.java | 454 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() local 468 Cursor cursor = queryContact(contactId2); in testAggregationExceptionKeepIn() 559 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() local 562 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() 564 assertTrue(contactId2 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames() 568 assertDisplayNameEquals(contactId2, rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() 929 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnName() local 932 assertEquals(contactId1, contactId2); in testAggregationSuggestionsBasedOnName() 948 long contactId2 = queryContactId(rawContactId2); in testAggregationSuggestionsBasedOnPhoneNumber() local 949 assertTrue(contactId1 != contactId2); in testAggregationSuggestionsBasedOnPhoneNumber() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactLookupKeyTest.java | 129 long contactId2 = queryContactId(rawContactId2); in testLookupKeySameSourceIdDifferentAccounts() local 130 assertStoredValue(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testLookupKeySameSourceIdDifferentAccounts() 137 assertStoredValue(lookupUri2, Contacts._ID, contactId2); in testLookupKeySameSourceIdDifferentAccounts()
|
D | DirectoryTest.java | 109 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts() local 131 assertEquals(contactId2, cursor.getLong(0)); in testForwardingToLocalInvisibleContacts()
|
D | BaseContactsProvider2Test.java | 670 long contactId2 = queryContactId(rawContactId2); in assertAggregated() local 671 assertTrue(contactId1 == contactId2); in assertAggregated() 677 long contactId2 = queryContactId(rawContactId2); in assertAggregated() local 678 assertTrue(contactId1 == contactId2); in assertAggregated() 686 long contactId2 = queryContactId(rawContactId2); in assertNotAggregated() local 687 assertTrue(contactId1 != contactId2); in assertNotAggregated() 1463 final long contactId2 = queryContactId(rawContactId2); in createVCardTestContacts() local 1465 final Uri contact2Uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2); in createVCardTestContacts()
|
D | ContactsProvider2Test.java | 2714 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery() local 2729 values2.put(RawContacts.CONTACT_ID, contactId2); in testCallablesQuery() 5247 long contactId2 = queryContactId(rawContactId2); in testSendToVoicemailAndRingtoneAfterAggregation() local 5248 updateSendToVoicemailAndRingtone(contactId2, true, "bar"); in testSendToVoicemailAndRingtoneAfterAggregation() 5264 long contactId2 = queryContactId(rawContactId2); in testDoNotSendToVoicemailAfterAggregation() local 5265 updateSendToVoicemailAndRingtone(contactId2, false, null); in testDoNotSendToVoicemailAfterAggregation() 5281 long contactId2 = queryContactId(rawContactId2); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() local 5282 updateSendToVoicemailAndRingtone(contactId2, false, "bar"); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() 7559 long contactId2 = queryContactId(rawContactId2); in testPhotoStoreCleanup() local 7618 ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testPhotoStoreCleanup()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1352 long contactId2, Class<? extends Activity> callbackActivity, String callbackAction) { in createJoinContactsIntent() argument 1356 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID2, contactId2); in createJoinContactsIntent() 1547 long contactId2 = intent.getLongExtra(EXTRA_CONTACT_ID2, -1); in joinContacts() local 1551 long rawContactIds[] = getRawContactIdsForAggregation(contactId1, contactId2); in joinContacts() 1604 final String name = queryNameOfLinkedContacts(new long[] {contactId1, contactId2}); in joinContacts() 1718 private long[] getRawContactIdsForAggregation(long contactId1, long contactId2) { in getRawContactIdsForAggregation() argument 1719 return getRawContactIdsForAggregation(new long[] {contactId1, contactId2}); in getRawContactIdsForAggregation()
|