/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
PhonebookEntry.java | 80 public static class Phone { 86 if (!(o instanceof Phone)) { 90 Phone p = (Phone) o; 103 sb.append(" Phone: { number: "); 121 phones = new ArrayList<Phone>(); 126 phones = new ArrayList<Phone>(); 141 Phone phone = new Phone(); local [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/telephony/src/java/com/android/internal/telephony/ |
CallManager.java | 45 * and control calls. It implements Phone interface. 92 // list of registered phones, which are Phone objs 93 private final ArrayList<Phone> mPhones; 108 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>(); 110 // default phone as the first phone registered, which is Phone obj 111 private Phone mDefaultPhone; 190 mPhones = new ArrayList<Phone>(); 206 * Returns all the registered phone objects 338 Phone phone = null; local 351 Phone phone = null; local 1879 Phone phone = getPhone(subId); local 1956 Phone phone = getPhone(subId); local 1994 Phone phone = getPhone(subId); local [all...] |
CellBroadcastHandler.java | 42 private CellBroadcastHandler(Context context, Phone phone) { 43 this("CellBroadcastHandler", context, phone); 46 protected CellBroadcastHandler(String debugTag, Context context, Phone phone) { 47 super(debugTag, context, phone); 55 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, Phone phone) { 56 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone);
|
WakeLockStateMachine.java | 53 protected Phone mPhone; 64 protected WakeLockStateMachine(String debugTag, Context context, Phone phone) { 68 mPhone = phone; 80 public void updatePhoneObject(Phone phone) { 81 sendMessage(EVENT_UPDATE_PHONE_OBJECT, phone); 116 mPhone = (Phone) msg.obj; 117 log("updatePhoneObject: phone=" + mPhone.getClass().getSimpleName());
|
/packages/services/Telephony/tests/src/com/android/phone/ |
CdmaOptionsTest.java | 16 package com.android.phone; 28 import com.android.internal.telephony.Phone; 40 private Phone mMockPhone;
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
ExchangeAccountType.java | 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 146 kind.typeColumn = Phone.TYPE; 148 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE).setSpecificMax(1)); 149 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME).setSpecificMax(2)); 150 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK).setSpecificMax(2)); 151 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true) 153 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true) 156 .add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true).setSpecificMax(1)); 157 kind.typeList.add(buildPhoneType(Phone.TYPE_CAR).setSecondary(true).setSpecificMax(1)); 158 kind.typeList.add(buildPhoneType(Phone.TYPE_COMPANY_MAIN).setSecondary(true [all...] |
SamsungAccountType.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 132 kind.typeColumn = Phone.TYPE; 134 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 135 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 136 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); 137 kind.typeList.add(buildPhoneType(Phone.TYPE_MAIN)); 138 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true)); 139 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true)); 140 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true)); 141 kind.typeList.add(buildPhoneType(Phone.TYPE_RADIO).setSecondary(true)) [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
SamsungAccountType.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 129 kind.typeColumn = Phone.TYPE; 131 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 132 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 133 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); 134 kind.typeList.add(buildPhoneType(Phone.TYPE_MAIN)); 135 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true)); 136 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true)); 137 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true)); 138 kind.typeList.add(buildPhoneType(Phone.TYPE_RADIO).setSecondary(true)) [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
ContactUtil.java | 26 import android.provider.ContactsContract.CommonDataKinds.Phone; 46 * Utility class including logic to list, filter, and lookup phone and emails in CP2. 52 * Index of different columns in phone or email queries. All queries below should confirm to 80 public static final String SORT_KEY = Phone.SORT_KEY_PRIMARY; 83 Phone.CONTACT_ID, // 0 84 Phone.DISPLAY_NAME_PRIMARY, // 1 85 Phone.PHOTO_THUMBNAIL_URI, // 2 86 Phone.NUMBER, // 3 87 Phone.TYPE, // 4 88 Phone.LABEL, // [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
FrequentContactsCursorBuilder.java | 20 import android.provider.ContactsContract.CommonDataKinds.Phone; 32 * cursor to fill in contact details such as phone numbers and strip away invalid contacts. 83 // such as phone number and type. In order for the records to be usable by Bugle, we 102 // (multiple phone numbers etc.) and store that in an array list. Since the all 103 // contacts list only contains phone contacts, this step will ensure that we filter 151 // Perform secondary sorting on the phone type. Always place 155 if (phoneTypeLhs == Phone.TYPE_MOBILE && 156 phoneTypeRhs == Phone.TYPE_MOBILE) { 158 } else if (phoneTypeLhs == Phone.TYPE_MOBILE) { 160 } else if (phoneTypeRhs == Phone.TYPE_MOBILE) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CdmaOptions.java | 17 package com.android.phone; 32 import com.android.internal.telephony.Phone; 37 * List of Phone-specific settings screens. 56 private Phone mPhone; 60 public CdmaOptions(Phone phone) { 61 mPhone = phone; 64 public CdmaOptions(PreferenceFragment prefFragment, PreferenceScreen prefScreen, Phone phone) { 78 update(phone); [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 50 import com.android.internal.telephony.Phone; 56 import com.android.phone.MMIDialogActivity; 57 import com.android.phone.PhoneUtils; 58 import com.android.phone.R; 141 public Pair<WeakReference<TelephonyConnection>, Queue<Phone>> mEmergencyRetryCache; 205 Phone getPhone(int index); 206 Phone getDefaultPhone(); 207 Phone[] getPhones(); 212 public Phone getPhone(int index) { 217 public Phone getDefaultPhone() 288 final Phone phone = getPhoneForAccount(request.getAccountHandle(), false); local 325 final Phone phone = getPhoneForAccount(request.getAccountHandle(), false); local 351 final Phone phone = getPhoneForAccount(request.getAccountHandle(), false); local 429 final Phone phone = getPhoneForAccount(request.getAccountHandle(), isEmergencyNumber); local 473 final Phone phone = getPhoneForAccount(request.getAccountHandle(), local 683 Phone phone = getPhoneForAccount(accountHandle, isEmergency); local 793 Phone phone = getPhoneForAccount(accountHandle, isEmergency); local 1210 Phone phone = mPhoneFactoryProxy.getPhone(i); local 1431 Phone phone = telephonyConnection.getPhone().getDefaultPhone(); local [all...] |
RadioOnHelper.java | 25 import com.android.internal.telephony.Phone; 33 * Helper class that implements special behavior related to emergency calls or making phone calls 66 * - Power on the radio for each Phone 81 Phone phone = PhoneFactory.getPhone(i); local 82 if (phone == null) { 87 mListeners.get(i).waitForRadioOn(phone, this); 133 public boolean isOkToCall(Phone phone, int serviceState) { 134 return (mCallback == null) ? false : mCallback.isOkToCall(phone, serviceState) [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...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_FrequentsStrequentsTest.java | 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 118 Phone.NUMBER, 119 Phone.TYPE, 120 Phone.LABEL, 121 Phone.IS_SUPER_PRIMARY, 122 Phone.CONTACT_ID, 281 // Construct a uri for phone only favorites. 285 // Only the contacts with phone numbers are returned, in alphabetical order. Filtering 303 // Construct a uri for phone only favorites. 307 // Only the contacts with phone numbers are returned, in frequency ranking order [all...] |
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 36 import android.provider.ContactsContract.CommonDataKinds.Phone; 74 * Initiates phone calls or a text message. If there are multiple candidates, this class shows a 78 * <p>Note that this class initiates not only usual *phone* calls but also *SIP* calls. 80 * <p>TODO: clean up code and documents since it is quite confusing to use "phone numbers" or "phone 94 Phone._ID, 95 Phone.NUMBER, 96 Phone.IS_SUPER_PRIMARY, 99 Phone.TYPE, 100 Phone.LABEL [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
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...] |
/prebuilts/go/darwin-x86/src/encoding/xml/ |
example_test.go | 94 // some preset fields. Note that the Phone field isn't modified and that 108 Phone string 113 v := Result{Name: "none", Phone: "none"} 140 fmt.Printf("Phone: %q\n", v.Phone) 147 // Phone: "none"
|
/prebuilts/go/linux-x86/src/encoding/xml/ |
example_test.go | 94 // some preset fields. Note that the Phone field isn't modified and that 108 Phone string 113 v := Result{Name: "none", Phone: "none"} 140 fmt.Printf("Phone: %q\n", v.Phone) 147 // Phone: "none"
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmInboundSmsHandler.java | 26 import com.android.internal.telephony.Phone; 49 Phone phone) { 50 super("GsmInboundSmsHandler", context, storageMonitor, phone, 51 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone)); 52 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); 53 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi); 72 SmsStorageMonitor storageMonitor, Phone phone) { 73 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
AtPhonebook.java | 26 import android.provider.ContactsContract.CommonDataKinds.Phone; 47 * to AT+CPBR for the MC, RC, and DC phone books (missed, received, and 55 * to AT+CPBR for the ME phonebook (saved phone numbers). 58 Phone._ID, Phone.DISPLAY_NAME, Phone.NUMBER, Phone.TYPE 86 // package and class name to which we send intent to check phone book access permission 276 * for the selected phone book, but this causes problems for the 309 // Phone Book Read Reques [all...] |
/packages/apps/EmergencyInfo/src/com/android/emergency/ |
EmergencyContactManager.java | 32 * Provides methods to read name, phone number, photo, etc. from contacts. 52 ContactsContract.CommonDataKinds.Phone.NUMBER, 53 ContactsContract.CommonDataKinds.Phone.TYPE, 54 ContactsContract.CommonDataKinds.Phone.LABEL, 61 phoneType = ContactsContract.CommonDataKinds.Phone.getTypeLabel( 95 /** Returns whether the phone uri is not null and corresponds to an existing phone number. */ 121 /** Wrapper for a contact with a phone number. */ 126 * The contact uri is associated to a particular phone number and can be used to reload that 132 /** The emergency contact's phone number selected by the user. * [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
ContactListItemViewTest.java | 19 import android.provider.ContactsContract.CommonDataKinds.Phone; 84 (String) cursor.getAt(Phone.NUMBER, row), 95 (String) cursor.getAt(Phone.NUMBER, row), 119 (String) cursor.getAt(Phone.NUMBER, 1),
|