Lines Matching refs:Phone
22 import android.provider.ContactsContract.CommonDataKinds.Phone;
32 * Handler for phone number data rows.
38 super(context, dbHelper, aggregator, Phone.CONTENT_ITEM_TYPE, Phone.TYPE, Phone.LABEL);
47 if (values.containsKey(Phone.NUMBER)) {
48 final String number = values.getAsString(Phone.NUMBER);
49 final String normalizedNumber = values.getAsString(Phone.NORMALIZED_NUMBER);
68 if (values.containsKey(Phone.NUMBER)) {
72 values.getAsString(Phone.NUMBER),
73 values.getAsString(Phone.NORMALIZED_NUMBER));
85 if (!values.containsKey(Phone.NUMBER)) {
86 values.remove(Phone.NORMALIZED_NUMBER);
91 final String number = values.getAsString(Phone.NUMBER);
92 final String numberE164 = values.getAsString(Phone.NORMALIZED_NUMBER);
96 values.put(Phone.NORMALIZED_NUMBER, newNumberE164);
142 case Phone.TYPE_MOBILE: return 0;
143 case Phone.TYPE_WORK: return 1;
144 case Phone.TYPE_HOME: return 2;
145 case Phone.TYPE_PAGER: return 3;
146 case Phone.TYPE_CUSTOM: return 4;
147 case Phone.TYPE_OTHER: return 5;
148 case Phone.TYPE_FAX_WORK: return 6;
149 case Phone.TYPE_FAX_HOME: return 7;
156 return values.containsKey(Phone.NUMBER);
161 String number = builder.getString(Phone.NUMBER);