/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 477 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() local 487 if (contactId1 != newContactId1) { in testAggregationExceptionKeepIn() 488 Cursor cursor = queryContact(contactId1); in testAggregationExceptionKeepIn() 582 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() local 586 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() 587 assertTrue(contactId1 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames() 591 assertDisplayNameEquals(contactId1, rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() 961 long contactId1 = queryContactId(rawContactId1); in testAggregationSuggestionsBasedOnName() local 965 assertSuggestions(contactId1, contactId2, contactId3); in testAggregationSuggestionsBasedOnName() 979 long contactId1 = queryContactId(rawContactId1); in testAggregationSuggestionsBasedOnPhoneNumber() local [all …]
|
D | ContactAggregator2Test.java | 493 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() local 503 if (contactId1 != newContactId1) { in testAggregationExceptionKeepIn() 504 Cursor cursor = queryContact(contactId1); in testAggregationExceptionKeepIn() 598 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() local 602 assertTrue(contactId1 != contactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() 603 assertTrue(contactId1 != contactId3); in testAggregationExceptionKeepOutCheckResultDisplayNames() 607 assertDisplayNameEquals(contactId1, rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() 968 long contactId1 = queryContactId(rawContactId1); in testAggregationSuggestionsBasedOnName() local 972 assertEquals(contactId1, contactId2); in testAggregationSuggestionsBasedOnName() 973 assertSuggestions(queryContactId(rawContactId5), contactId1, contactId3); in testAggregationSuggestionsBasedOnName() local [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactLookupKeyTest.java | 113 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()
|
D | BaseContactsProvider2Test.java | 651 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()
|
D | DirectoryTest.java | 104 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts() local
|
D | ContactsProvider2Test.java | 2464 long contactId1 = queryContactId(rawContactId1); in testCallablesQuery() local 2474 values1.put(RawContacts.CONTACT_ID, contactId1); in testCallablesQuery() 5201 long contactId1 = queryContactId(rawContactId1); in testSendToVoicemailAndRingtoneAfterAggregation() local 5202 updateSendToVoicemailAndRingtone(contactId1, true, "foo"); in testSendToVoicemailAndRingtoneAfterAggregation() 5213 assertSendToVoicemailAndRingtone(contactId1, true, "foo,bar"); // Either foo or bar in testSendToVoicemailAndRingtoneAfterAggregation() 5218 long contactId1 = queryContactId(rawContactId1); in testDoNotSendToVoicemailAfterAggregation() local 5219 updateSendToVoicemailAndRingtone(contactId1, true, null); in testDoNotSendToVoicemailAfterAggregation() 5235 long contactId1 = queryContactId(rawContactId1); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() local 5236 updateSendToVoicemailAndRingtone(contactId1, true, "foo"); in testSetSendToVoicemailAndRingtonePreservedAfterJoinAndSplit() 7577 long contactId1 = queryContactId(rawContactId1); in testPhotoStoreCleanup() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1343 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()
|