Home | History | Annotate | Download | only in phone

Lines Matching defs:phone

17 package com.android.phone;
58 import com.android.internal.telephony.Phone;
63 import com.android.phone.common.CallLogAsync;
68 * phone process.
74 * Phone app-wide debug level:
80 * Most individual classes in the phone app have a local DBG constant,
109 // the individual Activities of the Phone UI.
129 "com.android.phone.ACTION_HANG_UP_ONGOING_CALL";
140 Phone phone;
163 // True if we are beginning a call, but the phone state has not changed yet
166 // Last phone state seen by updatePhoneState()
207 * OUTSIDE of user interaction {@link PhoneUtils#startNewCall(Phone)}
220 // TODO: Having the phone process host the SIP service is only
258 PhoneUtils.cancelMmiCode(phone);
285 // If the phone is docked/undocked during a call, and no wired or BT headset
291 if (VDBG) Log.d(LOG_TAG, "received EVENT_DOCK_STATE_CHANGED. Phone inDock = "
324 if (phone == null) {
328 // Get the default phone
329 phone = PhoneFactory.getDefaultPhone();
331 // Start TelephonyDebugService After the default phone is created.
336 mCM.registerPhone(phone);
344 int phoneType = phone.getPhoneType();
352 // before registering for phone state changes
367 // during phone calls.
368 mUpdateLock = new UpdateLock("phone");
393 phone);
399 notifier = CallNotifier.init(this, phone, callLogger, callStateMonitor,
403 IccCard sim = phone.getIccCard();
426 //set the default values for the preferences in the phone.
433 // correctly, given the current state of the phone.
449 // phone.registerCdmaInformationRecord(mHandler, EVENT_UNSOL_CDMA_INFO_RECORD, null);
453 int hac = android.provider.Settings.System.getInt(phone.getContext().getContentResolver(),
482 * Returns the Phone associated with this instance
484 static Phone getPhone() {
485 return getInstance().phone;
497 * Returns PendingIntent for hanging up ongoing phone call. This will typically be used from
559 * we are trying to un-PUK-lock the phone. In other words, iff
653 * of the phone, and the current state of the in-call UI.
658 * It's safe to call this method regardless of the state of the Phone
660 * Phone UI (e.g. whether or not the InCallScreen is active.)
667 // the phone up to his/her face, we don't need to worry about
678 // user to put the phone straight into a pocket, in which case the
683 // Force the screen to be on if the phone is ringing or dialing,
686 // However, if the phone is disconnected while the user is in the
691 boolean isDialing = (phone.getForegroundCall().getState() == Call.State.DIALING);
710 * Notifies the phone app when the phone state changes.
712 * This method will updates various states inside Phone app (e.g. update-lock state, etc.)
749 PhoneUtils.displayMMIComplete(phone, getInstance(), mmiCode, null, null);
755 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
760 if (!TelephonyCapabilities.supportsOtasp(phone)) {
769 IccCard sim = phone.getIccCard();
773 //Register all events new to the new active phone
779 * Receiver for misc intent broadcasts the Phone app cares about.
788 phone.setRadioPower(enabled);
799 !phone.getDataRoamingEnabled()
801 && Phone.REASON_ROAMING_ON.equals(
821 if (TelephonyCapabilities.supportsEcm(phone)) {
832 + "but ECM isn't supported for phone: " + phone.getPhoneName());
845 * sent from framework's notification mechanism (which is outside Phone context).
914 * "Call origin" may be used by Contacts app to specify where the phone call comes from.
922 public static final String EXTRA_CALL_ORIGIN = "com.android.phone.CALL_ORIGIN";