Searched defs:mPhone (Results 1 - 25 of 25) sorted by relevance

/packages/apps/Phone/src/com/android/phone/
H A DUse2GOnlyCheckBoxPreference.java32 private Phone mPhone; field in class:Use2GOnlyCheckBoxPreference
45 mPhone = PhoneGlobals.getPhone();
47 mPhone.getPreferredNetworkType(
57 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
59 mPhone.setPreferredNetworkType(networkType, mHandler
92 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
109 mPhone.getPreferredNetworkType(obtainMessage(MESSAGE_GET_PREFERRED_NETWORK_TYPE));
H A DCLIRListPreference.java26 private final Phone mPhone; field in class:CLIRListPreference
34 mPhone = PhoneGlobals.getPhone();
45 mPhone.setOutgoingCallerIdDisplay(findIndexOfValue(getValue()),
55 mPhone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR,
166 mPhone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR,
H A DCallWaitingCheckBoxPreference.java23 private final Phone mPhone; field in class:CallWaitingCheckBoxPreference
29 mPhone = PhoneGlobals.getPhone();
44 mPhone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING,
56 mPhone.setCallWaiting(isChecked(),
130 mPhone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING,
H A DCdmaOptions.java49 private Phone mPhone; field in class:CdmaOptions
54 mPhone = phone;
79 final boolean isLTE = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE;
H A DCdmaSubscriptionListPreference.java45 private Phone mPhone; field in class:CdmaSubscriptionListPreference
51 mPhone = PhoneFactory.getDefaultPhone();
57 int cdmaSubscriptionMode = Settings.Global.getInt(mPhone.getContext().getContentResolver(),
98 mPhone.setCdmaSubscription(statusCdmaSubscriptionMode, mHandler
118 mPhone = PhoneFactory.getDefaultPhone();
124 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
H A DCdmaSystemSelectListPreference.java39 private Phone mPhone; field in class:CdmaSystemSelectListPreference
45 mPhone = PhoneGlobals.getPhone();
47 mPhone.queryCdmaRoamingPreference(
72 Settings.Global.getInt(mPhone.getContext().getContentResolver(),
85 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
89 mPhone.setCdmaRoamingPreference(statusCdmaRoamingMode, mHandler
122 mPhone.getContext().getContentResolver(),
132 mPhone.getContext().getContentResolver(),
151 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
155 mPhone
[all...]
H A DEmergencyCallbackModeService.java59 private Phone mPhone = null; field in class:EmergencyCallbackModeService
92 mPhone = PhoneFactory.getDefaultPhone();
93 mPhone.registerForEcmTimerReset(mHandler, ECM_TIMER_RESET, null);
103 mPhone.unregisterForEcmTimerReset(mHandler);
H A DEnableFdnScreen.java48 private Phone mPhone; field in class:EnableFdnScreen
70 mPhone = PhoneGlobals.getPhone();
71 mEnable = !mPhone.getIccCard().getIccFdnEnabled();
80 mPhone = PhoneGlobals.getPhone();
110 mPhone.getIccCard().setIccFdnEnabled(mEnable, getPin2(), callback);
H A DEnableIccPinScreen.java48 private Phone mPhone; field in class:EnableIccPinScreen
70 mPhone = PhoneGlobals.getPhone();
71 mEnable = !mPhone.getIccCard().getIccLockEnabled();
105 mPhone.getIccCard().setIccLockEnabled(mEnable, getPin(), callback);
H A DNetworkQueryService.java59 private Phone mPhone; field in class:NetworkQueryService
121 mPhone.getAvailableNetworks(
160 mPhone = PhoneFactory.getDefaultPhone();
H A DEmergencyCallHelper.java71 private Phone mPhone; field in class:EmergencyCallHelper
157 // Reset mPhone to whatever the current default phone is right now.
158 mPhone = mApp.mCM.getDefaultPhone();
284 int serviceState = mPhone.getServiceState().getState();
368 mPhone.setRadioPower(true);
392 mPhone,
513 mPhone.unregisterForServiceStateChanged(this); // Safe even if not currently registered
514 mPhone.registerForServiceStateChanged(this, SERVICE_STATE_CHANGED, null);
518 // This method is safe to call even if we haven't set mPhone yet.
519 if (mPhone !
[all...]
H A DEmergencyCallbackModeExitDialog.java73 private Phone mPhone = null; field in class:EmergencyCallbackModeExitDialog
94 mPhone = PhoneGlobals.getPhone();
95 mPhone.registerForEcmTimerReset(mTimerResetHandler, ECM_TIMER_RESET, null);
108 mPhone.unregisterForEcmTimerReset(mHandler);
215 mPhone.exitEmergencyCallbackMode();
H A DIccNetworkDepersonalizationPanel.java55 private Phone mPhone; field in class:IccNetworkDepersonalizationPanel
151 mPhone = PhoneGlobals.getPhone();
177 mPhone.getIccCard().supplyNetworkDepersonalization(pin,
H A DChangeIccPinScreen.java64 private Phone mPhone; field in class:ChangeIccPinScreen
94 mPhone = PhoneGlobals.getPhone();
177 IccCard iccCardInterface = mPhone.getIccCard();
227 mPhone.getIccCard().supplyPuk2(mPUKCode.getText().toString(),
H A DFdnSetting.java46 private Phone mPhone; field in class:FdnSetting
112 boolean isEnabled = mPhone.getIccCard().getIccFdnEnabled();
116 mPhone.getIccCard().setIccFdnEnabled(!isEnabled, password, onComplete);
186 mPhone.getIccCard().changeIccFdnPassword(
228 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, onComplete);
409 if (mPhone.getIccCard().getIccFdnEnabled()) {
426 mPhone = PhoneGlobals.getPhone();
461 mPhone = PhoneGlobals.getPhone();
H A DMobileNetworkSettings.java91 private Phone mPhone; field in class:MobileNetworkSettings
106 mPhone.setDataRoamingEnabled(true);
147 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext().
168 mPhone.setDataRoamingEnabled(false);
212 mPhone = PhoneGlobals.getPhone();
225 boolean isLteOnCdma = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE;
232 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext().
236 mCdmaOptions = new CdmaOptions(this, prefSet, mPhone);
242 int phoneType = mPhone.getPhoneType();
244 mCdmaOptions = new CdmaOptions(this, prefSet, mPhone);
[all...]
H A DNetworkSetting.java72 Phone mPhone; field in class:NetworkSetting
188 mPhone.selectNetworkManually(mNetworkMap.get(selectedCarrier), msg);
222 mPhone = PhoneGlobals.getPhone();
457 mPhone.setNetworkSelectionModeAutomatic(msg);
H A DCellBroadcastSms.java170 private Phone mPhone; field in class:CellBroadcastSms
184 mPhone.activateCellBroadcastSms(RILConstants.CDMA_CELL_BROADCAST_SMS_ENABLED,
186 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
191 mPhone.activateCellBroadcastSms(RILConstants.CDMA_CELL_BROADCAST_SMS_DISABLED,
193 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
340 mPhone = PhoneGlobals.getPhone();
426 mPhone.getContext().getContentResolver(),
437 mPhone.getCellBroadcastSmsConfig(Message.obtain(mHandler, MESSAGE_GET_CB_SMS_CONFIG));
446 mPhone.setCellBroadcastSmsConfig(CellBroadcastSmsConfig.getCbSmsAllValues(),
548 mPhone
[all...]
H A DNotificationMgr.java99 private Phone mPhone; field in class:NotificationMgr
145 mPhone = app.phone; // TODO: better style to use mCM.getDefaultPhone() everywhere instead
625 (mPhone.getState() == PhoneConstants.State.OFFHOOK) && audioManager.isSpeakerphoneOn();
1197 String vmNumber = mPhone.getVoiceMailNumber();
1215 if ((vmNumber == null) && !mPhone.getIccRecordsLoaded()) {
1241 if (TelephonyCapabilities.supportsVoiceMessageCount(mPhone)) {
1242 int vmCount = mPhone.getVoiceMessageCount();
1430 if (TelephonyCapabilities.supportsNetworkSelection(mPhone)) {
H A DPhoneInterfaceManager.java70 Phone mPhone; field in class:PhoneInterfaceManager
112 mPhone.handlePinMmi((String) request.argument));
123 mPhone.getNeighboringCids(onCompleted);
152 int phoneType = mPhone.getPhoneType();
156 hungUp = PhoneUtils.hangupRingingAndActive(mPhone);
233 mPhone = phone;
365 final boolean hasRingingCall = !mPhone.getRingingCall().isIdle();
367 final boolean hasActiveCall = !mPhone.getForegroundCall().isIdle();
368 final boolean hasHoldingCall = !mPhone.getBackgroundCall().isIdle();
431 final UnlockSim checkSimPin = new UnlockSim(mPhone
[all...]
H A DCallFeaturesSetting.java219 private Phone mPhone; field in class:CallFeaturesSetting
493 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
500 Settings.System.putInt(mPhone.getContext().getContentResolver(),
551 Settings.System.putInt(mPhone.getContext().getContentResolver(),
555 Settings.System.putInt(mPhone.getContext().getContentResolver(),
627 String vmDisplay = mPhone.getVoiceMailNumber();
681 mPhone.setVoiceMailNumber(
682 mPhone.getVoiceMailAlphaTag().toString(),
702 mPhone.setCallForwardingOption(
892 if (mPhone
[all...]
H A DInCallScreen.java194 // TODO: need to clean up all remaining uses of mPhone.
196 // to just keep a single mPhone field. Instead, any time we need a Phone
199 private Phone mPhone; field in class:InCallScreen
478 setPhone(mApp.phone); // Sets mPhone
497 mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA
545 mPhone = phone;
637 if (TelephonyCapabilities.supportsOtasp(mPhone)) {
698 } else if (TelephonyCapabilities.supportsOtasp(mPhone)) {
737 // mPhone.getPendingMmiCodes().isEmpty(), while we check it again here.
741 if (!mPhone
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DBandMode.java54 private Phone mPhone = null; field in class:BandMode
68 mPhone = PhoneFactory.getDefaultPhone();
96 mPhone.setBandMode(mTargetBand.getBand(), msg);
128 mPhone.queryAvailableBandMode(msg);
H A DIccLockSettings.java86 private Phone mPhone; field in class:IccLockSettings
182 mPhone = PhoneFactory.getDefaultPhone();
188 mPinToggle.setChecked(mPhone.getIccCard().getIccLockEnabled());
350 mPhone.getIccCard().setIccLockEnabled(mToState, mPin, callback);
382 mPhone.getIccCard().changeIccLockPassword(mOldPin,
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStatus.java126 private Phone mPhone = null; field in class:Status
225 mPhone = PhoneFactory.getDefaultPhone();
231 if (mPhone == null || Utils.isWifiOnly(getApplicationContext())) {
238 if (mPhone.getPhoneName().equals("CDMA")) {
239 setSummaryText(KEY_MEID_NUMBER, mPhone.getMeid());
240 setSummaryText(KEY_MIN_NUMBER, mPhone.getCdmaMin());
244 setSummaryText(KEY_PRL_VERSION, mPhone.getCdmaPrlVersion());
247 if (mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
249 setSummaryText(KEY_ICC_ID, mPhone.getIccSerialNumber());
250 setSummaryText(KEY_IMEI, mPhone
[all...]

Completed in 323 milliseconds