Home | History | Annotate | Download | only in phone

Lines Matching defs:phone

17 package com.android.phone;
56 import com.android.internal.telephony.Phone;
65 import com.android.phone.common.CallLogAsync;
66 import com.android.phone.settings.SettingsConstants;
67 import com.android.phone.vvm.CarrierVvmPackageInstalledReceiver;
76 * phone process.
82 * Phone app-wide debug level:
88 * Most individual classes in the phone app have a local DBG constant,
118 // the individual Activities of the Phone UI.
148 private Phone phoneInEcm;
248 // This should only run if the Phone process crashed and was restarted. We do
290 // Start TelephonyDebugService After the default phone is created.
295 for (Phone phone : PhoneFactory.getPhones()) {
296 mCM.registerPhone(phone);
310 // before registering for phone state changes
320 // during phone calls.
321 mUpdateLock = new UpdateLock("phone");
377 //set the default values for the preferences in the phone.
384 // correctly, given the current state of the phone.
392 // phone.registerCdmaInformationRecord(mHandler, EVENT_UNSOL_CDMA_INFO_RECORD, null);
426 * Returns the default phone.
430 public static Phone getPhone() {
434 public static Phone getPhone(int subId) {
475 * we are trying to un-PUK-lock the phone. In other words, iff
558 mPowerManager.wakeUp(SystemClock.uptimeMillis(), "android.phone:WAKE");
565 * of the phone, and the current state of the in-call UI.
570 * It's safe to call this method regardless of the state of the Phone
572 * Phone UI (e.g. whether or not the InCallScreen is active.)
579 // the phone up to his/her face, we don't need to worry about
590 // user to put the phone straight into a pocket, in which case the
595 // Force the screen to be on if the phone is ringing or dialing,
598 // However, if the phone is disconnected while the user is in the
696 * Receiver for misc intent broadcasts the Phone app cares about.
742 + "ECM isn't supported for phone: " + phoneInEcm.getPhoneName());
757 Phone phone = getPhone(mDefaultDataSubId);
758 if (phone != null) {
827 Phone phone = getPhone(mDefaultDataSubId);
828 if (phone == null) {
829 Log.w(LOG_TAG, "Can't get phone with sub id = " + mDefaultDataSubId);
834 boolean dataAllowed = phone.isDataAllowed(reasons);
856 public Phone getPhoneInEcm() {
877 Phone phone = getPhone(subId);
878 if (phone == null) {
879 Log.w(LOG_TAG, "clearMwiIndicator on null phone, subId:" + subId);
881 phone.setVoiceMessageCount(0);