Searched refs:hasName (Results 1 – 8 of 8) sorted by relevance
21 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasName;141 assertThat(cursor, hasName("Test One")); in importFromSim()147 assertThat(cursor, hasName("Test Two")); in importFromSim()153 assertThat(cursor, hasName("Test Three")); in importFromSim()170 assertThat(cursor, hasName("Test importJustName")); in importContactWhichOnlyHasName()
306 if (contact.hasName() || contact.hasPhone() || contact.hasEmails()) { in loadFromCursor()321 } else if (contact.hasName()) { in queryRawContactsForSimContacts()351 if (!contact.hasPhone() && contact.hasName()) { in queryRawContactsForSimContacts()
85 if (!hasName() && !hasPhone() && !hasEmails()) return; in appendCreateContactOperations()125 public boolean hasName() { in hasName() method in SimContact
274 boolean hasName = !TextUtils.isEmpty(name); in generateDisplayName()290 } else if (hasName) { in generateDisplayName()
267 if (hasName(contactInfo)) { in lookupNumberInRemoteDirectory()275 public boolean hasName(ContactInfo contactInfo) { in hasName() method in ContactInfoHelper578 if (hasName(updatedInfo)) { in updateCachedNumberLookupService()
48 public static Matcher<Cursor> hasName(final String name) { in hasName() method in ContactsMatchers.DataCursor
175 if (!contactInfoHelper.hasName(info)) { in queryContactInfo()
435 if (contact.hasName()) { in getItemLabel()