Searched refs:hasName (Results 1 – 8 of 8) sorted by relevance
21 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasName;143 assertThat(cursor, hasName("Test One")); in importFromSim()149 assertThat(cursor, hasName("Test Two")); in importFromSim()155 assertThat(cursor, hasName("Test Three")); in importFromSim()172 assertThat(cursor, hasName("Test importJustName")); in importContactWhichOnlyHasName()
298 if (contact.hasName() || contact.hasPhone()) { in loadFromCursor()313 } else if (contact.hasName()) { in queryRawContactsForSimContacts()343 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()
434 if (contact.hasName()) { in getItemLabel()