Home
last modified time | relevance | path

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

/packages/apps/Exchange/tests/src/com/android/exchange/eas/
DEasSyncContactsTests.java122 final String firstName = "Joe"; in testGenerateFileAsNullEmailValues() local
126 nameValues.put(StructuredName.GIVEN_NAME, firstName); in testGenerateFileAsNullEmailValues()
131 final String generatedName = lastName + " " + suffix + ", " + firstName + " " + middleName; in testGenerateFileAsNullEmailValues()
152 final String firstName = "Joe"; in testGenerateFileAsNullLastName() local
155 nameValues.put(StructuredName.GIVEN_NAME, firstName); in testGenerateFileAsNullLastName()
159 final String generatedName = firstName + " " + middleName; in testGenerateFileAsNullLastName()
166 final String firstName = "Joe"; in testGenerateFileAsNullMiddleName() local
169 nameValues.put(StructuredName.GIVEN_NAME, firstName); in testGenerateFileAsNullMiddleName()
173 final String generatedName = lastName + " " + suffix + ", " + firstName; in testGenerateFileAsNullMiddleName()
180 final String firstName = "Joe"; in testGenerateFileAsNullSuffix() local
[all …]
/packages/apps/Exchange/src/com/android/exchange/provider/
DExchangeDirectoryProvider.java201 String firstName, String lastName) { in addNameRow() argument
205 r.put(StructuredName.GIVEN_NAME, firstName); in addNameRow()
586 final String firstName = galDataRow.get(GalData.FIRST_NAME); in getDisplayName() local
588 if (!TextUtils.isEmpty(firstName) || !TextUtils.isEmpty(lastName)) { in getDisplayName()
589 if (!TextUtils.isEmpty(firstName) && !TextUtils.isEmpty(lastName)) { in getDisplayName()
590 displayName = firstName + " " + lastName; in getDisplayName()
591 } else if (!TextUtils.isEmpty(firstName)) { in getDisplayName()
592 displayName = firstName; in getDisplayName()
624 final String firstName = galDataRow.get(GalData.FIRST_NAME); in getAlternateDisplayName() local
626 if (!TextUtils.isEmpty(firstName) && !TextUtils.isEmpty(lastName)) { in getAlternateDisplayName()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DRawContactUtil.java106 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() argument
108 return createRawContactWithName(resolver, firstName, lastName, null); in createRawContactWithName()
111 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() argument
114 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncContacts.java768 final String firstName = tryGetStringData(nameValues, StructuredName.GIVEN_NAME); in generateFileAs() local
773 if (firstName == null && lastName == null) { in generateFileAs()
799 if (firstName != null) { in generateFileAs()
800 builder.append(firstName + " "); in generateFileAs()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DContactsSyncParser.java96 String firstName = null; in addData() local
124 firstName = getValue(); in addData()
315 ops.addName(entity, prefix, firstName, lastName, middleName, suffix, in addData()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java8656 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
8659 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
8663 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
8666 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
8670 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
8675 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
8679 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
8684 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()