/packages/services/Telephony/src/com/android/services/telephony/ |
D | RadioOnStateListener.java | 102 private Phone mPhone; // The phone that will attempt to place the call. field in RadioOnStateListener 127 if (mPhone != null) { in waitForRadioOn() 154 mPhone = phone; in startSequenceInternal() 175 if (mPhone == null) return; in onServiceStateChanged() 177 mPhone.getPhoneId()); in onServiceStateChanged() 199 if (mPhone == null) return; in onRadioOn() 200 ServiceState state = mPhone.getServiceState(); in onRadioOn() 202 mPhone.getPhoneId()); in onRadioOn() 214 return (mCallback == null) ? false : mCallback.isOkToCall(mPhone, serviceState); in isOkToCall() 221 if (mPhone == null) return; in onRetryTimeout() [all …]
|
D | PstnIncomingCallNotifier.java | 67 private final Phone mPhone; field in PstnIncomingCallNotifier 101 mPhone = phone; in PstnIncomingCallNotifier() 114 if (mPhone != null) { in registerForNotifications() 115 Log.i(this, "Registering: %s", mPhone); in registerForNotifications() 116 mPhone.registerForNewRingingConnection(mHandler, EVENT_NEW_RINGING_CONNECTION, null); in registerForNotifications() 117 mPhone.registerForCallWaiting(mHandler, EVENT_CDMA_CALL_WAITING, null); in registerForNotifications() 118 mPhone.registerForUnknownConnection(mHandler, EVENT_UNKNOWN_CONNECTION, null); in registerForNotifications() 123 if (mPhone != null) { in unregisterForNotifications() 124 Log.i(this, "Unregistering: %s", mPhone); in unregisterForNotifications() 125 mPhone.unregisterForNewRingingConnection(mHandler); in unregisterForNotifications() [all …]
|
D | TelecomAccountRegistry.java | 110 private final Phone mPhone; field in TelecomAccountRegistry.AccountEntry 135 mPhone = phone; in AccountEntry() 138 mIsAdhocConfCapable = mPhone.isImsRegistered(); in AccountEntry() 142 mIncomingCallNotifier = new PstnIncomingCallNotifier((Phone) mPhone); in AccountEntry() 143 mPhoneCapabilitiesNotifier = new PstnPhoneCapabilitiesNotifier((Phone) mPhone, in AccountEntry() 153 if (mPhone.getContext().getPackageManager().hasSystemFeature( in AccountEntry() 277 mPhone, testPrefix, isEmergency); in buildPstnPhoneAccount() 280 int subId = mPhone.getSubId(); in buildPstnPhoneAccount() 281 String subscriberId = mPhone.getSubscriberId(); in buildPstnPhoneAccount() 288 String subNumber = mPhone.getLine1Number(); in buildPstnPhoneAccount() [all …]
|
D | PstnPhoneCapabilitiesNotifier.java | 39 private final Phone mPhone; field in PstnPhoneCapabilitiesNotifier 61 mPhone = phone; in PstnPhoneCapabilitiesNotifier() 73 if (mPhone != null) { in registerForNotifications() 74 Log.d(this, "Registering: " + mPhone); in registerForNotifications() 75 mPhone.registerForVideoCapabilityChanged(mHandler, EVENT_VIDEO_CAPABILITIES_CHANGED, in registerForNotifications() 81 if (mPhone != null) { in unregisterForNotifications() 82 Log.d(this, "Unregistering: " + mPhone); in unregisterForNotifications() 83 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() 183 logd("onOtaspCallStateChanged: " + mPhone.getState()); in onOtaspCallStateChanged() 184 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) { in onOtaspCallStateChanged() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallFeaturesSetting.java | 102 private Phone mPhone; field in CallFeaturesSetting 164 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick() 194 && mPhone != null in doSsOverUtPrecautions() 195 && SuppServicesUiUtil.isSsOverUtPrecautions(this, mPhone)) { in doSsOverUtPrecautions() 196 SuppServicesUiUtil.showBlockingSuppServicesDialog(this, mPhone, in doSsOverUtPrecautions() 262 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 281 .createForSubscriptionId(mPhone.getSubId()); in listenPhoneState() 333 updateImsManager(mPhone); in onResume() 343 .createForSubscriptionId(mPhone.getSubId()); in onResume() 371 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in onResume() [all …]
|
D | EmergencyCallbackModeExitDialog.java | 71 private Phone mPhone = null; field in EmergencyCallbackModeExitDialog 78 mPhone = PhoneGlobals.getInstance().getPhoneInEcm(); in onCreate() 80 if (mPhone == null || !mPhone.isInEcm()) { in onCreate() 81 Log.i(TAG, "ECMModeExitDialog launched - isInEcm: false" + " phone:" + mPhone); in onCreate() 85 Log.i(TAG, "ECMModeExitDialog launched - isInEcm: true" + " phone:" + mPhone); in onCreate() 96 mPhone.registerForEcmTimerReset(mTimerResetHandler, ECM_TIMER_RESET, null); in onCreate() 125 if (mPhone != null) { in onDestroy() 126 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy() 243 mPhone.exitEmergencyCallbackMode(); in onCreateDialog() 304 boolean shouldRestrictData = mPhone.getImsPhone() != null in getDialogText() [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 | CdmaCallWaitingPreference.java | 41 private Phone mPhone; field in CdmaCallWaitingPreference 60 mPhone = phone; in init() 62 Log.d(LOG_TAG, "phone id= " + mPhone.getPhoneId()); in init() 63 mPhone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING, in init() 79 mPhone.setCallWaiting(true, in onClick() 88 mPhone.setCallWaiting(false, in onClick() 190 mPhone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING, in handleSetCallWaitingResponse()
|
D | EmergencyCallbackModeService.java | 60 private Phone mPhone = null; field in EmergencyCallbackModeService 95 mPhone = phoneInEcm; in onCreate() 96 mPhone.registerForEcmTimerReset(mHandler, ECM_TIMER_RESET, null); in onCreate() 103 if (mPhone != null) { in onDestroy() 107 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy() 174 Phone imsPhone = mPhone.getImsPhone(); in showNotification() 175 boolean isInEcm = mPhone.isInEcm() || (imsPhone != null && imsPhone.isInEcm()); in showNotification()
|
D | GsmUmtsCallBarringOptions.java | 107 private Phone mPhone; field in GsmUmtsCallBarringOptions 154 mPhone.setCallBarring(CommandsInterface.CB_FACILITY_BA_ALL, false, password, onComplete, 0); in disableAllBarring() 206 ((GsmCdmaPhone) mPhone).changeCallBarringPassword( in updatePWChangeState() 355 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 361 mPhone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in onCreate() 417 SubscriptionManager.getSlotIndex(mPhone.getSubId())) in onCreate() 452 pref.init(this, true, mPhone); in onCreate() 474 mPreferences.get(mInitIndex).init(this, false, mPhone); in onResume() 515 mPreferences.get(mInitIndex).init(this, false, mPhone); in onFinished()
|
D | CLIRListPreference.java | 27 private Phone mPhone; field in CLIRListPreference 51 mPhone.setOutgoingCallerIdDisplay(convertValueToCLIRMode(getValue()), in onDialogClosed() 64 mPhone = phone; in init() 67 .getCarrierConfigForSubId(mPhone.getSubId()) in init() 81 mPhone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR, in init() 213 mPhone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR, in handleSetCLIRResponse()
|
D | CallForwardEditPreference.java | 48 private Phone mPhone; field in CallForwardEditPreference 84 mPhone = phone; in init() 137 mPhone.setCallForwardingOption(action, in onDialogClosed() 152 .getCarrierConfigForSubId(mPhone.getSubId()); in onDialogClosed() 179 mPhone.setCallForwardingOption(action, in onDialogClosed() 222 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in handleCallForwardResult() 229 String voicemailNumber = mPhone.getVoiceMailNumber(); in handleCallForwardResult() 241 mPhone.getCallForwardingOption(reason, mServiceClass, in startCallForwardOptionsQuery() 486 mPhone.getCallForwardingOption(reason, mServiceClass, in handleSetCFResponse() 601 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isSkipCFFailToDisableDialog()
|
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 | IccNetworkDepersonalizationPanel.java | 66 private Phone mPhone; field in IccNetworkDepersonalizationPanel 168 mPhone = PhoneGlobals.getPhone(); in IccNetworkDepersonalizationPanel() 176 mPhone = phone == null ? PhoneGlobals.getPhone() : phone; in IccNetworkDepersonalizationPanel() 230 int phoneId = mPhone == null ? 0 : mPhone.getPhoneId(); in onStop() 258 mPhone.getIccCard().supplySimDepersonalization(mPersoSubState,pin,
|
D | CallBarringEditPreference.java | 62 private Phone mPhone; field in CallBarringEditPreference 85 mPhone = PhoneFactory.getDefaultPhone(); in CallBarringEditPreference() 106 mPhone = phone; in init() 111 mPhone.getCallBarring(mFacility, "", mHandler.obtainMessage( in init() 205 mPhone.setCallBarring(mFacility, !mIsActivated, password, in onDialogClosed() 326 pref.mPhone.getCallBarring( in handleSetCallBarringResponse()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 278 private Phone mPhone = null; field in RadioInfo 408 mPhone = PhoneFactory.getPhone(phoneIndex); in updatePhoneIndex() 479 mPhone = PhoneFactory.getDefaultPhone(); in onCreate() 481 .createForSubscriptionId(mPhone.getSubId()); in onCreate() 483 mImsManager = ImsManager.getInstance(getApplicationContext(), mPhone.getPhoneId()); in onCreate() 559 if (!ImsManager.isImsSupportedOnDevice(mPhone.getContext())) { in onCreate() 621 mPhone.getPreferredNetworkType( in onCreate() 691 mPhone.registerForPhysicalChannelConfig(mHandler, in updateAllFields() 756 if (ImsManager.isImsSupportedOnDevice(mPhone.getContext())) { in onCreateOptionsMenu() 808 mPhone.unregisterForPhysicalChannelConfig(mHandler); in unregisterPhoneStateListener() [all …]
|
D | VoicemailSettingsActivity.java | 199 private Phone mPhone; field in VoicemailSettingsActivity 236 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 244 intent.putExtra(Settings.EXTRA_APP_PACKAGE, mPhone.getContext().getPackageName()); in onCreate() 271 mVoicemailProviders.init(mPhone, getIntent()); in onResume() 431 String vmDisplay = mPhone.getVoiceMailNumber(); in onGetDefaultNumber() 570 .getCarrierConfigForSubId(mPhone.getSubId()); in getBooleanCarrierConfig() 709 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in saveVoiceMailAndForwardingNumber() 735 mPhone.getCallForwardingOption( in saveVoiceMailAndForwardingNumber() 803 VoicemailProviderSettingsUtil.save(mPhone.getContext(), in handleForwardingSettingsReadResult() 832 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 | 34 private Phone mPhone; field in TestInCallServiceImpl 58 mPhone = phone; in onPhoneCreated() 59 mPhone.addListener(mPhoneListener); in onPhoneCreated() 66 mPhone.removeListener(mPhoneListener); in onUnbind() 67 mPhone = null; in onUnbind()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeInCallServiceImpl.java | 37 private Phone mPhone; field in CarModeInCallServiceImpl 61 mPhone = phone; in onPhoneCreated() 62 mPhone.addListener(mPhoneListener); in onPhoneCreated() 69 mPhone.removeListener(mPhoneListener); in onUnbind() 70 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
|