/packages/services/Telephony/src/com/android/services/telephony/ |
D | RadioOnStateListener.java | 90 private Phone mPhone; // The phone that will attempt to place the call. field in RadioOnStateListener 110 if (mPhone != null) { in waitForRadioOn() 134 mPhone = phone; in startSequenceInternal() 151 mPhone.getPhoneId()); in onServiceStateChanged() 176 return (mCallback == null) ? false : mCallback.isOkToCall(mPhone, serviceState); in isOkToCall() 183 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout() 185 mPhone.getState(), serviceState, mNumRetriesSoFar); in onRetryTimeout() 211 mPhone.setRadioPower(true); in onRetryTimeout() 245 mPhone = null; in cleanup() 263 mPhone.registerForServiceStateChanged(mHandler, MSG_SERVICE_STATE_CHANGED, null); in registerForServiceStateChanged() [all …]
|
D | PstnIncomingCallNotifier.java | 58 private final Phone mPhone; field in PstnIncomingCallNotifier 90 mPhone = phone; in PstnIncomingCallNotifier() 103 if (mPhone != null) { in registerForNotifications() 104 Log.i(this, "Registering: %s", mPhone); in registerForNotifications() 105 mPhone.registerForNewRingingConnection(mHandler, EVENT_NEW_RINGING_CONNECTION, null); in registerForNotifications() 106 mPhone.registerForCallWaiting(mHandler, EVENT_CDMA_CALL_WAITING, null); in registerForNotifications() 107 mPhone.registerForUnknownConnection(mHandler, EVENT_UNKNOWN_CONNECTION, null); in registerForNotifications() 112 if (mPhone != null) { in unregisterForNotifications() 113 Log.i(this, "Unregistering: %s", mPhone); in unregisterForNotifications() 114 mPhone.unregisterForNewRingingConnection(mHandler); in unregisterForNotifications() [all …]
|
D | TelecomAccountRegistry.java | 82 private final Phone mPhone; field in TelecomAccountRegistry.AccountEntry 105 mPhone = phone; in AccountEntry() 111 mIncomingCallNotifier = new PstnIncomingCallNotifier((Phone) mPhone); in AccountEntry() 112 mPhoneCapabilitiesNotifier = new PstnPhoneCapabilitiesNotifier((Phone) mPhone, in AccountEntry() 122 if (mPhone.getContext().getPackageManager().hasSystemFeature( in AccountEntry() 204 mPhone, dummyPrefix, isEmergency); in buildPstnPhoneAccount() 207 int subId = mPhone.getSubId(); in buildPstnPhoneAccount() 208 String subscriberId = mPhone.getSubscriberId(); in buildPstnPhoneAccount() 215 String subNumber = mPhone.getLine1Number(); in buildPstnPhoneAccount() 289 mIsVideoCapable = mPhone.isVideoEnabled() && !mIsRttCapable; in buildPstnPhoneAccount() [all …]
|
D | PstnPhoneCapabilitiesNotifier.java | 40 private final Phone mPhone; field in PstnPhoneCapabilitiesNotifier 60 mPhone = phone; in PstnPhoneCapabilitiesNotifier() 72 if (mPhone != null) { in registerForNotifications() 73 Log.d(this, "Registering: " + mPhone); in registerForNotifications() 74 mPhone.registerForVideoCapabilityChanged(mHandler, EVENT_VIDEO_CAPABILITIES_CHANGED, in registerForNotifications() 80 if (mPhone != null) { in unregisterForNotifications() 81 Log.d(this, "Unregistering: " + mPhone); in unregisterForNotifications() 82 mPhone.unregisterForVideoCapabilityChanged(mHandler); in unregisterForNotifications()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimContact.java | 48 private final String mPhone; field in SimContact 58 mPhone = phone == null ? "" : phone.trim(); in SimContact() 63 this(other.mId, other.mName, other.mPhone, other.mEmails); in SimContact() 75 return mPhone; in getPhone() 98 if (!mPhone.isEmpty()) { in appendCreateContactOperations() 100 Phone.NUMBER, mPhone)); in appendCreateContactOperations() 130 return !mPhone.isEmpty(); in hasPhone() 145 } else if (mPhone != null) { in getLookupKey() 146 return "sim-p-" + Uri.encode(mPhone); in getLookupKey() 157 ", mPhone='" + mPhone + '\'' + in toString() [all …]
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 72 private Phone mPhone; field in OtaspActivationService 79 mPhone = PhoneGlobals.getPhone(); in onCreate() 80 if ((sIccId == null) || !sIccId.equals(mPhone.getIccSerialNumber())) { in onCreate() 82 sIccId = mPhone.getIccSerialNumber(); in onCreate() 144 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onStartOtaspCall() 146 mPhone.registerForServiceStateChanged(mHandler, EVENT_SERVICE_STATE_CHANGED, null); in onStartOtaspCall() 150 mPhone.registerForCdmaOtaStatusChange(mHandler, EVENT_CDMA_PROVISION_STATUS_UPDATE, null); in onStartOtaspCall() 151 mPhone.registerForPreciseCallStateChanged(mHandler, EVENT_CALL_STATE_CHANGED, null); in onStartOtaspCall() 185 logd("onOtaspCallStateChanged: " + mPhone.getState()); in onOtaspCallStateChanged() 186 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) { in onOtaspCallStateChanged() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallFeaturesSetting.java | 98 private Phone mPhone; field in CallFeaturesSetting 116 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick() 146 && mPhone != null in doSsOverUtPrecautions() 147 && SuppServicesUiUtil.isSsOverUtPrecautions(this, mPhone)) { in doSsOverUtPrecautions() 148 SuppServicesUiUtil.showBlockingSuppServicesDialog(this, mPhone, in doSsOverUtPrecautions() 215 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 286 updateImsManager(mPhone); in onResume() 296 .createForSubscriptionId(mPhone.getSubId()); in onResume() 324 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in onResume() 347 int phoneType = mPhone.getPhoneType(); in onResume() [all …]
|
D | GsmUmtsAdditionalCallOptions.java | 33 private Phone mPhone; field in GsmUmtsAdditionalCallOptions 50 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 79 boolean isSsOverUtPrecautions = SuppServicesUiUtil.isSsOverUtPrecautions(this, mPhone); in onCreate() 113 mCWButton.init(this, true, mPhone); in onCreate() 116 mCLIRButton.init(this, true, mPhone); in onCreate() 125 mCLIRButton.init(this, false, mPhone); in onCreate() 142 boolean isPrecaution = SuppServicesUiUtil.isSsOverUtPrecautions(this, mPhone); in onResume() 216 ((CallWaitingSwitchPreference) pref).init(this, false, mPhone); in doPreferenceInit() 218 ((CLIRListPreference) pref).init(this, false, mPhone); in doPreferenceInit() 226 return SuppServicesUiUtil.showBlockingSuppServicesDialog(this, mPhone, BUTTON_CW_KEY); in onCreateDialog() [all …]
|
D | MMIDialogActivity.java | 48 private Phone mPhone; field in MMIDialogActivity 57 mPhone = PhoneGlobals.getPhone(subId); in onCreate() 58 if (mPhone == null) { in onCreate() 96 final List<MmiCode> codes = new ArrayList<>(mPhone.getPendingMmiCodes()); in showMMIDialog() 98 if (mPhone.getImsPhone() != null) { in showMMIDialog() 99 codes.addAll(mPhone.getImsPhone().getPendingMmiCodes()); in showMMIDialog() 122 int phoneType = mPhone.getPhoneType(); in onMMIComplete() 124 PhoneUtils.displayMMIComplete(mPhone, this, mmiCode, null, null); in onMMIComplete() 144 PhoneUtils.cancelMmiCode(mPhone); in onMMICancel()
|
D | EmergencyCallbackModeExitDialog.java | 70 private Phone mPhone = null; field in EmergencyCallbackModeExitDialog 76 mPhone = PhoneGlobals.getInstance().getPhoneInEcm(); in onCreate() 78 if (mPhone == null || !mPhone.isInEcm()) { in onCreate() 79 Log.i(TAG, "ECMModeExitDialog launched - isInEcm: false" + " phone:" + mPhone); in onCreate() 83 Log.i(TAG, "ECMModeExitDialog launched - isInEcm: true" + " phone:" + mPhone); in onCreate() 94 mPhone.registerForEcmTimerReset(mTimerResetHandler, ECM_TIMER_RESET, null); in onCreate() 111 if (mPhone != null) { in onDestroy() 112 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy() 229 mPhone.exitEmergencyCallbackMode(); in onCreateDialog()
|
D | GsmUmtsCallBarringOptions.java | 110 private Phone mPhone; field in GsmUmtsCallBarringOptions 160 mPhone.setCallBarring(CommandsInterface.CB_FACILITY_BA_ALL, false, password, onComplete, 0); in disableAllBarring() 212 ((GsmCdmaPhone) mPhone).changeCallBarringPassword( in updatePWChangeState() 361 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 367 mPhone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in onCreate() 425 ImsPhone imsPhone = mPhone != null ? (ImsPhone) mPhone.getImsPhone() : null; in onCreate() 435 SubscriptionManager.getSlotIndex(mPhone.getSubId())) in onCreate() 441 mButtonDisableAll.init(mPhone); in onCreate() 476 pref.init(this, true, mPhone); in onCreate() 500 mPreferences.get(mInitIndex).init(this, false, mPhone); in onResume() [all …]
|
D | CallBarringEditPreference.java | 66 private Phone mPhone; field in CallBarringEditPreference 89 mPhone = PhoneFactory.getDefaultPhone(); in CallBarringEditPreference() 114 mPhone = phone; in init() 119 mPhone.getCallBarring(mFacility, "", mHandler.obtainMessage( in init() 238 mPhone.setCallBarring(mFacility, !mIsActivated, password, in onDialogClosed() 259 ImsPhone imsPhone = mPhone != null ? (ImsPhone) mPhone.getImsPhone() : null; in setShowPassword() 316 ImsPhone imsPhone = pref.mPhone != null in handleGetCallBarringResponse() 317 ? (ImsPhone) pref.mPhone.getImsPhone() : null; in handleGetCallBarringResponse() 375 pref.mPhone.getCallBarring( in handleSetCallBarringResponse()
|
D | EmergencyCallbackModeService.java | 59 private Phone mPhone = null; field in EmergencyCallbackModeService 94 mPhone = phoneInEcm; in onCreate() 95 mPhone.registerForEcmTimerReset(mHandler, ECM_TIMER_RESET, null); in onCreate() 102 if (mPhone != null) { in onDestroy() 106 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy() 173 Phone imsPhone = mPhone.getImsPhone(); in showNotification() 174 boolean isInEcm = mPhone.isInEcm() || (imsPhone != null && imsPhone.isInEcm()); in showNotification()
|
D | CLIRListPreference.java | 27 private Phone mPhone; field in CLIRListPreference 50 mPhone.setOutgoingCallerIdDisplay(convertValueToCLIRMode(getValue()), in onDialogClosed() 59 mPhone = phone; in init() 62 .getCarrierConfigForSubId(mPhone.getSubId()) in init() 76 mPhone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR, in init() 208 mPhone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR, in handleSetCLIRResponse()
|
D | CallWaitingSwitchPreference.java | 21 private Phone mPhone; field in CallWaitingSwitchPreference 38 mPhone = phone; in init() 42 mPhone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING, in init() 54 mPhone.setCallWaiting(isChecked(), in onClick() 133 mPhone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING, in handleSetCallWaitingResponse()
|
D | CallForwardEditPreference.java | 48 private Phone mPhone; field in CallForwardEditPreference 84 mPhone = phone; in init() 132 .getCarrierConfigForSubId(mPhone.getSubId()); in onDialogClosed() 159 mPhone.setCallForwardingOption(action, in onDialogClosed() 200 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in handleCallForwardResult() 207 String voicemailNumber = mPhone.getVoiceMailNumber(); in handleCallForwardResult() 219 mPhone.getCallForwardingOption(reason, in startCallForwardOptionsQuery() 426 mPhone.getCallForwardingOption(reason, in handleSetCFResponse() 541 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isSkipCFFailToDisableDialog()
|
D | CallBarringDeselectAllPreference.java | 39 private Phone mPhone; field in CallBarringDeselectAllPreference 54 ImsPhone imsPhone = mPhone != null ? (ImsPhone) mPhone.getImsPhone() : null; in showDialog() 74 mPhone = phone; in init()
|
D | GsmUmtsCallForwardOptions.java | 48 private Phone mPhone; field in GsmUmtsCallForwardOptions 62 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 128 pref.init(this, mPhone, mReplaceInvalidCFNumbers, mCallForwardByUssd); in onResume() 141 pref.init(this, mPhone, mReplaceInvalidCFNumbers, mCallForwardByUssd); in onResume() 171 pref.init(this, mPhone, mReplaceInvalidCFNumbers, mCallForwardByUssd); in onFinished()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RadioInfo.java | 239 private Phone mPhone = null; field in RadioInfo 374 mPhone = PhoneFactory.getPhone(phoneIndex); in updatePhoneIndex() 437 mPhone = PhoneFactory.getDefaultPhone(); in onCreate() 497 if (!ImsManager.isImsSupportedOnDevice(mPhone.getContext())) { in onCreate() 558 mPhone.getPreferredNetworkType( in onCreate() 680 if (ImsManager.isImsSupportedOnDevice(mPhone.getContext())) { in onCreateOptionsMenu() 766 dnsCheckState.setText(mPhone.isDnsCheckDisabled() ? in updateDnsCheckState() 986 mSubscriptionId.setText(Integer.toString(mPhone.getSubId())); in updateSubscriptionIds() 1076 if(mPhone != null) { in updateNetworkType() 1077 ServiceState ss = mPhone.getServiceState(); in updateNetworkType() [all …]
|
D | IccLockSettings.java | 114 private Phone mPhone; field in IccLockSettings 248 mPhone = (sir == null) ? null in onCreateView() 256 mPhone = PhoneFactory.getDefaultPhone(); in onCreateView() 269 mPinDialog.setEnabled(mPhone != null); in updatePreferences() 272 mPinToggle.setEnabled(mPhone != null); in updatePreferences() 274 if (mPhone != null) { in updatePreferences() 275 mPinToggle.setChecked(mPhone.getIccCard().getIccLockEnabled()); in updatePreferences() 460 mPhone.getIccCard().setIccLockEnabled(mToState, mPin, callback); in tryChangeIccLockState() 549 mPhone.getIccCard().changeIccLockPassword(mOldPin, in tryChangePin() 593 mPhone = (sir == null) ? null
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VoicemailSettingsActivity.java | 198 private Phone mPhone; field in VoicemailSettingsActivity 235 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 243 intent.putExtra(Settings.EXTRA_APP_PACKAGE, mPhone.getContext().getPackageName()); in onCreate() 270 mVoicemailProviders.init(mPhone, getIntent()); in onResume() 430 String vmDisplay = mPhone.getVoiceMailNumber(); in onGetDefaultNumber() 569 .getCarrierConfigForSubId(mPhone.getSubId()); in getBooleanCarrierConfig() 708 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in saveVoiceMailAndForwardingNumber() 734 mPhone.getCallForwardingOption( in saveVoiceMailAndForwardingNumber() 801 VoicemailProviderSettingsUtil.save(mPhone.getContext(), in handleForwardingSettingsReadResult() 830 CallForwardInfoUtil.setCallForwardingOption(mPhone, fi, in saveVoiceMailAndForwardingNumberStage2() [all …]
|
D | VoicemailProviderListPreference.java | 59 private Phone mPhone; field in VoicemailProviderListPreference 78 mPhone = phone; in init() 102 VoicemailProviderSettingsUtil.delete(mPhone.getContext(), providerToIgnore); in initVoicemailProviders() 112 mPhone.getContext().getResources().getString(R.string.voicemail_default); in initVoicemailProviders() 119 PackageManager pm = mPhone.getContext().getPackageManager(); in initVoicemailProviders()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnSetting.java | 51 private Phone mPhone; field in FdnSetting 116 boolean isEnabled = mPhone.getIccCard().getIccFdnEnabled(); in toggleFDNEnable() 120 mPhone.getIccCard().setIccFdnEnabled(!isEnabled, password, onComplete); in toggleFDNEnable() 190 mPhone.getIccCard().changeIccFdnPassword( in updatePINChangeState() 232 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, onComplete); in updatePINChangeState() 460 if (mPhone.getIccCard().getIccFdnEnabled()) { in updateEnableFDN() 475 if (mPhone.getIccCard().getIccPin2Blocked()) { in updateChangePIN2() 490 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 533 mPhone = mSubscriptionInfoHelper.getPhone(); in onResume()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestInCallServiceImpl.java | 38 private Phone mPhone; field in TestInCallServiceImpl 62 mPhone = phone; in onPhoneCreated() 63 mPhone.addListener(mPhoneListener); in onPhoneCreated() 70 mPhone.removeListener(mPhoneListener); in onUnbind() 71 mPhone = null; in onUnbind()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | IccLockSettings.java | 114 private Phone mPhone; field in IccLockSettings 248 mPhone = (sir == null) ? null in onCreateView() 256 mPhone = PhoneFactory.getDefaultPhone(); in onCreateView() 269 mPinDialog.setEnabled(mPhone != null); in updatePreferences() 272 mPinToggle.setEnabled(mPhone != null); in updatePreferences() 274 if (mPhone != null) { in updatePreferences() 275 mPinToggle.setChecked(mPhone.getIccCard().getIccLockEnabled()); in updatePreferences() 460 mPhone.getIccCard().setIccLockEnabled(mToState, mPin, callback); in tryChangeIccLockState() 549 mPhone.getIccCard().changeIccLockPassword(mOldPin, in tryChangePin() 593 mPhone = (sir == null) ? null
|