/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
TelephonyTester.java | 38 private PhoneBase mPhone; 47 if (action.equals(mPhone.getActionDetached())) { 49 mPhone.getServiceStateTracker().mDetachedRegistrants.notifyRegistrants(); 50 } else if (action.equals(mPhone.getActionAttached())) { 52 mPhone.getServiceStateTracker().mAttachedRegistrants.notifyRegistrants(); 60 mPhone = phone; 65 filter.addAction(mPhone.getActionDetached()); 66 log("register for intent action=" + mPhone.getActionDetached()); 68 filter.addAction(mPhone.getActionAttached()); 69 log("register for intent action=" + mPhone.getActionAttached()) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTesterFailBringUpAll.java | 44 private PhoneBase mPhone; 60 } else if (action.equals(mPhone.getActionDetached())) { 66 } else if (action.equals(mPhone.getActionAttached())) { 78 mPhone = phone; 85 filter.addAction(mPhone.getActionDetached()); 86 log("register for intent action=" + mPhone.getActionDetached()); 88 filter.addAction(mPhone.getActionAttached()); 89 log("register for intent action=" + mPhone.getActionAttached()); 96 mPhone.getContext().unregisterReceiver(mIntentReceiver);
|
DcTesterDeactivateAll.java | 38 private PhoneBase mPhone; 53 || action.equals(mPhone.getActionDetached())) { 69 mPhone = phone; 78 filter.addAction(mPhone.getActionDetached()); 79 log("register for intent action=" + mPhone.getActionDetached()); 86 mPhone.getContext().unregisterReceiver(sIntentReceiver);
|
DcController.java | 47 private PhoneBase mPhone; 81 mPhone = phone; 125 mPhone.mCi.registerForRilConnected(getHandler(), 127 mPhone.mCi.registerForDataNetworkStateChanged(getHandler(), 131 new DcTesterDeactivateAll(mPhone, DcController.this, getHandler()); 137 if (mPhone != null) { 138 mPhone.mCi.unregisterForRilConnected(getHandler()); 139 mPhone.mCi.unregisterForDataNetworkStateChanged(getHandler()); 280 mPhone.notifyDataConnection( 301 mPhone.notifyDataActivity() [all...] |
DcRetryAlarmController.java | 39 private PhoneBase mPhone; 80 mPhone = phone; 82 mAlarmManager = (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); 89 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mDc.getHandler()); 97 mPhone.getContext().unregisterReceiver(mIntentReceiver); 98 mPhone = null; 149 PendingIntent retryIntent = PendingIntent.getBroadcast (mPhone.getContext(), 0, 159 sb.append(" mPhone=").append(mPhone);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
RuimSmsInterfaceManager.java | 63 mPhone.mCi.deleteSmsOnRuim(index, response); 69 mPhone.mCi.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu), 87 Context context = mPhone.getContext(); 115 Context context = mPhone.getContext(); 190 mPhone.mCi.setCdmaBroadcastConfig(configs, response); 210 mPhone.mCi.setCdmaBroadcastActivation(activate, response);
|
CdmaMmiCode.java | 55 CDMAPhone mPhone; 140 mPhone = phone; 168 mPhone.onMMIDone (this); 214 mPhone.mCi.supplyIccPuk(oldPinOrPuk, newPin, 226 mPhone.onMMIDone(this); 236 mPhone.onMMIDone(this); 299 mPhone.onMMIDone(this);
|
CdmaCallTracker.java | 80 CDMAPhone mPhone; 97 mPhone = phone; 186 PhoneNumberUtils.isLocalEmergencyNumber(dialString, mPhone.getContext()); 205 mPendingMO = new CdmaConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString), 228 mPhone.exitEmergencyCallbackMode(); 229 mPhone.setOnEcbModeExitResponse(this,EVENT_EXIT_ECM_RESPONSE_CDMA, null); 236 mPhone.notifyPreciseCallStateChanged(); 254 mPendingMO = new CdmaConnection(mPhone.getContext(), 329 mPhone.notifyPreciseCallStateChanged(); 343 int serviceState = mPhone.getServiceState().getState() [all...] |
CdmaServiceStateTracker.java | 74 CDMAPhone mPhone; 167 mPhone = phone; 210 mPhone.unregisterForEriFileLoaded(this); 251 Settings.Global.putInt(mPhone.getContext().getContentResolver(), 269 if (!mPhone.mIsTheCurrentActivePhone) { 284 if (mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) { 292 mPhone.prepareEri(); 372 mPhone.notifyLocationChanged(); 515 DcTrackerBase dcTracker = mPhone.mDcTracker; 542 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
SimSmsInterfaceManager.java | 66 mPhone.mCi.deleteSmsOnSim(index, response); 71 mPhone.mCi.writeSmsToSim(status, IccUtils.bytesToHexString(smsc), 89 Context context = mPhone.getContext(); 117 Context context = mPhone.getContext(); 192 mPhone.mCi.setGsmBroadcastConfig(configs, response); 212 mPhone.mCi.setGsmBroadcastActivation(activate, response);
|
GsmMmiCode.java | 114 GSMPhone mPhone; 408 mPhone = phone; 446 mPhone.mCi.cancelPendingUssd(obtainMessage(EVENT_USSD_CANCEL_COMPLETE, this)); 457 mPhone.onMMIDone (this); 646 mPhone.mCi.queryCLIP( 654 mPhone.mCi.setCLIR(CommandsInterface.CLIR_INVOCATION, 657 mPhone.mCi.setCLIR(CommandsInterface.CLIR_SUPPRESSION, 660 mPhone.mCi.getCLIR( 674 mPhone.mCi.queryCallForwardStatus( 713 mPhone.mCi.setCallForward(cfAction, reason, serviceClass [all...] |
GsmCallTracker.java | 84 GSMPhone mPhone; 98 this.mPhone = phone; 209 pendingMO = new GsmConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString), 230 mPhone.notifyPreciseCallStateChanged(); 306 mPhone.notifyPreciseCallStateChanged(); 320 int serviceState = mPhone.getServiceState().getState(); 413 mPhone.notifyPhoneStateChanged(); 488 mConnections[i] = new GsmConnection(mPhone.getContext(), dc, this, i); 529 mConnections[i] = new GsmConnection (mPhone.getContext(), dc, this, i); 574 mPhone.notifyNewRingingConnection(newRinging) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
CdmaSubscriptionListPreference.java | 45 private Phone mPhone; 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(),
|
CdmaSystemSelectListPreference.java | 39 private Phone mPhone; 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.queryCdmaRoamingPreference(obtainMessage(MESSAGE_GET_ROAMING_PREFERENCE)) [all...] |
Use2GOnlyCheckBoxPreference.java | 33 private Phone mPhone; 46 mPhone = PhoneGlobals.getPhone(); 48 mPhone.getPreferredNetworkType( 65 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), 67 mPhone.setPreferredNetworkType(networkType, mHandler 100 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), 117 mPhone.getPreferredNetworkType(obtainMessage(MESSAGE_GET_PREFERRED_NETWORK_TYPE));
|
EmergencyCallHelper.java | 71 private Phone mPhone; 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 != null) [all...] |
CdmaOptions.java | 49 private Phone mPhone; 54 mPhone = phone; 79 final boolean isLTE = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE;
|
EmergencyCallbackModeExitDialog.java | 73 private Phone mPhone = null; 94 mPhone = PhoneGlobals.getPhone(); 95 mPhone.registerForEcmTimerReset(mTimerResetHandler, ECM_TIMER_RESET, null); 108 mPhone.unregisterForEcmTimerReset(mHandler); 215 mPhone.exitEmergencyCallbackMode();
|
EmergencyCallbackModeService.java | 59 private Phone mPhone = null; 92 mPhone = PhoneFactory.getDefaultPhone(); 93 mPhone.registerForEcmTimerReset(mHandler, ECM_TIMER_RESET, null); 103 mPhone.unregisterForEcmTimerReset(mHandler);
|
MobileNetworkSettings.java | 87 private Phone mPhone; 102 mPhone.setDataRoamingEnabled(true); 143 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). 164 mPhone.setDataRoamingEnabled(false); 208 mPhone = PhoneGlobals.getPhone(); 220 boolean isLteOnCdma = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE; 227 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). 231 mCdmaOptions = new CdmaOptions(this, prefSet, mPhone); 237 int phoneType = mPhone.getPhoneType(); 239 mCdmaOptions = new CdmaOptions(this, prefSet, mPhone); [all...] |
CLIRListPreference.java | 26 private final Phone mPhone; 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,
|
CallWaitingCheckBoxPreference.java | 23 private final Phone mPhone; 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,
|
EnableFdnScreen.java | 48 private Phone mPhone; 70 mPhone = PhoneGlobals.getPhone(); 71 mEnable = !mPhone.getIccCard().getIccFdnEnabled(); 80 mPhone = PhoneGlobals.getPhone(); 110 mPhone.getIccCard().setIccFdnEnabled(mEnable, getPin2(), callback);
|
EnableIccPinScreen.java | 48 private Phone mPhone; 70 mPhone = PhoneGlobals.getPhone(); 71 mEnable = !mPhone.getIccCard().getIccLockEnabled(); 105 mPhone.getIccCard().setIccLockEnabled(mEnable, getPin(), callback);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List7.java | 40 private TextView mPhone; 58 mPhone = (TextView) findViewById(R.id.phone); 93 mPhone.setText(text);
|