/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 88 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 …]
|
D | ContactsDatabaseHelper.java | 4642 name.familyName = c.getString(RawContactNameQuery.FAMILY_NAME); in updateRawContactDisplayName()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DataUtil.java | 54 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/ |
D | NameSplitterTest.java | 249 name.familyName = "Juan"; in testGuessFullNameStyleChineseMixed() 333 String middleName, String familyName, String suffix) { in assertSplitName() argument 339 assertEquals(familyName, name.getFamilyName()); in assertSplitName() 344 String middleName, String familyName, String suffix) { in assertJoinedName() argument 346 familyName, suffix, true); in assertJoinedName() 350 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument 356 name.familyName = familyName; in assertJoinedName()
|
D | BaseContactsProvider2Test.java | 673 String middleName, String familyName, String suffix) { in assertStructuredName() argument 690 assertEquals(familyName, c.getString(3)); in assertStructuredName() 1408 private final String familyName; field in BaseContactsProvider2Test.GoldenContact 1427 familyName = builder.familyName; in GoldenContact() 1473 return familyName; in getFamilyName() 1527 private String familyName; field in BaseContactsProvider2Test.GoldenContactBuilder 1546 public GoldenContactBuilder name(String givenName, String familyName) { in name() argument 1547 return givenName(givenName).familyName(familyName); in name() 1561 public GoldenContactBuilder familyName(String value) { in familyName() method in BaseContactsProvider2Test.GoldenContactBuilder 1562 familyName = value; in familyName() [all …]
|