Home
last modified time | relevance | path

Searched refs:familyName (Results 1 – 6 of 6) 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.java3243 name.familyName = cursor.getString(StructName205Query.FAMILY_NAME); in upgradeStructuredNamesToVersion205()
5877 name.familyName = c.getString(RawContactNameQuery.FAMILY_NAME); in updateRawContactDisplayName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DDataUtil.java55 String givenName, String familyName) { in insertStructuredName() argument
56 return insertStructuredName(resolver, rawContactId, givenName, familyName, in insertStructuredName()
61 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName() argument
63 return insertStructuredName(resolver, rawContactId, givenName, familyName, phoneticFamily, in insertStructuredName()
68 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName() argument
75 if (givenName != null && familyName != null) { in insertStructuredName()
78 if (familyName != null) { in insertStructuredName()
79 sb.append(familyName); in insertStructuredName()
86 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.java665 String middleName, String familyName, String suffix) { in assertStructuredName() argument
682 assertEquals(familyName, c.getString(3)); in assertStructuredName()
1381 private final String familyName;
1400 familyName = builder.familyName;
1446 return familyName;
1500 private String familyName;
1519 public GoldenContactBuilder name(String givenName, String familyName) {
1520 return givenName(givenName).familyName(familyName);
1534 public GoldenContactBuilder familyName(String value) {
1535 familyName = value;
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DNameConverterTests.java73 String givenName, String middleName, String familyName, String suffix) { in assertStructuredName() argument
79 checkNameComponent(StructuredName.FAMILY_NAME, familyName, structuredName); in assertStructuredName()