Searched refs:contactId2 (Results 1 – 7 of 7) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 501 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 …]
|
D | ContactAggregator2Test.java | 517 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/ |
D | ContactLookupKeyTest.java | 117 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()
|
D | DirectoryTest.java | 110 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts() local 132 assertEquals(contactId2, cursor.getLong(0)); in testForwardingToLocalInvisibleContacts()
|
D | BaseContactsProvider2Test.java | 652 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()
|
D | ContactsProvider2Test.java | 2488 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery() local 2503 values2.put(RawContacts.CONTACT_ID, contactId2); in testCallablesQuery() 4891 long contactId2 = queryContactId(rawContactId2); in testSendToVoicemailAndRingtoneAfterAggregation() local 4892 updateSendToVoicemailAndRingtone(contactId2, true, "bar"); in testSendToVoicemailAndRingtoneAfterAggregation() 4908 long contactId2 = queryContactId(rawContactId2); in testDoNotSendToVoicemailAfterAggregation() local 4909 updateSendToVoicemailAndRingtone(contactId2, false, null); in testDoNotSendToVoicemailAfterAggregation() 4925 long contactId2 = queryContactId(rawContactId2); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() local 4926 updateSendToVoicemailAndRingtone(contactId2, false, "bar"); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() 7200 long contactId2 = queryContactId(rawContactId2); in testPhotoStoreCleanup() local 7259 ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId2), in testPhotoStoreCleanup() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1344 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()
|