Home
last modified time | relevance | path

Searched refs:StructuredName (Results 1 – 25 of 71) sorted by relevance

123

/aosp12/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardExporterTests.java54 .put(StructuredName.FAMILY_NAME, "Ando") in testSimpleV21()
55 .put(StructuredName.GIVEN_NAME, "Roid"); in testSimpleV21()
118 .put(StructuredName.IS_PRIMARY, 1); in testStructuredNameUsePrimaryCommon()
132 .put(StructuredName.IS_PRIMARY, 1); in testStructuredNameUsePrimaryCommon()
178 .put(StructuredName.IS_PRIMARY, 1); in testStructuredNameUseSuperPrimaryCommon()
197 .put(StructuredName.IS_PRIMARY, 1); in testStructuredNameUseSuperPrimaryCommon()
317 .put(StructuredName.IS_PRIMARY, 1); in testStructuredNameComplicatedCommon()
340 .put(StructuredName.IS_PRIMARY, 1); in testStructuredNameComplicatedCommon()
1180 .put(StructuredName.PREFIX, "\n") in testV30HandleEscape()
1229 .put(StructuredName.IS_PRIMARY, 1) in testPickUpNonEmptyContentValuesCommon()
[all …]
H A DVCardImporterTests.java633 .put(StructuredName.PREFIX, "Pos") in testComplicatedCase()
634 .put(StructuredName.SUFFIX, "Tao") in testComplicatedCase()
759 .put(StructuredName.FAMILY_NAME, "And") in testV30Simple()
760 .put(StructuredName.GIVEN_NAME, "Roid") in testV30Simple()
869 .put(StructuredName.DISPLAY_NAME, in testV21Japanese2_Type_Generic_Utf8()
1084 .put(StructuredName.FAMILY_NAME, "F") in testPagerV30()
1085 .put(StructuredName.MIDDLE_NAME, "M") in testPagerV30()
1086 .put(StructuredName.GIVEN_NAME, "G") in testPagerV30()
1104 .put(StructuredName.FAMILY_NAME, "F") in testMultiBytePropV30()
1105 .put(StructuredName.MIDDLE_NAME, "M") in testMultiBytePropV30()
[all …]
H A DVCardJapanizationTests.java41 .put(StructuredName.MIDDLE_NAME, "B") in testNameUtf8Common()
42 .put(StructuredName.PREFIX, "Dr.") in testNameUtf8Common()
43 .put(StructuredName.SUFFIX, "Ph.D"); in testNameUtf8Common()
69 .put(StructuredName.MIDDLE_NAME, "B") in testNameShiftJis()
70 .put(StructuredName.PREFIX, "Dr.") in testNameShiftJis()
71 .put(StructuredName.SUFFIX, "Ph.D"); in testNameShiftJis()
91 .put(StructuredName.MIDDLE_NAME, "B") in testNameDoCoMo()
92 .put(StructuredName.PREFIX, "Dr.") in testNameDoCoMo()
93 .put(StructuredName.SUFFIX, "Ph.D"); in testNameDoCoMo()
142 .put(StructuredName.DISPLAY_NAME, in testPhoneticNameCommon()
[all …]
H A DVCardTestUtilsTests.java18 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
60 .addExpected(StructuredName.CONTENT_ITEM_TYPE) in testShouldFailAtContentValueVerification()
61 .put(StructuredName.GIVEN_NAME, "A;B\\") in testShouldFailAtContentValueVerification()
62 .put(StructuredName.MIDDLE_NAME, "C\\;") in testShouldFailAtContentValueVerification()
63 .put(StructuredName.PREFIX, "D") in testShouldFailAtContentValueVerification()
64 .put(StructuredName.SUFFIX, ":E"); in testShouldFailAtContentValueVerification()
81 .put(StructuredName.FAMILY_NAME, "\\") in testShouldFailAtLineVerification()
82 .put(StructuredName.GIVEN_NAME, ";") in testShouldFailAtLineVerification()
83 .put(StructuredName.MIDDLE_NAME, ",") in testShouldFailAtLineVerification()
84 .put(StructuredName.PREFIX, "\n") in testShouldFailAtLineVerification()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
H A DStructuredNameDataItem.java21 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
40 return getContentValues().getAsString(StructuredName.DISPLAY_NAME); in getDisplayName()
44 getContentValues().put(StructuredName.DISPLAY_NAME, name); in setDisplayName()
48 return getContentValues().getAsString(StructuredName.GIVEN_NAME); in getGivenName()
52 return getContentValues().getAsString(StructuredName.FAMILY_NAME); in getFamilyName()
56 return getContentValues().getAsString(StructuredName.PREFIX); in getPrefix()
60 return getContentValues().getAsString(StructuredName.MIDDLE_NAME); in getMiddleName()
64 return getContentValues().getAsString(StructuredName.SUFFIX); in getSuffix()
84 getContentValues().put(StructuredName.PHONETIC_FAMILY_NAME, name); in setPhoneticFamilyName()
88 getContentValues().put(StructuredName.PHONETIC_MIDDLE_NAME, name); in setPhoneticMiddleName()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
H A DStructuredNameDataItem.java20 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
39 return getContentValues().getAsString(StructuredName.DISPLAY_NAME); in getDisplayName()
43 getContentValues().put(StructuredName.DISPLAY_NAME, name); in setDisplayName()
47 return getContentValues().getAsString(StructuredName.GIVEN_NAME); in getGivenName()
51 return getContentValues().getAsString(StructuredName.FAMILY_NAME); in getFamilyName()
55 return getContentValues().getAsString(StructuredName.PREFIX); in getPrefix()
59 return getContentValues().getAsString(StructuredName.MIDDLE_NAME); in getMiddleName()
63 return getContentValues().getAsString(StructuredName.SUFFIX); in getSuffix()
71 getContentValues().put(StructuredName.PHONETIC_GIVEN_NAME, name); in setPhoneticGivenName()
79 getContentValues().put(StructuredName.PHONETIC_MIDDLE_NAME, name); in setPhoneticMiddleName()
[all …]
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForStructuredName.java22 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
78 if (values.containsKey(StructuredName.DISPLAY_NAME)) { in update()
110 StructuredName.PREFIX, StructuredName.GIVEN_NAME, StructuredName.MIDDLE_NAME,
111 StructuredName.FAMILY_NAME, StructuredName.SUFFIX
145 update.put(StructuredName.DISPLAY_NAME, joined); in fixStructuredNameComponents()
151 update.put(StructuredName.FULL_NAME_STYLE, in fixStructuredNameComponents()
171 return values.containsKey(StructuredName.FAMILY_NAME) in containsSearchableColumns()
172 || values.containsKey(StructuredName.GIVEN_NAME) in containsSearchableColumns()
173 || values.containsKey(StructuredName.MIDDLE_NAME) in containsSearchableColumns()
177 || values.containsKey(StructuredName.PREFIX) in containsSearchableColumns()
[all …]
H A DNameSplitter.java19 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
154 prefix = values.getAsString(StructuredName.PREFIX); in fromValues()
155 givenNames = values.getAsString(StructuredName.GIVEN_NAME); in fromValues()
156 middleName = values.getAsString(StructuredName.MIDDLE_NAME); in fromValues()
157 familyName = values.getAsString(StructuredName.FAMILY_NAME); in fromValues()
158 suffix = values.getAsString(StructuredName.SUFFIX); in fromValues()
167 integer = values.getAsInteger(StructuredName.PHONETIC_NAME_STYLE); in fromValues()
172 putValueIfPresent(values, StructuredName.PREFIX, prefix); in toValues()
173 putValueIfPresent(values, StructuredName.GIVEN_NAME, givenNames); in toValues()
176 putValueIfPresent(values, StructuredName.SUFFIX, suffix); in toValues()
[all …]
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSearchIndexManagerTest.java59 values.put(StructuredName.PREFIX, "Mrs."); in testSearchIndexForStructuredName()
60 values.put(StructuredName.GIVEN_NAME, "Helen"); in testSearchIndexForStructuredName()
61 values.put(StructuredName.MIDDLE_NAME, "I."); in testSearchIndexForStructuredName()
62 values.put(StructuredName.FAMILY_NAME, "Parr"); in testSearchIndexForStructuredName()
63 values.put(StructuredName.SUFFIX, "PhD"); in testSearchIndexForStructuredName()
80 values.put(StructuredName.PREFIX, "Mrs."); in testSearchIndexForStructuredName_phoneticOnly()
81 values.put(StructuredName.GIVEN_NAME, "Helen"); in testSearchIndexForStructuredName_phoneticOnly()
82 values.put(StructuredName.MIDDLE_NAME, "I."); in testSearchIndexForStructuredName_phoneticOnly()
83 values.put(StructuredName.FAMILY_NAME, "Parr"); in testSearchIndexForStructuredName_phoneticOnly()
84 values.put(StructuredName.SUFFIX, "PhD"); in testSearchIndexForStructuredName_phoneticOnly()
[all …]
H A DContactsProvider2TransactionTest.java26 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
187 b.withValue(StructuredName.DISPLAY_NAME, "Regular Contact"); in addInsertContactOperations()
188 b.withValue(StructuredName.GIVEN_NAME, "Regular"); in addInsertContactOperations()
189 b.withValue(StructuredName.FAMILY_NAME, "Contact"); in addInsertContactOperations()
190 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertContactOperations()
216 b.withValue(StructuredName.DISPLAY_NAME, "Profile Contact"); in addInsertProfileOperations()
217 b.withValue(StructuredName.GIVEN_NAME, "Profile"); in addInsertProfileOperations()
218 b.withValue(StructuredName.FAMILY_NAME, "Contact"); in addInsertProfileOperations()
219 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertProfileOperations()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DValuesDelta.java512 put(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_FAMILY_NAME, value); in setPhoneticFamilyName()
516 put(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_MIDDLE_NAME, value); in setPhoneticMiddleName()
520 put(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_GIVEN_NAME, value); in setPhoneticGivenName()
536 return getAsString(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME); in getDisplayName()
541 putNull(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME); in setDisplayName()
543 put(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, name); in setDisplayName()
550 copyStringFrom(name, ContactsContract.CommonDataKinds.StructuredName.GIVEN_NAME); in copyStructuredNameFieldsFrom()
551 copyStringFrom(name, ContactsContract.CommonDataKinds.StructuredName.FAMILY_NAME); in copyStructuredNameFieldsFrom()
552 copyStringFrom(name, ContactsContract.CommonDataKinds.StructuredName.PREFIX); in copyStructuredNameFieldsFrom()
553 copyStringFrom(name, ContactsContract.CommonDataKinds.StructuredName.MIDDLE_NAME); in copyStructuredNameFieldsFrom()
[all …]
H A DRawContactModifier.java37 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
611 child.put(StructuredName.DISPLAY_NAME, name); in parseStructuredNameExtra()
619 StructuredName.PREFIX, in parseStructuredNameExtra()
620 StructuredName.GIVEN_NAME, in parseStructuredNameExtra()
621 StructuredName.MIDDLE_NAME, in parseStructuredNameExtra()
622 StructuredName.FAMILY_NAME, in parseStructuredNameExtra()
623 StructuredName.SUFFIX, in parseStructuredNameExtra()
688 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { in parseValues()
1057 values.remove(StructuredName.PHONETIC_FAMILY_NAME); in migrateStructuredName()
1060 values.remove(StructuredName.PHONETIC_MIDDLE_NAME); in migrateStructuredName()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/account/
H A DExchangeAccountType.java29 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
93 new EditField(StructuredName.PREFIX, R.string.name_prefix, FLAGS_PERSON_NAME) in addDataKindStructuredName()
96 new EditField(StructuredName.FAMILY_NAME, R.string.name_family, FLAGS_PERSON_NAME)); in addDataKindStructuredName()
98 new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, FLAGS_PERSON_NAME)); in addDataKindStructuredName()
100 new EditField(StructuredName.GIVEN_NAME, R.string.name_given, FLAGS_PERSON_NAME)); in addDataKindStructuredName()
102 new EditField(StructuredName.SUFFIX, R.string.name_suffix, FLAGS_PERSON_NAME)); in addDataKindStructuredName()
130 new EditField(StructuredName.PREFIX, R.string.name_prefix, FLAGS_PERSON_NAME) in addDataKindDisplayName()
136 new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, FLAGS_PERSON_NAME) in addDataKindDisplayName()
139 new EditField(StructuredName.GIVEN_NAME, R.string.name_given, FLAGS_PERSON_NAME)); in addDataKindDisplayName()
142 new EditField(StructuredName.GIVEN_NAME, R.string.name_given, FLAGS_PERSON_NAME)); in addDataKindDisplayName()
[all …]
H A DBaseAccountType.java34 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
172 new EditField(StructuredName.PREFIX, R.string.name_prefix, FLAGS_PERSON_NAME) in addDataKindStructuredName()
181 new EditField(StructuredName.GIVEN_NAME, R.string.name_given, FLAGS_PERSON_NAME) in addDataKindStructuredName()
184 new EditField(StructuredName.SUFFIX, R.string.name_suffix, FLAGS_PERSON_NAME) in addDataKindStructuredName()
221 new EditField(StructuredName.PREFIX, R.string.name_prefix, FLAGS_PERSON_NAME) in addDataKindDisplayName()
233 new EditField(StructuredName.SUFFIX, R.string.name_suffix, FLAGS_PERSON_NAME) in addDataKindDisplayName()
237 new EditField(StructuredName.PREFIX, R.string.name_prefix, FLAGS_PERSON_NAME) in addDataKindDisplayName()
249 new EditField(StructuredName.SUFFIX, R.string.name_suffix, FLAGS_PERSON_NAME) in addDataKindDisplayName()
1030 StructuredName.CONTENT_ITEM_TYPE, in parseDataKind()
1149 StructuredName.PHONETIC_FAMILY_NAME, in parseDataKind()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DSimAccountType.java23 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
78 final DataKind kind = addKind(new DataKind(StructuredName.CONTENT_ITEM_TYPE, in addDataKindStructuredName()
86 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in addDataKindStructuredName()
88 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in addDataKindStructuredName()
107 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in addDataKindName()
109 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in addDataKindName()
112 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in addDataKindName()
114 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in addDataKindName()
H A DBaseAccountType.java34 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
170 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in addDataKindStructuredName()
172 kind.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME, in addDataKindStructuredName()
174 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in addDataKindStructuredName()
223 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in addDataKindPhoneticName()
225 kind.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME, in addDataKindPhoneticName()
227 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in addDataKindPhoneticName()
934 ks.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in parseDataKind()
936 ks.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME, in parseDataKind()
938 ks.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in parseDataKind()
[all …]
H A DExchangeAccountType.java29 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
84 DataKind kind = addKind(new DataKind(StructuredName.CONTENT_ITEM_TYPE, in addDataKindStructuredName()
92 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in addDataKindStructuredName()
94 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, in addDataKindStructuredName()
96 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, in addDataKindStructuredName()
98 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, in addDataKindStructuredName()
100 kind.fieldList.add(new EditField(StructuredName.SUFFIX, in addDataKindStructuredName()
103 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in addDataKindStructuredName()
105 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in addDataKindStructuredName()
121 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in addDataKindPhoneticName()
[all …]
/aosp12/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
H A DDataUtil.java24 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
48 ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); in insertStructuredName()
83 values.put(StructuredName.DISPLAY_NAME, sb.toString()); in insertStructuredName()
84 values.put(StructuredName.GIVEN_NAME, givenName); in insertStructuredName()
85 values.put(StructuredName.FAMILY_NAME, familyName); in insertStructuredName()
89 values.put(StructuredName.PHONETIC_FAMILY_NAME, phoneticFamily); in insertStructuredName()
104 values.put(StructuredName.PHONETIC_FAMILY_NAME, phoneticFamilyName); in insertPhoneticName()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DNameConverter.java25 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
40 StructuredName.PREFIX,
41 StructuredName.GIVEN_NAME,
42 StructuredName.MIDDLE_NAME,
43 StructuredName.FAMILY_NAME,
44 StructuredName.SUFFIX
69 StructuredName.DISPLAY_NAME, in fetchDisplayName()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A DStructuredNameEditorView.java24 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
108 if (StructuredName.FAMILY_NAME.equals(column)) { in updatePhonetic()
110 } else if (StructuredName.GIVEN_NAME.equals(column)) { in updatePhonetic()
112 } else if (StructuredName.MIDDLE_NAME.equals(column)) { in updatePhonetic()
130 if (StructuredName.FAMILY_NAME.equals(column)) { in getPhonetic()
132 } else if (StructuredName.GIVEN_NAME.equals(column)) { in getPhonetic()
134 } else if (StructuredName.MIDDLE_NAME.equals(column)) { in getPhonetic()
H A DAggregationSuggestionEngine.java33 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
202 appendValue(nameSb, values, StructuredName.PREFIX); in buildAggregationSuggestionUri()
203 appendValue(nameSb, values, StructuredName.GIVEN_NAME); in buildAggregationSuggestionUri()
204 appendValue(nameSb, values, StructuredName.MIDDLE_NAME); in buildAggregationSuggestionUri()
205 appendValue(nameSb, values, StructuredName.FAMILY_NAME); in buildAggregationSuggestionUri()
206 appendValue(nameSb, values, StructuredName.SUFFIX); in buildAggregationSuggestionUri()
209 appendValue(phoneticNameSb, values, StructuredName.PHONETIC_FAMILY_NAME); in buildAggregationSuggestionUri()
210 appendValue(phoneticNameSb, values, StructuredName.PHONETIC_MIDDLE_NAME); in buildAggregationSuggestionUri()
211 appendValue(phoneticNameSb, values, StructuredName.PHONETIC_GIVEN_NAME); in buildAggregationSuggestionUri()
272 + StructuredName.CONTENT_ITEM_TYPE + "','"
[all …]
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
H A DContactAggregatorTest.java282 values.put(StructuredName.GIVEN_NAME, "604"); in testAggregationOfInconsistentlyParsedNames()
283 values.put(StructuredName.MIDDLE_NAME, "Arizona"); in testAggregationOfInconsistentlyParsedNames()
284 values.put(StructuredName.FAMILY_NAME, "Ave"); in testAggregationOfInconsistentlyParsedNames()
290 values.put(StructuredName.GIVEN_NAME, "604"); in testAggregationOfInconsistentlyParsedNames()
300 values.put(StructuredName.GIVEN_NAME, "John"); in testAggregationBasedOnMiddleName()
301 values.put(StructuredName.GIVEN_NAME, "Abigale"); in testAggregationBasedOnMiddleName()
302 values.put(StructuredName.FAMILY_NAME, "James"); in testAggregationBasedOnMiddleName()
308 values.put(StructuredName.GIVEN_NAME, "John"); in testAggregationBasedOnMiddleName()
309 values.put(StructuredName.GIVEN_NAME, "Marie"); in testAggregationBasedOnMiddleName()
310 values.put(StructuredName.FAMILY_NAME, "James"); in testAggregationBasedOnMiddleName()
[all …]
H A DContactAggregator2Test.java282 values.put(StructuredName.GIVEN_NAME, "604"); in testAggregationOfInconsistentlyParsedNames()
283 values.put(StructuredName.MIDDLE_NAME, "Arizona"); in testAggregationOfInconsistentlyParsedNames()
284 values.put(StructuredName.FAMILY_NAME, "Ave"); in testAggregationOfInconsistentlyParsedNames()
290 values.put(StructuredName.GIVEN_NAME, "604"); in testAggregationOfInconsistentlyParsedNames()
300 values.put(StructuredName.GIVEN_NAME, "John"); in testAggregationBasedOnMiddleName()
301 values.put(StructuredName.GIVEN_NAME, "Abigale"); in testAggregationBasedOnMiddleName()
302 values.put(StructuredName.FAMILY_NAME, "James"); in testAggregationBasedOnMiddleName()
308 values.put(StructuredName.GIVEN_NAME, "John"); in testAggregationBasedOnMiddleName()
309 values.put(StructuredName.GIVEN_NAME, "Marie"); in testAggregationBasedOnMiddleName()
310 values.put(StructuredName.FAMILY_NAME, "James"); in testAggregationBasedOnMiddleName()
[all …]
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DContactUtil.java27 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
163 StructuredName.DISPLAY_NAME,
164 StructuredName.GIVEN_NAME,
165 StructuredName.FAMILY_NAME,
166 StructuredName.PREFIX,
167 StructuredName.MIDDLE_NAME,
168 StructuredName.SUFFIX
426 StructuredName.CONTENT_ITEM_TYPE in lookupStructuredName()
430 + StructuredName.DISPLAY_NAME; in lookupStructuredName()
/aosp12/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardBuilder.java29 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
209 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in containsNonEmptyName()
210 final String suffix = contentValues.getAsString(StructuredName.SUFFIX); in containsNonEmptyName()
212 contentValues.getAsString(StructuredName.PHONETIC_FAMILY_NAME); in containsNonEmptyName()
214 contentValues.getAsString(StructuredName.PHONETIC_MIDDLE_NAME); in containsNonEmptyName()
216 contentValues.getAsString(StructuredName.PHONETIC_GIVEN_NAME); in containsNonEmptyName()
295 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in appendNamePropertiesV40()
296 final String suffix = contentValues.getAsString(StructuredName.SUFFIX); in appendNamePropertiesV40()
311 contentValues.getAsString(StructuredName.PHONETIC_FAMILY_NAME); in appendNamePropertiesV40()
313 contentValues.getAsString(StructuredName.PHONETIC_MIDDLE_NAME); in appendNamePropertiesV40()
[all …]

123