Home | History | Annotate | Download | only in phone

Lines Matching refs:phone

17 package com.android.phone;
52 import com.android.internal.telephony.Phone;
57 import com.android.phone.common.CallLogAsync;
58 import com.android.phone.settings.SettingsConstants;
64 * phone process.
70 * Phone app-wide debug level:
76 * Most individual classes in the phone app have a local DBG constant,
104 // the individual Activities of the Phone UI.
135 private Phone phoneInEcm;
244 // This should only run if the Phone process crashed and was restarted. We do
281 // Start TelephonyDebugService After the default phone is created.
286 for (Phone phone : PhoneFactory.getPhones()) {
287 mCM.registerPhone(phone);
301 // before registering for phone state changes
311 // during phone calls.
312 mUpdateLock = new UpdateLock("phone");
359 //set the default values for the preferences in the phone.
366 // correctly, given the current state of the phone.
381 // phone.registerCdmaInformationRecord(mHandler, EVENT_UNSOL_CDMA_INFO_RECORD, null);
415 * Returns the default phone.
419 public static Phone getPhone() {
423 public static Phone getPhone(int subId) {
480 * we are trying to un-PUK-lock the phone. In other words, iff
563 mPowerManager.wakeUp(SystemClock.uptimeMillis(), "android.phone:WAKE");
570 * of the phone, and the current state of the in-call UI.
575 * It's safe to call this method regardless of the state of the Phone
577 * Phone UI (e.g. whether or not the InCallScreen is active.)
584 // the phone up to his/her face, we don't need to worry about
595 // user to put the phone straight into a pocket, in which case the
600 // Force the screen to be on if the phone is ringing or dialing,
603 // However, if the phone is disconnected while the user is in the
627 final Phone phone = PhoneFactory.getPhone(phoneId);
628 if (phone == null || !TelephonyCapabilities.supportsOtasp(phone)) {
706 * Receiver for misc intent broadcasts the Phone app cares about.
733 Phone phone = SubscriptionManager.isValidPhoneId(phoneId) ?
740 !phone.getDataRoamingEnabled()
742 && Phone.REASON_ROAMING_ON.equals(
784 + "ECM isn't supported for phone: " + phoneInEcm.getPhoneName());
831 public Phone getPhoneInEcm() {
852 Phone phone = getPhone(subId);
853 if (phone == null) {
854 Log.w(LOG_TAG, "clearMwiIndicator on null phone, subId:" + subId);
856 phone.setVoiceMessageCount(0);