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.java608 final HashMap<String, Integer> map, final String firstName) { in firstNameUsedMoreThanOnce() argument
612 if (firstName == null) { in firstNameUsedMoreThanOnce()
615 final Integer count = map.get(firstName); in firstNameUsedMoreThanOnce()
649 final String firstName = participant.getFirstName(); in scanFirstNames() local
650 if (firstName == null) { in scanFirstNames()
654 final int currentCount = firstNames.containsKey(firstName) in scanFirstNames()
655 ? firstNames.get(firstName) in scanFirstNames()
657 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.java438 public void setFirstName(final String firstName) { in setFirstName() argument
439 mFirstName = firstName; in setFirstName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java9661 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9664 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
9668 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
9671 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
9675 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9680 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
9684 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9689 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()