Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java88 public String familyName; field in NameSplitter.Name
102 public Name(String prefix, String givenNames, String middleName, String familyName, in Name() argument
107 this.familyName = familyName; in Name()
125 return familyName; in getFamilyName()
157 familyName = values.getAsString(StructuredName.FAMILY_NAME); in fromValues()
175 putValueIfPresent(values, StructuredName.FAMILY_NAME, familyName); in toValues()
194 familyName = null; in clear()
206 && TextUtils.isEmpty(familyName) in isEmpty()
216 + " family: " + familyName + " suffix: " + suffix + " ph/given: " in toString()
425 } else if (name.familyName == null) { in splitChineseName()
[all …]
DContactsDatabaseHelper.java4629 name.familyName = c.getString(RawContactNameQuery.FAMILY_NAME); in updateRawContactDisplayName()
/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
74 if (givenName != null && familyName != null) { in insertStructuredName()
77 if (familyName != null) { in insertStructuredName()
78 sb.append(familyName); in insertStructuredName()
85 values.put(StructuredName.FAMILY_NAME, familyName); in insertStructuredName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java314 String middleName, String familyName, String suffix) { in assertSplitName() argument
320 assertEquals(familyName, name.getFamilyName()); in assertSplitName()
325 String middleName, String familyName, String suffix) { in assertJoinedName() argument
327 familyName, suffix, true); in assertJoinedName()
331 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument
337 name.familyName = familyName; in assertJoinedName()
DBaseContactsProvider2Test.java673 String middleName, String familyName, String suffix) { in assertStructuredName() argument
690 assertEquals(familyName, c.getString(3)); in assertStructuredName()
1409 private final String familyName; field in BaseContactsProvider2Test.GoldenContact
1428 familyName = builder.familyName; in GoldenContact()
1474 return familyName; in getFamilyName()
1528 private String familyName; field in BaseContactsProvider2Test.GoldenContactBuilder
1547 public GoldenContactBuilder name(String givenName, String familyName) { in name() argument
1548 return givenName(givenName).familyName(familyName); in name()
1562 public GoldenContactBuilder familyName(String value) { in familyName() method in BaseContactsProvider2Test.GoldenContactBuilder
1563 familyName = value; in familyName()
[all …]