Lines Matching refs:Phone
19 import static android.provider.ContactsContract.CommonDataKinds.Phone;
33 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM));
34 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT));
38 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME));
39 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK));
40 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE));
41 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER));
45 final CharSequence smsResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM,
49 final CharSequence callResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM,
55 CharSequence result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_HOME, "",
60 result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_MOBILE, "",
67 CharSequence result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_HOME, "",
72 result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_MOBILE, "",
84 Phone.TYPE_HOME));
92 assertEquals(R.string.sms_home, ContactDisplayUtils.getSmsLabelResourceId(Phone.TYPE_HOME));