Home
last modified time | relevance | path

Searched refs:contactPoint (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/
DContactPointTest.java52 ContactPoint contactPoint = contactPointBuilder.build(); in testBuilder() local
54 assertThat(contactPoint.getId()).isEqualTo(id); in testBuilder()
55 assertThat(contactPoint.getLabel()).isEqualTo(label); in testBuilder()
56 assertThat(contactPoint.getEmails()).asList().isEqualTo(emails); in testBuilder()
57 assertThat(contactPoint.getAddresses()).asList().isEqualTo(addresses); in testBuilder()
58 assertThat(contactPoint.getPhones()).asList().isEqualTo(telephones); in testBuilder()
59 assertThat(contactPoint.getAppIds()).asList().isEqualTo(appIds); in testBuilder()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DEnterpriseContactsTest.java264 GenericDocument contactPoint = document.getPropertyDocumentArray( in testGetEnterpriseContact() local
266 assertThat(contactPoint.getPropertyNames()).containsExactly(CONTACT_POINT_PROPERTY_LABEL, in testGetEnterpriseContact()
268 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_LABEL)).isEqualTo( in testGetEnterpriseContact()
270 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_EMAIL)).isEqualTo( in testGetEnterpriseContact()
272 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_TELEPHONE)).isEqualTo( in testGetEnterpriseContact()
300 GenericDocument contactPoint = document.getPropertyDocumentArray( in testGetEnterpriseContact_withProjection() local
302 assertThat(contactPoint.getPropertyNames()).containsExactly(CONTACT_POINT_PROPERTY_EMAIL); in testGetEnterpriseContact_withProjection()
303 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_EMAIL)).isEqualTo( in testGetEnterpriseContact_withProjection()
306 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_ADDRESS)).isNull(); in testGetEnterpriseContact_withProjection()
328 GenericDocument contactPoint = document.getPropertyDocumentArray( in testSearchEnterpriseContacts() local
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java458 public Builder addContactPoint(@NonNull ContactPoint contactPoint) { in addContactPoint() argument
459 Objects.requireNonNull(contactPoint); in addContactPoint()
460 mContactPoints.add(contactPoint); in addContactPoint()