/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/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 | 4858 name.familyName = c.getString(RawContactNameQuery.FAMILY_NAME); in updateRawContactDisplayName()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 250 name.familyName = "Juan"; in testGuessFullNameStyleChineseMixed() 334 String middleName, String familyName, String suffix) { in assertSplitName() argument 340 assertEquals(familyName, name.getFamilyName()); in assertSplitName() 345 String middleName, String familyName, String suffix) { in assertJoinedName() argument 347 familyName, suffix, true); in assertJoinedName() 351 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument 357 name.familyName = familyName; in assertJoinedName()
|
D | BaseContactsProvider2Test.java | 691 String middleName, String familyName, String suffix) { in assertStructuredName() argument 708 assertEquals(familyName, c.getString(3)); in assertStructuredName() 1506 private final String familyName; field in BaseContactsProvider2Test.GoldenContact 1525 familyName = builder.familyName; in GoldenContact() 1571 return familyName; in getFamilyName() 1625 private String familyName; field in BaseContactsProvider2Test.GoldenContactBuilder 1644 public GoldenContactBuilder name(String givenName, String familyName) { in name() argument 1645 return givenName(givenName).familyName(familyName); in name() 1659 public GoldenContactBuilder familyName(String value) { in familyName() method in BaseContactsProvider2Test.GoldenContactBuilder 1660 familyName = value; in familyName() [all …]
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/theme/ |
D | Type.kt | 30 val familyName = stringResource(id = R.string.default_font_family) in getTypography() constant 31 val font = Font(familyName = DeviceFontFamilyName(familyName)) in getTypography()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | ContactDataHandler.java | 431 String familyName = getColumnString(cursor, StructuredName.FAMILY_NAME); in addData() local 443 if (familyName != null) { in addData() 444 builder.setFamilyName(familyName); in addData()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | Person.java | 395 public Builder setFamilyName(@NonNull String familyName) { in setFamilyName() argument 396 setPropertyString(PERSON_PROPERTY_FAMILY_NAME, familyName); in setFamilyName()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/theme/ |
D | WearPermissionTheme.kt | 65 val font = Font(familyName = DeviceFontFamilyName(typefaceName)) in fontFamily()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | ContactDataHandlerTest.java | 659 String familyName = "structuredNameFamilyName" + TEST_ID; in testConvertCurrentRowToPerson_name() local 666 values.put(CommonDataKinds.StructuredName.FAMILY_NAME, familyName); in testConvertCurrentRowToPerson_name() 672 givenName).setMiddleName(middleName).setFamilyName(familyName) in testConvertCurrentRowToPerson_name() 683 assertThat(personTested.getFamilyName()).isEqualTo(familyName); in testConvertCurrentRowToPerson_name()
|