Home
last modified time | relevance | path

Searched refs:mPhone (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Phone/src/com/android/phone/
DPhoneInterfaceManager.java70 Phone mPhone; field in PhoneInterfaceManager
112 mPhone.handlePinMmi((String) request.argument)); in handleMessage()
123 mPhone.getNeighboringCids(onCompleted); in handleMessage()
152 int phoneType = mPhone.getPhoneType(); in handleMessage()
156 hungUp = PhoneUtils.hangupRingingAndActive(mPhone); in handleMessage()
233 mPhone = phone; in PhoneInterfaceManager()
365 final boolean hasRingingCall = !mPhone.getRingingCall().isIdle(); in answerRingingCallInternal()
367 final boolean hasActiveCall = !mPhone.getForegroundCall().isIdle(); in answerRingingCallInternal()
368 final boolean hasHoldingCall = !mPhone.getBackgroundCall().isIdle(); in answerRingingCallInternal()
431 final UnlockSim checkSimPin = new UnlockSim(mPhone.getIccCard()); in supplyPin()
[all …]
DCdmaSystemSelectListPreference.java39 private Phone mPhone; field in CdmaSystemSelectListPreference
45 mPhone = PhoneGlobals.getPhone(); in CdmaSystemSelectListPreference()
47 mPhone.queryCdmaRoamingPreference( in CdmaSystemSelectListPreference()
72 Settings.Global.getInt(mPhone.getContext().getContentResolver(), in onDialogClosed()
85 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onDialogClosed()
89 mPhone.setCdmaRoamingPreference(statusCdmaRoamingMode, mHandler in onDialogClosed()
122 mPhone.getContext().getContentResolver(), in handleQueryCdmaRoamingPreference()
132 mPhone.getContext().getContentResolver(), in handleQueryCdmaRoamingPreference()
151 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in handleSetCdmaRoamingPreference()
155 mPhone.queryCdmaRoamingPreference(obtainMessage(MESSAGE_GET_ROAMING_PREFERENCE)); in handleSetCdmaRoamingPreference()
[all …]
DMobileNetworkSettings.java91 private Phone mPhone; field in MobileNetworkSettings
106 mPhone.setDataRoamingEnabled(true); in onClick()
147 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onPreferenceTreeClick()
168 mPhone.setDataRoamingEnabled(false); in onPreferenceTreeClick()
212 mPhone = PhoneGlobals.getPhone(); in onCreate()
225 boolean isLteOnCdma = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE; in onCreate()
232 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onCreate()
236 mCdmaOptions = new CdmaOptions(this, prefSet, mPhone); in onCreate()
242 int phoneType = mPhone.getPhoneType(); in onCreate()
244 mCdmaOptions = new CdmaOptions(this, prefSet, mPhone); in onCreate()
[all …]
DUse2GOnlyCheckBoxPreference.java32 private Phone mPhone; field in Use2GOnlyCheckBoxPreference
45 mPhone = PhoneGlobals.getPhone(); in Use2GOnlyCheckBoxPreference()
47 mPhone.getPreferredNetworkType( in Use2GOnlyCheckBoxPreference()
57 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onClick()
59 mPhone.setPreferredNetworkType(networkType, mHandler in onClick()
92 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in handleGetPreferredNetworkTypeResponse()
109 mPhone.getPreferredNetworkType(obtainMessage(MESSAGE_GET_PREFERRED_NETWORK_TYPE)); in handleSetPreferredNetworkTypeResponse()
DCdmaSubscriptionListPreference.java45 private Phone mPhone; field in CdmaSubscriptionListPreference
51 mPhone = PhoneFactory.getDefaultPhone(); in CdmaSubscriptionListPreference()
57 int cdmaSubscriptionMode = Settings.Global.getInt(mPhone.getContext().getContentResolver(), in setCurrentCdmaSubscriptionModeValue()
98 mPhone.setCdmaSubscription(statusCdmaSubscriptionMode, mHandler in onDialogClosed()
118 mPhone = PhoneFactory.getDefaultPhone(); in handleSetCdmaSubscriptionMode()
124 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in handleSetCdmaSubscriptionMode()
DEmergencyCallHelper.java71 private Phone mPhone; field in EmergencyCallHelper
158 mPhone = mApp.mCM.getDefaultPhone(); in startSequenceInternal()
284 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout()
368 mPhone.setRadioPower(true); in powerOnRadio()
392 mPhone, in placeEmergencyCall()
513 mPhone.unregisterForServiceStateChanged(this); // Safe even if not currently registered in registerForServiceStateChanged()
514 mPhone.registerForServiceStateChanged(this, SERVICE_STATE_CHANGED, null); in registerForServiceStateChanged()
519 if (mPhone != null) { in unregisterForServiceStateChanged()
520 mPhone.unregisterForServiceStateChanged(this); // Safe even if unnecessary in unregisterForServiceStateChanged()
DCallWaitingCheckBoxPreference.java23 private final Phone mPhone; field in CallWaitingCheckBoxPreference
29 mPhone = PhoneGlobals.getPhone(); in CallWaitingCheckBoxPreference()
44 mPhone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING, in init()
56 mPhone.setCallWaiting(isChecked(), in onClick()
130 mPhone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING, in handleSetCallWaitingResponse()
DEnableFdnScreen.java48 private Phone mPhone; field in EnableFdnScreen
70 mPhone = PhoneGlobals.getPhone(); in onCreate()
71 mEnable = !mPhone.getIccCard().getIccFdnEnabled(); in onCreate()
80 mPhone = PhoneGlobals.getPhone(); in onResume()
110 mPhone.getIccCard().setIccFdnEnabled(mEnable, getPin2(), callback); in enableFdn()
DCLIRListPreference.java26 private final Phone mPhone; field in CLIRListPreference
34 mPhone = PhoneGlobals.getPhone(); in CLIRListPreference()
45 mPhone.setOutgoingCallerIdDisplay(findIndexOfValue(getValue()), in onDialogClosed()
55 mPhone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR, in init()
166 mPhone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR, in handleSetCLIRResponse()
DFdnSetting.java46 private Phone mPhone; field in FdnSetting
112 boolean isEnabled = mPhone.getIccCard().getIccFdnEnabled(); in toggleFDNEnable()
116 mPhone.getIccCard().setIccFdnEnabled(!isEnabled, password, onComplete); in toggleFDNEnable()
186 mPhone.getIccCard().changeIccFdnPassword( in updatePINChangeState()
228 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, onComplete); in updatePINChangeState()
409 if (mPhone.getIccCard().getIccFdnEnabled()) { in updateEnableFDN()
426 mPhone = PhoneGlobals.getPhone(); in onCreate()
461 mPhone = PhoneGlobals.getPhone(); in onResume()
DEnableIccPinScreen.java48 private Phone mPhone; field in EnableIccPinScreen
70 mPhone = PhoneGlobals.getPhone(); in onCreate()
71 mEnable = !mPhone.getIccCard().getIccLockEnabled(); in onCreate()
105 mPhone.getIccCard().setIccLockEnabled(mEnable, getPin(), callback); in enableIccPin()
DCellBroadcastSms.java170 private Phone mPhone; field in CellBroadcastSms
184 mPhone.activateCellBroadcastSms(RILConstants.CDMA_CELL_BROADCAST_SMS_ENABLED, in onPreferenceTreeClick()
186 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick()
191 mPhone.activateCellBroadcastSms(RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED, in onPreferenceTreeClick()
193 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick()
340 mPhone = PhoneGlobals.getPhone(); in onCreate()
426 mPhone.getContext().getContentResolver(), in onResume()
437 mPhone.getCellBroadcastSmsConfig(Message.obtain(mHandler, MESSAGE_GET_CB_SMS_CONFIG)); in onResume()
446 mPhone.setCellBroadcastSmsConfig(CellBroadcastSmsConfig.getCbSmsAllValues(), in onPause()
548 mPhone.activateCellBroadcastSms(RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED, in handleMessage()
[all …]
DEmergencyCallbackModeService.java59 private Phone mPhone = null; field in EmergencyCallbackModeService
92 mPhone = PhoneFactory.getDefaultPhone(); in onCreate()
93 mPhone.registerForEcmTimerReset(mHandler, ECM_TIMER_RESET, null); in onCreate()
103 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy()
DNetworkQueryService.java59 private Phone mPhone; field in NetworkQueryService
121 mPhone.getAvailableNetworks(
160 mPhone = PhoneFactory.getDefaultPhone(); in onCreate()
DCdmaOptions.java49 private Phone mPhone; field in CdmaOptions
54 mPhone = phone; in CdmaOptions()
79 final boolean isLTE = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE; in create()
DEmergencyCallbackModeExitDialog.java73 private Phone mPhone = null; field in EmergencyCallbackModeExitDialog
94 mPhone = PhoneGlobals.getPhone(); in onCreate()
95 mPhone.registerForEcmTimerReset(mTimerResetHandler, ECM_TIMER_RESET, null); in onCreate()
108 mPhone.unregisterForEcmTimerReset(mHandler); in onDestroy()
215 mPhone.exitEmergencyCallbackMode(); in onCreateDialog()
DCallFeaturesSetting.java219 private Phone mPhone; field in CallFeaturesSetting
493 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick()
500 Settings.System.putInt(mPhone.getContext().getContentResolver(), in onPreferenceTreeClick()
551 Settings.System.putInt(mPhone.getContext().getContentResolver(), in onPreferenceChange()
555 Settings.System.putInt(mPhone.getContext().getContentResolver(), in onPreferenceChange()
627 String vmDisplay = mPhone.getVoiceMailNumber(); in onGetDefaultNumber()
681 mPhone.setVoiceMailNumber( in switchToPreviousVoicemailProvider()
682 mPhone.getVoiceMailAlphaTag().toString(), in switchToPreviousVoicemailProvider()
702 mPhone.setCallForwardingOption( in switchToPreviousVoicemailProvider()
892 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in saveVoiceMailAndForwardingNumber()
[all …]
DIccNetworkDepersonalizationPanel.java55 private Phone mPhone; field in IccNetworkDepersonalizationPanel
151 mPhone = PhoneGlobals.getPhone(); in onCreate()
177 mPhone.getIccCard().supplyNetworkDepersonalization(pin,
DChangeIccPinScreen.java64 private Phone mPhone; field in ChangeIccPinScreen
94 mPhone = PhoneGlobals.getPhone(); in onCreate()
177 IccCard iccCardInterface = mPhone.getIccCard();
227 mPhone.getIccCard().supplyPuk2(mPUKCode.getText().toString(),
DNetworkSetting.java72 Phone mPhone; field in NetworkSetting
188 mPhone.selectNetworkManually(mNetworkMap.get(selectedCarrier), msg); in onPreferenceTreeClick()
222 mPhone = PhoneGlobals.getPhone(); in onCreate()
457 mPhone.setNetworkSelectionModeAutomatic(msg); in selectNetworkAutomatic()
DInCallScreen.java199 private Phone mPhone; field in InCallScreen
497 mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in onCreate()
545 mPhone = phone; in setPhone()
637 if (TelephonyCapabilities.supportsOtasp(mPhone)) { in onResume()
698 } else if (TelephonyCapabilities.supportsOtasp(mPhone)) { in onResume()
741 if (!mPhone.getPendingMmiCodes().isEmpty()) { in onResume()
743 MmiCode mmiCode = mPhone.getPendingMmiCodes().get(0); in onResume()
1185 if (!TelephonyCapabilities.supportsOtasp(mPhone)) { in internalResolveIntent()
1341 int phoneType = mPhone.getPhoneType(); in handleCallKey()
1521 PhoneUtils.dumpCallState(mPhone); in onKeyDown()
[all …]
DNotificationMgr.java99 private Phone mPhone; field in NotificationMgr
145 mPhone = app.phone; // TODO: better style to use mCM.getDefaultPhone() everywhere instead in NotificationMgr()
625 … (mPhone.getState() == PhoneConstants.State.OFFHOOK) && audioManager.isSpeakerphoneOn(); in updateSpeakerNotification()
1197 String vmNumber = mPhone.getVoiceMailNumber(); in updateMwi()
1215 if ((vmNumber == null) && !mPhone.getIccRecordsLoaded()) { in updateMwi()
1241 if (TelephonyCapabilities.supportsVoiceMessageCount(mPhone)) { in updateMwi()
1242 int vmCount = mPhone.getVoiceMessageCount(); in updateMwi()
1430 if (TelephonyCapabilities.supportsNetworkSelection(mPhone)) { in updateNetworkSelection()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java126 private Phone mPhone = null; field in Status
225 mPhone = PhoneFactory.getDefaultPhone(); in onCreate()
231 if (mPhone == null || Utils.isWifiOnly(getApplicationContext())) { in onCreate()
238 if (mPhone.getPhoneName().equals("CDMA")) { in onCreate()
239 setSummaryText(KEY_MEID_NUMBER, mPhone.getMeid()); in onCreate()
240 setSummaryText(KEY_MIN_NUMBER, mPhone.getCdmaMin()); in onCreate()
244 setSummaryText(KEY_PRL_VERSION, mPhone.getCdmaPrlVersion()); in onCreate()
247 if (mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) { in onCreate()
249 setSummaryText(KEY_ICC_ID, mPhone.getIccSerialNumber()); in onCreate()
250 setSummaryText(KEY_IMEI, mPhone.getImei()); in onCreate()
[all …]
/packages/apps/Settings/src/com/android/settings/
DBandMode.java54 private Phone mPhone = null; field in BandMode
68 mPhone = PhoneFactory.getDefaultPhone(); in onCreate()
96 mPhone.setBandMode(mTargetBand.getBand(), msg);
128 mPhone.queryAvailableBandMode(msg); in loadBandList()
DIccLockSettings.java86 private Phone mPhone; field in IccLockSettings
182 mPhone = PhoneFactory.getDefaultPhone(); in onCreate()
188 mPinToggle.setChecked(mPhone.getIccCard().getIccLockEnabled()); in updatePreferences()
350 mPhone.getIccCard().setIccLockEnabled(mToState, mPin, callback); in tryChangeIccLockState()
382 mPhone.getIccCard().changeIccLockPassword(mOldPin, in tryChangePin()