/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 87 public String middleName; field in NameSplitter.Name 102 public Name(String prefix, String givenNames, String middleName, String familyName, in Name() argument 106 this.middleName = middleName; in Name() 121 return middleName; in getMiddleName() 156 middleName = values.getAsString(StructuredName.MIDDLE_NAME); in fromValues() 174 putValueIfPresent(values, StructuredName.MIDDLE_NAME, middleName); in toValues() 193 middleName = null; in clear() 205 && TextUtils.isEmpty(middleName) in isEmpty() 215 return "[prefix: " + prefix + " given: " + givenNames + " middle: " + middleName in toString() 428 } else if (name.middleName == null) { in splitChineseName() [all …]
|
D | ContactsDatabaseHelper.java | 4857 name.middleName = c.getString(RawContactNameQuery.MIDDLE_NAME); in updateRawContactDisplayName()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 249 name.middleName = "\u5C0F"; in testGuessFullNameStyleChineseMixed() 334 String middleName, String familyName, String suffix) { in assertSplitName() argument 339 assertEquals(middleName, name.getMiddleName()); in assertSplitName() 345 String middleName, String familyName, String suffix) { in assertJoinedName() argument 346 assertJoinedName(expected, FullNameStyle.WESTERN, prefix, givenNames, middleName, in assertJoinedName() 351 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument 356 name.middleName = middleName; in assertJoinedName()
|
D | BaseContactsProvider2Test.java | 691 String middleName, String familyName, String suffix) { in assertStructuredName() argument 707 assertEquals(middleName, c.getString(2)); in assertStructuredName()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | PersonTest.java | 38 String middleName = "middleName"; in testBuilder() local 76 .setMiddleName(middleName) in testBuilder() 103 assertThat(person.getMiddleName()).isEqualTo(middleName); in testBuilder()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | PersonBuilderHelperTest.java | 42 String middleName = "middleName"; in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded() local 67 .setMiddleName(middleName) in testFingerprintGeneration_creationTimestampAndFingerprintNotIncluded() 290 String middleName = "middleName"; in testGenerateFingerprintStringForPerson() local 330 .setMiddleName(middleName) in testGenerateFingerprintStringForPerson()
|
D | ContactDataHandlerTest.java | 658 String middleName = "structuredNameMiddleName" + TEST_ID; in testConvertCurrentRowToPerson_name() local 665 values.put(CommonDataKinds.StructuredName.MIDDLE_NAME, middleName); in testConvertCurrentRowToPerson_name() 672 givenName).setMiddleName(middleName).setFamilyName(familyName) in testConvertCurrentRowToPerson_name() 682 assertThat(personTested.getMiddleName()).isEqualTo(middleName); in testConvertCurrentRowToPerson_name()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | ContactDataHandler.java | 432 String middleName = getColumnString(cursor, StructuredName.MIDDLE_NAME); in addData() local 446 if (middleName != null) { in addData() 447 builder.setMiddleName(middleName); in addData()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | Person.java | 389 public Builder setMiddleName(@NonNull String middleName) { in setMiddleName() argument 390 setPropertyString(PERSON_PROPERTY_MIDDLE_NAME, middleName); in setMiddleName()
|