/packages/apps/Phone/tests/ |
Android.mk | 28 LOCAL_INSTRUMENTATION_FOR := Phone
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
Constants.java | 20 import android.provider.ContactsContract.CommonDataKinds.Phone; 29 * Specific MIME-type for {@link Phone#CONTENT_ITEM_TYPE} entries that
|
ContactsUtils.java | 36 import android.provider.ContactsContract.CommonDataKinds.Phone; 56 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) 58 // Reset to phone mimetype so we generate a label for SMS case 59 mimeType = Phone.CONTENT_ITEM_TYPE; 60 colType = cursor.getColumnIndex(Phone.TYPE); 61 colLabel = cursor.getColumnIndex(Phone.LABEL); 88 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 89 defaultType = Phone.TYPE_HOME; 90 customType = Phone.TYPE_CUSTOM; 293 String phone = null local [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
ValuesDeltaTests.java | 24 import android.provider.ContactsContract.CommonDataKinds.Phone; 45 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); 63 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); 75 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); 78 values.put(Phone.NUMBER, TEST_PHONE_NUMBER_2);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList2.java | 26 import android.provider.ContactsContract.CommonDataKinds.Phone; 43 Phone._ID, 44 Phone.NUMBER 89 // Return a cursor that points to this contact's phone numbers 96 PHONE_NUMBER_PROJECTION, Phone.MIMETYPE + "=?", 97 new String[] { Phone.CONTENT_ITEM_TYPE }, null); 117 new String[] { Phone.NUMBER }, // Number for child layouts
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RawContactDeltaTests.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 74 final ContentValues phone = new ContentValues(); local 75 phone.put(Data._ID, phoneId); 76 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 77 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); 78 phone.put(Phone.TYPE, Phone.TYPE_HOME) 107 final ContentValues phone = new ContentValues(); local 181 final ContentValues phone = new ContentValues(); local 221 final ContentValues phone = new ContentValues(); local 346 final ContentValues phone = new ContentValues(); local [all...] |
RawContactModifierTests.java | 32 import android.provider.ContactsContract.CommonDataKinds.Phone; 98 // Phone allows maximum 2 home, 1 work, and unlimited other, with 101 Phone.CONTENT_ITEM_TYPE, -1, 10, true); 104 phoneKind.typeColumn = Phone.TYPE; 106 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2)); 107 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1)); 108 phoneKind.typeList.add(new EditType(Phone.TYPE_FAX_WORK, -1).setSecondary(true)); 109 phoneKind.typeList.add(new EditType(Phone.TYPE_OTHER, -1)); 112 phoneKind.fieldList.add(new EditField(Phone.NUMBER, -1, -1)); 113 phoneKind.fieldList.add(new EditField(Phone.LABEL, -1, -1)) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
Use2GOnlyCheckBoxPreference.java | 17 package com.android.phone; 28 import com.android.internal.telephony.Phone; 33 private Phone mPhone; 54 Phone.PREFERRED_NT_MODE); 63 int networkType = isChecked() ? Phone.NT_MODE_GSM_ONLY : getDefaultNetworkMode(); 94 if (type != Phone.NT_MODE_GSM_ONLY) { 99 setChecked(type == Phone.NT_MODE_GSM_ONLY);
|
CdmaSubscriptionListPreference.java | 17 package com.android.phone; 30 import com.android.internal.telephony.Phone; 45 private Phone mPhone; 87 statusCdmaSubscriptionMode = Phone.CDMA_SUBSCRIPTION_NV; 90 statusCdmaSubscriptionMode = Phone.CDMA_SUBSCRIPTION_RUIM_SIM; 93 statusCdmaSubscriptionMode = Phone.PREFERRED_CDMA_SUBSCRIPTION;
|
GsmUmtsCallOptions.java | 17 package com.android.phone; 25 import com.android.internal.telephony.Phone;
|
CdmaOptions.java | 17 package com.android.phone; 30 import com.android.internal.telephony.Phone; 35 * List of Phone-specific settings screens. 49 private Phone mPhone; 51 public CdmaOptions(PreferenceActivity prefActivity, PreferenceScreen prefScreen, Phone phone) { 54 mPhone = phone;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 43 static private Phone sProxyPhone = null; 65 synchronized(Phone.class) { 105 preferredNetworkMode = Phone.NT_MODE_GLOBAL; 169 public static Phone getDefaultPhone() { 181 public static Phone getCdmaPhone() { 182 Phone phone; local 186 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier); 192 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier); 197 return phone; 202 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier); local [all...] |
CallManager.java | 42 * and control calls. It implements Phone interface. 86 private final ArrayList<Phone> mPhones; 100 // default phone as the first phone registered, which is PhoneBase obj 101 private Phone mDefaultPhone; 170 mPhones = new ArrayList<Phone>(); 188 * @param phone a Phone object 189 * @return the corresponding PhoneBase obj in Phone if Phone [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
ContactTileLoaderFactory.java | 22 import android.provider.ContactsContract.CommonDataKinds.Phone; 58 * and status data and the addition of phone number and label. 66 Phone.NUMBER, // ..........................................5 67 Phone.TYPE, // ............................................6 68 Phone.LABEL // ............................................7
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialCache.java | 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 79 Uri URI = Phone.CONTENT_URI.buildUpon(). 86 Phone._ID, // 0 87 Phone.TYPE, // 1 88 Phone.LABEL, // 2 89 Phone.NUMBER, // 3 90 Phone.CONTACT_ID, // 4 91 Phone.LOOKUP_KEY, // 5 92 Phone.DISPLAY_NAME_PRIMARY, // 6 96 Phone._ID, // [all...] |
/packages/apps/Phone/ |
Android.mk | 3 # Build the Phone app which includes the emergency dialer. See Contacts 8 LOCAL_STATIC_JAVA_LIBRARIES := com.android.phone.shared 11 src/com/android/phone/EventLogTags.logtags \ 12 src/com/android/phone/INetworkQueryService.aidl \ 13 src/com/android/phone/INetworkQueryServiceCallback.aidl 15 LOCAL_PACKAGE_NAME := Phone
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DataTest.java | 32 import android.provider.ContactsContract.CommonDataKinds.Phone; 126 rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE) 127 .with(Phone.DATA, "123456789") 128 .with(Phone.TYPE, Phone.TYPE_MOBILE) 132 cv.put(Phone.DATA, "123456789"); 133 cv.put(Phone.TYPE, Phone.TYPE_MOBILE); 135 // Contactables Uri should return only email and phone data items. 223 values.put(CommonDataKinds.Phone.NUMBER, "555-5555") [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
GoogleAccountType.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 80 kind.typeColumn = Phone.TYPE; 82 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 83 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); 84 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 85 kind.typeList.add(buildPhoneType(Phone.TYPE_MAIN)); 86 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true)); 87 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true)); 88 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true)); 89 kind.typeList.add(buildPhoneType(Phone.TYPE_OTHER)) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
GoogleSource.java | 38 import android.provider.ContactsContract.CommonDataKinds.Phone; 87 kind.typeColumn = Phone.TYPE; 89 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 90 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 91 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); 92 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true)); 93 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true)); 94 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true)); 95 kind.typeList.add(buildPhoneType(Phone.TYPE_OTHER)); 96 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn [all...] |
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 35 import android.provider.ContactsContract.CommonDataKinds.Phone; 62 * Initiates phone calls or a text message. If there are multiple candidates, this class shows a 66 * Note that this class initiates not only usual *phone* calls but also *SIP* calls. 68 * TODO: clean up code and documents since it is quite confusing to use "phone numbers" or 69 * "phone calls" here while they can be SIP addresses or SIP calls (See also issue 5039627). 75 * A model object for capturing a phone number for a given contact. 85 /** {@link Phone#CONTENT_ITEM_TYPE} or {@link SipAddress#CONTENT_ITEM_TYPE}. */ 124 return MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, phoneNumber, 125 Phone.CONTENT_ITEM_TYPE, phoneItem.phoneNumber); 148 * A list adapter that populates the list of contact's phone numbers [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardImporterTests.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; [all...] |
VCardJapanizationTests.java | 21 import android.provider.ContactsContract.CommonDataKinds.Phone; 365 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) 366 .put(Phone.NUMBER, "0312341234") 367 .put(Phone.TYPE, Phone.TYPE_HOME); 368 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) 369 .put(Phone.NUMBER, "09012341234") 370 .put(Phone.TYPE, Phone.TYPE_MOBILE); 387 entry.addContentValues(Phone.CONTENT_ITEM_TYPE [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardUtils.java | 19 import android.provider.ContactsContract.CommonDataKinds.Phone; 132 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR); 133 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR); 134 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER); 135 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER); 136 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN); 137 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN); 139 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME); 140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK); 141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
AtPhonebook.java | 30 import android.provider.ContactsContract.CommonDataKinds.Phone; 46 * to AT+CPBR for the MC, RC, and DC phone books (missed, received, and 54 * to AT+CPBR for the ME phonebook (saved phone numbers). 57 Phone._ID, Phone.DISPLAY_NAME, Phone.NUMBER, Phone.TYPE 67 private static final String VISIBLE_PHONEBOOK_WHERE = Phone.IN_VISIBLE_GROUP + "=1"; 85 // package and class name to which we send intent to check phone book access permission 267 * for the selected phone book, but this causes problems for th [all...] |
/frameworks/base/core/java/android/provider/ |
CallLog.java | 26 import android.provider.ContactsContract.CommonDataKinds.Phone; 56 * The content:// style URL for filtering this table on phone numbers 134 * The phone number as the user entered it. 169 * The cached name associated with the phone number, if it exists. 178 * phone number, if it exists. 187 * phone number, if it exists. 220 * The cached URI to look up the contact associated with the phone number, if it exists. 229 * The cached phone number of the contact which matches this entry, if it exists. 238 * The cached normalized version of the phone number, if it exists. 247 * The cached photo id of the picture associated with the phone number, if it exists [all...] |