Home
last modified time | relevance | path

Searched refs:givenName (Results 1 – 4 of 4) 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java672 protected void assertStructuredName(long rawContactId, String prefix, String givenName, in assertStructuredName() argument
688 assertEquals(givenName, c.getString(1)); in assertStructuredName()
1406 private final String givenName; field in BaseContactsProvider2Test.GoldenContact
1426 givenName = builder.givenName; in GoldenContact()
1466 return givenName; in getGivenName()
1525 private String givenName; field in BaseContactsProvider2Test.GoldenContactBuilder
1546 public GoldenContactBuilder name(String givenName, String familyName) { in name() argument
1547 return givenName(givenName).familyName(familyName); in name()
1553 public GoldenContactBuilder givenName(String value) { in givenName() method in BaseContactsProvider2Test.GoldenContactBuilder
1554 givenName = value; in givenName()
[all …]
DContactsProvider2Test.java9635 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9638 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
9642 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9645 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
9649 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9654 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
9658 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9663 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1684 final String givenName = ((StructuredNameDataItem) dataItem).getGivenName(); in dataItemToEntry() local
1685 if (!TextUtils.isEmpty(givenName)) { in dataItemToEntry()
1687 " " + givenName; in dataItemToEntry()