Searched refs:hasPhone (Results 1 – 7 of 7) sorted by relevance
107 final boolean hasPhone = PhoneCapabilityTester.isPhone(mContext); in DataAction()118 final Intent phoneIntent = hasPhone ? CallUtil.getCallIntent(number) in DataAction()128 if (hasPhone && hasSms) { in DataAction()133 } else if (hasPhone) { in DataAction()
298 if (contact.hasName() || contact.hasPhone()) { in loadFromCursor()311 if (contact.hasPhone()) { in queryRawContactsForSimContacts()327 if (contact.hasPhone()) { in queryRawContactsForSimContacts()343 if (!contact.hasPhone() && contact.hasName()) { in queryRawContactsForSimContacts()
22 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasPhone;144 assertThat(cursor, hasPhone("15095550101")); in importFromSim()150 assertThat(cursor, hasPhone("15095550102")); in importFromSim()156 assertThat(cursor, hasPhone("15095550103")); in importFromSim()187 assertThat(cursor, hasPhone("15095550111")); in importContactWhichOnlyHasPhone()
85 if (!hasName() && !hasPhone() && !hasEmails()) return; in appendCreateContactOperations()129 public boolean hasPhone() { in hasPhone() method in SimContact
109 public boolean hasPhone() { in hasPhone() method in SimCard
55 public static Matcher<Cursor> hasPhone(final String phone) { in hasPhone() method in ContactsMatchers.DataCursor
436 } else if (contact.hasPhone()) { in getItemLabel()