Home
last modified time | relevance | path

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

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelperTest.java85 creationTimestamp).buildPerson(); in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded()
87 creationTimestamp).buildPerson(); in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded()
91 fingerprint2)).setCreationTimestampMillis(creationTimestamp2).buildPerson(); in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded()
123 0).buildPerson(); in testFingerprintGeneration_forEachPropertyType_string()
125 0).buildPerson(); in testFingerprintGeneration_forEachPropertyType_string()
128 0).buildPerson(); in testFingerprintGeneration_forEachPropertyType_string()
131 0).buildPerson(); in testFingerprintGeneration_forEachPropertyType_string()
148 personBuilder).setCreationTimestampMillis(creationTimestamp).buildPerson(); in testFingerprintGeneration_forEachPropertyType_boolean()
151 creationTimestamp).buildPerson(); in testFingerprintGeneration_forEachPropertyType_boolean()
176 0).buildPerson(); in testFingerprintGeneration_forEachPropertyType_stringArray()
[all …]
DContactDataHandlerTest.java122 .buildPerson(); in testConvertCurrentRowToPerson_labelCustom_typeCustom()
128 Person personTested = helperTested.buildPerson(); in testConvertCurrentRowToPerson_labelCustom_typeCustom()
157 .buildPerson(); in testConvertCurrentRowToPerson_labelIsNull_typeCustom()
163 Person personTested = helperTested.buildPerson(); in testConvertCurrentRowToPerson_labelIsNull_typeCustom()
190 .setCreationTimestampMillis(creationTimestampMillis).buildPerson(); in testConvertCurrentRowToPerson_labelIsNull_typeHome()
196 Person personTested = helperTested.buildPerson(); in testConvertCurrentRowToPerson_labelIsNull_typeHome()
223 .addEmailToPerson(label, address).buildPerson(); in testConvertCurrentRowToPerson_email()
229 Person personTested = helperTested.buildPerson(); in testConvertCurrentRowToPerson_email()
250 ).setCreationTimestampMillis(creationTimestampMillis).buildPerson(); in testConvertCurrentRowToPerson_nickName()
256 Person personTested = helperTested.buildPerson(); in testConvertCurrentRowToPerson_nickName()
[all …]
DContactsIndexerImplTest.java168 mAppSearchHelper.setExistingContacts(ImmutableList.of(builderHelper1.buildPerson(), in testBatcher_contactFingerprintSame_notIndexed()
169 builderHelper2.buildPerson())); in testBatcher_contactFingerprintSame_notIndexed()
195 ImmutableList.of(builderHelper1.buildPerson(), builderHelper2.buildPerson())); in testBatcher_contactFingerprintDifferent_notIndexedButBatched()
231 ImmutableList.of(contact1.buildPerson(), contact2.buildPerson(), in testBatcher_contactFingerprintDifferent_Indexed()
232 contact3.buildPerson())); in testBatcher_contactFingerprintDifferent_Indexed()
257 notSameAsContact2.buildPerson(), in testBatcher_contactFingerprintDifferent_Indexed()
258 notSameAsContact3.buildPerson()); in testBatcher_contactFingerprintDifferent_Indexed()
283 ImmutableList.of(contact1.buildPerson(), contact2.buildPerson(), in testBatcher_contactFingerprintDifferent_IndexedWithOriginalCreationTimestamp()
284 contact3.buildPerson())); in testBatcher_contactFingerprintDifferent_IndexedWithOriginalCreationTimestamp()
303 assertThat(sameAsContact1.buildPerson().getCreationTimestampMillis()).isEqualTo(updatedTs1); in testBatcher_contactFingerprintDifferent_IndexedWithOriginalCreationTimestamp()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerImpl.java538 Person person = builderHelper.buildPerson(); in performDiffAsync()
549 contactsToBeIndexed.add(builderHelper.buildPerson()); in performDiffAsync()
DPersonBuilderHelper.java106 public Person buildPerson() { in buildPerson() method in PersonBuilderHelper