Home
last modified time | relevance | path

Searched refs:middleName (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java87 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()
431 } else if (name.middleName == null) { in splitChineseName()
[all …]
DContactsDatabaseHelper.java2637 name.middleName = cursor.getString(StructName205Query.MIDDLE_NAME); in upgradeStructuredNamesToVersion205()
4958 name.middleName = c.getString(RawContactNameQuery.MIDDLE_NAME); in updateRawContactDisplayName()
5233 String middleName, String givenName) { in insertNameLookupForPhoneticName() argument
5238 if (middleName != null) { in insertNameLookupForPhoneticName()
5239 mSb.append(middleName.trim()); in insertNameLookupForPhoneticName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java314 String middleName, String familyName, String suffix) { in assertSplitName() argument
319 assertEquals(middleName, name.getMiddleName()); in assertSplitName()
325 String middleName, String familyName, String suffix) { in assertJoinedName() argument
326 assertJoinedName(expected, FullNameStyle.WESTERN, prefix, givenNames, middleName, in assertJoinedName()
331 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument
336 name.middleName = middleName; in assertJoinedName()
DBaseContactsProvider2Test.java672 String middleName, String familyName, String suffix) { in assertStructuredName() argument
688 assertEquals(middleName, c.getString(2)); in assertStructuredName()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DNameConverterTests.java71 String givenName, String middleName, String familyName, String suffix) { in assertStructuredName() argument
76 checkNameComponent(StructuredName.MIDDLE_NAME, middleName, structuredName); in assertStructuredName()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DContactsSyncAdapter.java433 String middleName = null; in addData() local
465 middleName = getValue(); in addData()
661 ops.addName(entity, prefix, firstName, lastName, middleName, suffix, name, in addData()
1284 String middleName, String suffix, String displayName, String yomiFirstName, in addName() argument
1290 cvCompareString(cv, StructuredName.MIDDLE_NAME, middleName) && in addName()
1299 builder.withValue(StructuredName.MIDDLE_NAME, middleName); in addName()