Home | History | Annotate | Download | only in platform

Lines Matching refs:phone

29 import android.provider.ContactsContract.CommonDataKinds.Phone;
172 * Adds a phone number
174 * @param phone new phone number for the contact
178 public ContactOperations addPhone(String phone, int phoneType) {
180 if (!TextUtils.isEmpty(phone)) {
181 mValues.put(Phone.NUMBER, phone);
182 mValues.put(Phone.TYPE, phoneType);
183 mValues.put(Phone.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
315 * Updates contact's phone
317 * @param existingNumber phone number stored in contacts provider
318 * @param phone new phone number for the contact
322 public ContactOperations updatePhone(String existingNumber, String phone, Uri uri) {
323 if (!TextUtils.equals(phone, existingNumber)) {
325 mValues.put(Phone.NUMBER, phone);
364 mValues.put(Phone.RAW_CONTACT_ID, mRawContactId);