Home
last modified time | relevance | path

Searched refs:givenName (Results 1 – 9 of 9) sorted by relevance

/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDataUtil.java54 String givenName, String familyName) { in insertStructuredName() argument
55 return insertStructuredName(resolver, rawContactId, givenName, familyName, in insertStructuredName()
60 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName() argument
62 return insertStructuredName(resolver, rawContactId, givenName, familyName, phoneticFamily, in insertStructuredName()
67 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName() argument
71 if (givenName != null) { in insertStructuredName()
72 sb.append(givenName); in insertStructuredName()
74 if (givenName != null && familyName != null) { in insertStructuredName()
84 values.put(StructuredName.GIVEN_NAME, givenName); in insertStructuredName()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelperTest.java41 String givenName = "givenName"; in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded() local
66 .setGivenName(givenName) in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded()
114 String givenName = "givenName"; in testFingerprintGeneration_forEachPropertyType_string() local
119 .setGivenName(givenName) in testFingerprintGeneration_forEachPropertyType_string()
289 String givenName = "givenName"; in testGenerateFingerprintStringForPerson() local
329 .setGivenName(givenName) in testGenerateFingerprintStringForPerson()
DContactDataHandlerTest.java657 String givenName = "structuredNameGivenName" + TEST_ID; in testConvertCurrentRowToPerson_name() local
664 values.put(CommonDataKinds.StructuredName.GIVEN_NAME, givenName); in testConvertCurrentRowToPerson_name()
672 givenName).setMiddleName(middleName).setFamilyName(familyName) in testConvertCurrentRowToPerson_name()
681 assertThat(personTested.getGivenName()).isEqualTo(givenName); in testConvertCurrentRowToPerson_name()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPersonTest.java37 String givenName = "givenName"; in testBuilder() local
75 .setGivenName(givenName) in testBuilder()
102 assertThat(person.getGivenName()).isEqualTo(givenName); in testBuilder()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java690 protected void assertStructuredName(long rawContactId, String prefix, String givenName, in assertStructuredName() argument
706 assertEquals(givenName, c.getString(1)); in assertStructuredName()
1504 private final String givenName; field in BaseContactsProvider2Test.GoldenContact
1524 givenName = builder.givenName; in GoldenContact()
1564 return givenName; in getGivenName()
1623 private String givenName; field in BaseContactsProvider2Test.GoldenContactBuilder
1644 public GoldenContactBuilder name(String givenName, String familyName) { in name() argument
1645 return givenName(givenName).familyName(familyName); in name()
1651 public GoldenContactBuilder givenName(String value) { in givenName() method in BaseContactsProvider2Test.GoldenContactBuilder
1652 givenName = value; in givenName()
[all …]
DContactsProvider2Test.java9653 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9656 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
9660 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9663 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
9667 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9672 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
9676 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9681 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactDataHandler.java430 String givenName = getColumnString(cursor, StructuredName.GIVEN_NAME); in addData() local
440 if (givenName != null) { in addData()
441 builder.setGivenName(givenName); in addData()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java383 public Builder setGivenName(@NonNull String givenName) { in setGivenName() argument
384 setPropertyString(PERSON_PROPERTY_GIVEN_NAME, givenName); in setGivenName()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1689 final String givenName = ((StructuredNameDataItem) dataItem).getGivenName(); in dataItemToEntry() local
1690 if (!TextUtils.isEmpty(givenName)) { in dataItemToEntry()
1692 " " + givenName; in dataItemToEntry()