Lines Matching refs:phone

17 package com.android.phone;
61 import com.android.phone.settings.SuppServicesUiUtil;
150 public static int placeOtaspCall(Context context, Phone phone, String number) { in placeOtaspCall() argument
171 connection = app.mCM.dial(phone, numberToDial, VideoProfile.STATE_AUDIO_ONLY); in placeOtaspCall()
184 int phoneType = phone.getPhoneType(); in placeOtaspCall()
304 static void displayMMIComplete(final Phone phone, Context context, final MmiCode mmiCode, in displayMMIComplete() argument
325 if (SubscriptionManager.isValidSubscriptionId(phone.getSubId())) { in displayMMIComplete()
327 phone.getSubId()); in displayMMIComplete()
333 text = SuppServicesUiUtil.handleCallerIdUssdResponse(app, context, phone, in displayMMIComplete()
386 createUssdDialog(app, context, text, phone, in displayMMIComplete()
401 createUssdDialog(app, context, text, phone, in displayMMIComplete()
458 phone.sendUssdResponse(inputText.getText().toString()); in displayMMIComplete()
488 phone.sendUssdResponse(inputText.getText().toString()); in displayMMIComplete()
576 Phone phone, int windowType) { in createUssdDialog() argument
607 if (phone != null && phone.getCarrierName() != null) { in createUssdDialog()
609 phone.getCarrierName())); in createUssdDialog()
627 static boolean cancelMmiCode(Phone phone) { in cancelMmiCode() argument
628 List<? extends MmiCode> pendingMmis = phone.getPendingMmiCodes(); in cancelMmiCode()
678 /* package */ static boolean isPhoneInEcm(Phone phone) { in isPhoneInEcm() argument
679 if ((phone != null) && TelephonyCapabilities.supportsEcm(phone)) { in isPhoneInEcm()
680 return phone.isInEcm(); in isPhoneInEcm()
709 public static PhoneAccountHandle makePstnPhoneAccountHandle(Phone phone) { in makePstnPhoneAccountHandle() argument
710 return makePstnPhoneAccountHandleWithPrefix(phone, "", false); in makePstnPhoneAccountHandle()
714 Phone phone, String prefix, boolean isEmergency) { in makePstnPhoneAccountHandleWithPrefix() argument
718 String.valueOf(phone.getFullIccSerialNumber()); in makePstnPhoneAccountHandleWithPrefix()
737 Phone phone = getPhoneForPhoneAccountHandle(handle); in getSubIdForPhoneAccountHandle() local
738 if (phone != null) { in getSubIdForPhoneAccountHandle()
739 return phone.getSubId(); in getSubIdForPhoneAccountHandle()
770 for (Phone phone : PhoneFactory.getPhones()) { in getPhoneFromIccId()
771 String phoneIccId = phone.getFullIccSerialNumber(); in getPhoneFromIccId()
773 return phone; in getPhoneFromIccId()
784 for (Phone phone : PhoneFactory.getPhones()) { in registerIccStatus()
785 IccCard sim = phone.getIccCard(); in registerIccStatus()
787 if (VDBG) Log.v(LOG_TAG, "register for ICC status, phone " + phone.getPhoneId()); in registerIccStatus()
788 sim.registerForNetworkLocked(handler, event, phone); in registerIccStatus()
827 for (Phone phone : PhoneFactory.getPhones()) { in setRadioPower()
828 phone.setRadioPower(enabled); in setRadioPower()