Searched refs:hasPhone (Results 1 - 7 of 7) sorted by last modified time

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

Completed in 876 milliseconds