Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java197 String firstName = getString(cursor, cursor.getColumnIndex(FIRST_NAME)); in lookup() local
204 ? generateDisplayName(firstName, lastName, company, name) in lookup()
241 String firstName, String lastName, String company, String name) { in generateDisplayName() argument
242 boolean hasFirstName = !TextUtils.isEmpty(firstName); in generateDisplayName()
251 stringBuilder.append(firstName); in generateDisplayName()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DRawContactUtil.java104 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() argument
106 return createRawContactWithName(resolver, firstName, lastName, null); in createRawContactWithName()
109 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() argument
112 DataUtil.insertStructuredName(resolver, rawContactId, firstName, lastName); in createRawContactWithName()
DDatabaseAsserts.java72 String firstName, String lastName) { in assertAndCreateContactWithName() argument
73 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName); in assertAndCreateContactWithName()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java609 final HashMap<String, Integer> map, final String firstName) { in firstNameUsedMoreThanOnce() argument
613 if (firstName == null) { in firstNameUsedMoreThanOnce()
616 final Integer count = map.get(firstName); in firstNameUsedMoreThanOnce()
647 final String firstName = participant.getFirstName(); in scanFirstNames() local
648 if (firstName == null) { in scanFirstNames()
652 final int currentCount = firstNames.containsKey(firstName) in scanFirstNames()
653 ? firstNames.get(firstName) in scanFirstNames()
655 firstNames.put(firstName, currentCount + 1); in scanFirstNames()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java447 String firstName = null; in lookupFirstName() local
453 firstName = nameCursor.getString(ContactUtil.INDEX_STRUCTURED_NAME_GIVEN_NAME); in lookupFirstName()
460 return firstName; in lookupFirstName()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java404 public void setFirstName(final String firstName) { in setFirstName() argument
405 mFirstName = firstName; in setFirstName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java9763 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9766 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
9770 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9773 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
9777 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9782 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
9786 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9791 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()