Home
last modified time | relevance | path

Searched refs:contact1 (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelperTest.java53 ContactPoint contact1 = new ContactPoint.Builder(namespace, id + "1", "Home") in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded() local
81 .addContactPoint(contact1) in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded()
192 ContactPoint contact1 = new ContactPoint.Builder(namespace, id + "1", "Home") in testFingerprintGeneration_forEachPropertyType_DocumentArray() local
212 .addContactPoint(contact1) in testFingerprintGeneration_forEachPropertyType_DocumentArray()
216 .addContactPoint(contact1) in testFingerprintGeneration_forEachPropertyType_DocumentArray()
253 ContactPoint contact1 = new ContactPoint.Builder(namespace, id + "1", "Home") in testScore_setCorrectly() local
271 personBuilder.addContactPoint(contact1) in testScore_setCorrectly()
301 ContactPoint contact1 = new ContactPoint.Builder(namespace, id + "1", "Home") in testGenerateFingerprintStringForPerson() local
346 .addContactPoint(contact1) in testGenerateFingerprintStringForPerson()
DContactsIndexerImplTest.java218 PersonBuilderHelper contact1 = new PersonBuilderHelper("id1", in testBatcher_contactFingerprintDifferent_Indexed() local
231 ImmutableList.of(contact1.buildPerson(), contact2.buildPerson(), in testBatcher_contactFingerprintDifferent_Indexed()
234 PersonBuilderHelper sameAsContact1 = contact1; in testBatcher_contactFingerprintDifferent_Indexed()
270 PersonBuilderHelper contact1 = new PersonBuilderHelper("id1", in testBatcher_contactFingerprintDifferent_IndexedWithOriginalCreationTimestamp() local
283 ImmutableList.of(contact1.buildPerson(), contact2.buildPerson(), in testBatcher_contactFingerprintDifferent_IndexedWithOriginalCreationTimestamp()
335 PersonBuilderHelper contact1 = new PersonBuilderHelper("id1", in testBatcher_contactNew_notIndexedButBatched() local
339 mAppSearchHelper.setExistingContacts(ImmutableList.of(contact1.buildPerson())); in testBatcher_contactNew_notIndexedButBatched()
341 PersonBuilderHelper sameAsContact1 = contact1; in testBatcher_contactNew_notIndexedButBatched()
362 PersonBuilderHelper contact1 = new PersonBuilderHelper("id1", in testBatcher_contactNew_indexed() local
365 mAppSearchHelper.setExistingContacts(ImmutableList.of(contact1.buildPerson())); in testBatcher_contactNew_indexed()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPersonTest.java49 ContactPoint contact1 = new ContactPoint.Builder(namespace, id + "1", "Home") in testBuilder() local
92 .addContactPoint(contact1) in testBuilder()
115 assertThat(person.getContactPoints()).asList().containsExactly(contact1, contact2, in testBuilder()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsManager.java98 public int compare(RankedContact contact1, RankedContact contact2) { in compare() argument
99 return Float.compare(contact2.getAffinity(), contact1.getAffinity()); in compare()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java179 Cp2Contact contact1 = phoneContacts.get(i); in removeDuplicatePhoneNumbers() local
182 int qualification = getQualification(contact2.phoneNumber(), contact1.phoneNumber()); in removeDuplicatePhoneNumbers()
186 phoneContacts.remove(contact1); in removeDuplicatePhoneNumbers()