Home
last modified time | relevance | path

Searched refs:hasPhone (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java112 final boolean hasPhone = PhoneCapabilityTester.isPhone(mContext); in DataAction()
123 final Intent phoneIntent = hasPhone ? CallUtil.getCallIntent(number) in DataAction()
133 if (hasPhone && hasSms) { in DataAction()
138 } else if (hasPhone) { in DataAction()
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java306 if (contact.hasName() || contact.hasPhone() || contact.hasEmails()) { in loadFromCursor()
319 if (contact.hasPhone()) { in queryRawContactsForSimContacts()
335 if (contact.hasPhone()) { in queryRawContactsForSimContacts()
351 if (!contact.hasPhone() && contact.hasName()) { in queryRawContactsForSimContacts()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java22 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasPhone;
141 assertThat(cursor, hasPhone("15095550101")); in importFromSim()
147 assertThat(cursor, hasPhone("15095550102")); in importFromSim()
153 assertThat(cursor, hasPhone("15095550103")); in importFromSim()
184 assertThat(cursor, hasPhone("15095550111")); in importContactWhichOnlyHasPhone()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java85 if (!hasName() && !hasPhone() && !hasEmails()) return; in appendCreateContactOperations()
129 public boolean hasPhone() { in hasPhone() method in SimContact
DSimCard.java113 public boolean hasPhone() { in hasPhone() method in SimCard
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DContactsMatchers.java55 public static Matcher<Cursor> hasPhone(final String phone) { in hasPhone() method in ContactsMatchers.DataCursor
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java436 } else if (contact.hasPhone()) { in getItemLabel()