/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 | TelecomAccountRegistry.java | 120 private final Phone mPhone; field in TelecomAccountRegistry.AccountEntry 146 mPhone = phone; in AccountEntry() 149 mIsAdhocConfCapable = mPhone.isImsRegistered(); in AccountEntry() 153 mIncomingCallNotifier = new PstnIncomingCallNotifier((Phone) mPhone); in AccountEntry() 154 mPhoneCapabilitiesNotifier = new PstnPhoneCapabilitiesNotifier((Phone) mPhone, in AccountEntry() 164 if (mPhone.getContext().getPackageManager().hasSystemFeature( in AccountEntry() 289 mPhone, testPrefix, isEmergency); in buildPstnPhoneAccount() 292 int subId = mPhone.getSubId(); in buildPstnPhoneAccount() 293 String subscriberId = mPhone.getSubscriberId(); in buildPstnPhoneAccount() 300 String subNumber = mPhone.getLine1Number(); in buildPstnPhoneAccount() [all …]
|
D | PstnIncomingCallNotifier.java | 78 private final Phone mPhone; field in PstnIncomingCallNotifier 112 mPhone = phone; in PstnIncomingCallNotifier() 125 if (mPhone != null) { in registerForNotifications() 126 Log.i(this, "Registering: %s", mPhone); in registerForNotifications() 127 mPhone.registerForNewRingingConnection(mHandler, EVENT_NEW_RINGING_CONNECTION, null); in registerForNotifications() 128 mPhone.registerForCallWaiting(mHandler, EVENT_CDMA_CALL_WAITING, null); in registerForNotifications() 129 mPhone.registerForUnknownConnection(mHandler, EVENT_UNKNOWN_CONNECTION, null); in registerForNotifications() 134 if (mPhone != null) { in unregisterForNotifications() 135 Log.i(this, "Unregistering: %s", mPhone); in unregisterForNotifications() 136 mPhone.unregisterForNewRingingConnection(mHandler); in unregisterForNotifications() [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/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 73 private Phone mPhone; field in OtaspActivationService 80 mPhone = PhoneGlobals.getPhone(); in onCreate() 81 ServiceStateTracker sst = mPhone.getServiceStateTracker(); in onCreate() 86 if ((sIccId == null) || !sIccId.equals(mPhone.getIccSerialNumber())) { in onCreate() 88 sIccId = mPhone.getIccSerialNumber(); in onCreate() 150 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onStartOtaspCall() 152 mPhone.registerForServiceStateChanged(mHandler, EVENT_SERVICE_STATE_CHANGED, null); in onStartOtaspCall() 156 mPhone.registerForCdmaOtaStatusChange(mHandler, EVENT_CDMA_PROVISION_STATUS_UPDATE, null); in onStartOtaspCall() 157 mPhone.registerForPreciseCallStateChanged(mHandler, EVENT_CALL_STATE_CHANGED, null); in onStartOtaspCall() 189 logd("onOtaspCallStateChanged: " + mPhone.getState()); in onOtaspCallStateChanged() [all …]
|
/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.mRecordNumber, 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/ |
D | CallFeaturesSetting.java | 105 private Phone mPhone; field in CallFeaturesSetting 168 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick() 198 && mPhone != null in doSsOverUtPrecautions() 199 && SuppServicesUiUtil.isSsOverUtPrecautions(this, mPhone)) { in doSsOverUtPrecautions() 200 SuppServicesUiUtil.showBlockingSuppServicesDialog(this, mPhone, in doSsOverUtPrecautions() 266 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 286 .createForSubscriptionId(mPhone.getSubId()); in listenPhoneState() 343 updateImsManager(mPhone); in onResume() 353 .createForSubscriptionId(mPhone.getSubId()); in onResume() 381 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); 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 | EmergencyCallbackModeExitDialog.java | 73 private Phone mPhone = null; field in EmergencyCallbackModeExitDialog 80 mPhone = PhoneGlobals.getInstance().getPhoneInEcm(); in onCreate() 82 if (mPhone == null || !mPhone.isInEcm()) { in onCreate() 83 Log.i(TAG, "ECMModeExitDialog launched - isInEcm: false" + " phone:" + mPhone); in onCreate() 87 Log.i(TAG, "ECMModeExitDialog launched - isInEcm: true" + " phone:" + mPhone); in onCreate() 98 mPhone.registerForEcmTimerReset(mTimerResetHandler, ECM_TIMER_RESET, null); in onCreate() 127 if (mPhone != null) { in onDestroy() 128 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy() 245 mPhone.exitEmergencyCallbackMode(); in onCreateDialog() 306 boolean shouldRestrictData = mPhone.getImsPhone() != null in getDialogText() [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 | IccNetworkDepersonalizationPanel.java | 68 private Phone mPhone; field in IccNetworkDepersonalizationPanel 172 mPhone = PhoneGlobals.getPhone(); in IccNetworkDepersonalizationPanel() 175 .getActiveSubscriptionInfoForSimSlotIndex(mPhone.getPhoneId()); in IccNetworkDepersonalizationPanel() 182 mPhone = phone == null ? PhoneGlobals.getPhone() : phone; in IccNetworkDepersonalizationPanel() 185 .getActiveSubscriptionInfoForSimSlotIndex(mPhone.getPhoneId()); in IccNetworkDepersonalizationPanel() 239 int phoneId = mPhone == null ? 0 : mPhone.getPhoneId(); in onStop() 267 mPhone.getIccCard().supplySimDepersonalization(mPersoSubState,pin, 296 log("Operator displayName is: " + displayName + "phoneId: " + mPhone.getPhoneId()); in displayStatus()
|
D | CallBarringEditPreference.java | 63 private Phone mPhone; field in CallBarringEditPreference 86 mPhone = PhoneFactory.getDefaultPhone(); in CallBarringEditPreference() 107 mPhone = phone; in init() 112 mPhone.getCallBarring(mFacility, "", mHandler.obtainMessage( in init() 113 MyHandler.MESSAGE_GET_CALL_BARRING), getServiceClassForCallBarring(mPhone)); in init() 206 mPhone.setCallBarring(mFacility, !mIsActivated, password, in onDialogClosed() 208 getServiceClassForCallBarring(mPhone)); in onDialogClosed() 339 pref.mPhone.getCallBarring( in handleSetCallBarringResponse() 343 ar.exception), getServiceClassForCallBarring(pref.mPhone)); in handleSetCallBarringResponse()
|
D | CdmaCallWaitingPreference.java | 38 private Phone mPhone; field in CdmaCallWaitingPreference 57 mPhone = phone; in init() 59 Log.d(LOG_TAG, "phone id= " + mPhone.getPhoneId()); in init() 60 mPhone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING, in init() 86 mPhone.setCallWaiting(true, in onClick() 95 mPhone.setCallWaiting(false, in onClick() 205 mPhone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING, in handleSetCallWaitingResponse()
|
D | RcsProvisioningMonitor.java | 78 private final PhoneGlobals mPhone; field in RcsProvisioningMonitor 139 mPhone.getMainExecutor(), this, UserHandle.SYSTEM); in register() 403 mPhone, slotId, this, new HandlerExecutor(mHandler), TAG); in RcsFeatureListener() 442 mPhone = app; in RcsProvisioningMonitor() 444 mCarrierConfigManager = mPhone.getSystemService(CarrierConfigManager.class); in RcsProvisioningMonitor() 445 mSubscriptionManager = mPhone.getSystemService(SubscriptionManager.class); in RcsProvisioningMonitor() 446 mTelephonyRegistryManager = mPhone.getSystemService(TelephonyRegistryManager.class); in RcsProvisioningMonitor() 480 mPhone.registerReceiver(mReceiver, filter); in init() 492 mPhone.unregisterReceiver(mReceiver); in release() 698 RcsConfig.updateConfigForSub(mPhone, subId, config, isCompressed); in updateConfigForSub() [all …]
|
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()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | RcsProvisioningMonitorTest.java | 177 private PhoneGlobals mPhone; field in RcsProvisioningMonitorTest 224 when(mPhone.getResources()).thenReturn(mResources); in setUp() 225 when(mPhone.getPackageManager()).thenReturn(mPackageManager); in setUp() 228 when(mPhone.getMainExecutor()).thenReturn(mExecutor); in setUp() 229 when(mPhone.getSystemServiceName(eq(CarrierConfigManager.class))) in setUp() 231 when(mPhone.getSystemServiceName(eq(SubscriptionManager.class))) in setUp() 233 when(mPhone.getSystemServiceName(eq(TelephonyRegistryManager.class))) in setUp() 235 when(mPhone.getSystemServiceName(eq(RoleManager.class))) in setUp() 237 when(mPhone.getSystemService(eq(Context.CARRIER_CONFIG_SERVICE))) in setUp() 239 when(mPhone.getSystemService(eq(Context.TELEPHONY_SUBSCRIPTION_SERVICE))) in setUp() [all …]
|
D | PhoneInterfaceManagerTest.java | 49 Phone mPhone; field in PhoneInterfaceManagerTest 68 mPhoneInterfaceManager.cleanUpAllowedNetworkTypes(mPhone, 1); in cleanUpAllowedNetworkTypes_validPhoneAndSubId_doSetAllowedNetwork() 70 verify(mPhone).loadAllowedNetworksFromSubscriptionDatabase(); in cleanUpAllowedNetworkTypes_validPhoneAndSubId_doSetAllowedNetwork() 71 verify(mPhone).setAllowedNetworkTypes(TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_USER, in cleanUpAllowedNetworkTypes_validPhoneAndSubId_doSetAllowedNetwork() 80 mPhoneInterfaceManager.cleanUpAllowedNetworkTypes(mPhone, -1); in cleanUpAllowedNetworkTypes_validPhoneAndInvalidSubId_doNotSetAllowedNetwork() 82 verify(mPhone, never()).loadAllowedNetworksFromSubscriptionDatabase(); in cleanUpAllowedNetworkTypes_validPhoneAndInvalidSubId_doNotSetAllowedNetwork() 83 verify(mPhone, never()).setAllowedNetworkTypes( in cleanUpAllowedNetworkTypes_validPhoneAndInvalidSubId_doNotSetAllowedNetwork()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 282 private Phone mPhone = null; field in RadioInfo 411 mPhone = PhoneFactory.getPhone(phoneIndex); in updatePhoneIndex() 467 mPhone = PhoneFactory.getDefaultPhone(); in onCreate() 469 .createForSubscriptionId(mPhone.getSubId()); in onCreate() 471 mImsManager = ImsManager.getInstance(getApplicationContext(), mPhone.getPhoneId()); in onCreate() 549 if (!ImsManager.isImsSupportedOnDevice(mPhone.getContext())) { in onCreate() 693 mPhone.registerForPhysicalChannelConfig(mHandler, in updateAllFields() 758 if (ImsManager.isImsSupportedOnDevice(mPhone.getContext())) { in onCreateOptionsMenu() 810 mPhone.unregisterForPhysicalChannelConfig(mHandler); in unregisterPhoneStateListener() 840 mDnsCheckState.setText(mPhone.isDnsCheckDisabled() in updateDnsCheckState() [all …]
|
D | VoicemailSettingsActivity.java | 199 private Phone mPhone; field in VoicemailSettingsActivity 236 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 248 intent.putExtra(Settings.EXTRA_APP_PACKAGE, mPhone.getContext().getPackageName()); in onCreate() 269 mVoicemailProviders.init(mPhone, getIntent()); in onResume() 429 String vmDisplay = mPhone.getVoiceMailNumber(); in onGetDefaultNumber() 568 .getCarrierConfigForSubId(mPhone.getSubId()); in getBooleanCarrierConfig() 707 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in saveVoiceMailAndForwardingNumber() 733 mPhone.getCallForwardingOption( in saveVoiceMailAndForwardingNumber() 801 VoicemailProviderSettingsUtil.save(mPhone.getContext(), in handleForwardingSettingsReadResult() 830 CallForwardInfoUtil.setCallForwardingOption(mPhone, fi, in saveVoiceMailAndForwardingNumberStage2() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnSetting.java | 50 private Phone mPhone; field in FdnSetting 125 boolean isEnabled = mPhone.getIccCard().getIccFdnEnabled(); in toggleFDNEnable() 129 mPhone.getIccCard().setIccFdnEnabled(!isEnabled, password, onComplete); in toggleFDNEnable() 202 mPhone.getIccCard().changeIccFdnPassword(mOldPin, in updatePINChangeState() 205 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, in updatePINChangeState() 256 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, onComplete); in updatePINChangeState() 477 if (mPhone.getIccCard().getIccFdnEnabled()) { in updateEnableFDN() 492 if (mPhone.getIccCard().getIccPuk2Blocked()) { in updateChangePIN2() 495 } else if (mPhone.getIccCard().getIccPin2Blocked()) { in updateChangePIN2() 510 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() [all …]
|
/packages/services/Telecomm/testapps/companionapp/src/com/android/server/telecom/companionapp/ |
D | CompanionInCallServiceImpl.java | 35 private Phone mPhone; field in CompanionInCallServiceImpl 56 mPhone = phone; in onPhoneCreated() 57 mPhone.addListener(mPhoneListener); in onPhoneCreated() 63 mPhone.removeListener(mPhoneListener); in onUnbind() 64 mPhone = null; in onUnbind()
|
/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()
|