Home
last modified time | relevance | path

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

/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()
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.java413 String firstName = null; in lookupFirstName() local
419 firstName = nameCursor.getString(ContactUtil.INDEX_STRUCTURED_NAME_GIVEN_NAME); in lookupFirstName()
426 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.java8987 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
8990 return createContact(values, firstName, givenName, phoneNumber, email, presenceStatus, in createContact()
8994 private long createContact(ContentValues values, String firstName, String givenName, in createContact() argument
8997 return queryContactId(createRawContact(values, firstName, givenName, phoneNumber, email, in createContact()
9001 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9006 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()
9010 private long createRawContact(ContentValues values, String firstName, String givenName, in createRawContact() argument
9015 DataUtil.insertStructuredName(mResolver, rawContactId, firstName, givenName); in createRawContact()