Lines Matching refs:phone
17 package com.android.phone;
53 import com.android.internal.telephony.Phone;
58 import com.android.phone.common.CallLogAsync;
59 import com.android.phone.settings.SettingsConstants;
65 * phone process.
71 * Phone app-wide debug level:
77 * Most individual classes in the phone app have a local DBG constant,
105 // the individual Activities of the Phone UI.
136 private Phone phoneInEcm;
245 // This should only run if the Phone process crashed and was restarted. We do
282 // Start TelephonyDebugService After the default phone is created.
287 for (Phone phone : PhoneFactory.getPhones()) {
288 mCM.registerPhone(phone);
302 // before registering for phone state changes
312 // during phone calls.
313 mUpdateLock = new UpdateLock("phone");
360 //set the default values for the preferences in the phone.
367 // correctly, given the current state of the phone.
382 // phone.registerCdmaInformationRecord(mHandler, EVENT_UNSOL_CDMA_INFO_RECORD, null);
416 * Returns the default phone.
420 public static Phone getPhone() {
424 public static Phone getPhone(int subId) {
481 * we are trying to un-PUK-lock the phone. In other words, iff
564 mPowerManager.wakeUp(SystemClock.uptimeMillis(), "android.phone:WAKE");
571 * of the phone, and the current state of the in-call UI.
576 * It's safe to call this method regardless of the state of the Phone
578 * Phone UI (e.g. whether or not the InCallScreen is active.)
585 // the phone up to his/her face, we don't need to worry about
596 // user to put the phone straight into a pocket, in which case the
601 // Force the screen to be on if the phone is ringing or dialing,
604 // However, if the phone is disconnected while the user is in the
628 final Phone phone = PhoneFactory.getPhone(phoneId);
629 if (phone == null || !TelephonyCapabilities.supportsOtasp(phone)) {
707 * Receiver for misc intent broadcasts the Phone app cares about.
734 Phone phone = SubscriptionManager.isValidPhoneId(phoneId) ?
741 !phone.getDataRoamingEnabled()
743 && Phone.REASON_ROAMING_ON.equals(
785 + "ECM isn't supported for phone: " + phoneInEcm.getPhoneName());
832 public Phone getPhoneInEcm() {
853 Phone phone = getPhone(subId);
854 if (phone == null) {
855 Log.w(LOG_TAG, "clearMwiIndicator on null phone, subId:" + subId);
857 phone.setVoiceMessageCount(0);