Home
last modified time | relevance | path

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

/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/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java221 String firstName = getString(cursor, cursor.getColumnIndex(CequintColumnNames.FIRST_NAME)); in lookup() local
229 ? generateDisplayName(firstName, lastName, company, name) in lookup()
270 String firstName, String lastName, String company, String name) { in generateDisplayName() argument
271 boolean hasFirstName = !TextUtils.isEmpty(firstName); in generateDisplayName()
280 stringBuilder.append(firstName); in generateDisplayName()
/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.java9635 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9638 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
9642 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9645 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
9649 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9654 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
9658 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9663 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()