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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java55 private PhoneBase mPhone; field in class:TelephonyTester
64 if (action.equals(mPhone.getActionDetached())) {
66 mPhone.getServiceStateTracker().mDetachedRegistrants.notifyRegistrants();
67 } else if (action.equals(mPhone.getActionAttached())) {
69 mPhone.getServiceStateTracker().mAttachedRegistrants.notifyRegistrants();
80 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
[all...]
H A DPhoneSubInfo.java37 private Phone mPhone; field in class:PhoneSubInfo
48 mPhone = phone;
70 return mPhone.getDeviceId();
78 return mPhone.getImei();
86 return mPhone.getNai();
95 return mPhone.getDeviceSvn();
103 return mPhone.getSubscriberId();
111 return mPhone.getGroupIdLevel1();
119 return mPhone.getIccSerialNumber();
127 return mPhone
[all...]
H A DIccSmsInterfaceManager.java80 protected PhoneBase mPhone; field in class:IccSmsInterfaceManager
129 mPhone = phone;
143 IccFileHandler fh = mPhone.getIccFileHandler();
171 mPhone = phone;
213 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
214 mPhone.mCi.deleteSmsOnSim(index, response);
216 mPhone.mCi.deleteSmsOnRuim(index, response);
220 IccFileHandler fh = mPhone.getIccFileHandler();
263 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
264 mPhone
[all...]
H A DSmsStorageMonitor.java59 PhoneBase mPhone; field in class:SmsStorageMonitor
75 mPhone = phone;
147 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId());
H A DWakeLockStateMachine.java53 protected PhoneBase mPhone; field in class:WakeLockStateMachine
68 mPhone = phone;
116 mPhone = (PhoneBase) msg.obj;
117 log("updatePhoneObject: phone=" + mPhone.getClass().getSimpleName());
H A DIccPhoneBookInterfaceManager.java44 protected PhoneBase mPhone; field in class:IccPhoneBookInterfaceManager
115 this.mPhone = phone;
163 if (mPhone.getContext().checkCallingOrSelfPermission(
215 if (mPhone.getContext().checkCallingOrSelfPermission(
263 if (mPhone.getContext().checkCallingOrSelfPermission(
311 if (mPhone.getCurrentUiccAppType() == AppType.APPTYPE_USIM) {
H A DUiccPhoneBookController.java36 private Phone[] mPhone; field in class:UiccPhoneBookController
43 mPhone = phone;
141 return ((PhoneProxy)mPhone[(int)phoneId]).getIccPhoneBookInterfaceManagerProxy();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTesterFailBringUpAll.java44 private PhoneBase mPhone; field in class:DcTesterFailBringUpAll
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());
97 mPhone.getContext().unregisterReceiver(mIntentReceiver);
H A DDcTesterDeactivateAll.java38 private PhoneBase mPhone; field in class:DcTesterDeactivateAll
53 || action.equals(mPhone.getActionDetached())) {
69 mPhone = phone;
78 filter.addAction(mPhone.getActionDetached());
79 log("register for intent action=" + mPhone.getActionDetached());
87 mPhone.getContext().unregisterReceiver(sIntentReceiver);
H A DDcRetryAlarmController.java39 private PhoneBase mPhone; field in class:DcRetryAlarmController
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);
H A DDcTracker.java173 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone);
184 mPhone.mCi.registerForAvailable(this, DctConstants.EVENT_RADIO_AVAILABLE, null);
185 mPhone.mCi.registerForOffOrNotAvailable(this,
187 mPhone.mCi.registerForDataNetworkStateChanged(this,
194 mPhone.getCallTracker().registerForVoiceCallEnded (this,
196 mPhone.getCallTracker().registerForVoiceCallStarted (this,
198 mPhone.getServiceStateTracker().registerForDataConnectionAttached(this,
200 mPhone.getServiceStateTracker().registerForDataConnectionDetached(this,
202 mPhone
[all...]
H A DDcController.java51 private PhoneBase mPhone; field in class:DcController
89 mPhone = phone;
133 mPhone.mCi.registerForRilConnected(getHandler(),
135 mPhone.mCi.registerForDataNetworkStateChanged(getHandler(),
139 new DcTesterDeactivateAll(mPhone, DcController.this, getHandler());
145 if (mPhone != null) {
146 mPhone.mCi.unregisterForRilConnected(getHandler());
147 mPhone.mCi.unregisterForDataNetworkStateChanged(getHandler());
298 mPhone.notifyDataConnection(
374 mPhone
[all...]
H A DDcTrackerBase.java194 protected PhoneBase mPhone; field in class:DcTrackerBase
399 int subId = mPhone.getSubId();
405 mDataRoamingSettingObserver = new DataRoamingSettingObserver(mPhone,
406 mPhone.getContext());
424 contentUri = Settings.Global.DATA_ROAMING + mPhone.getSubId();
436 // already running on mPhone handler thread
437 if (mPhone.getServiceState().getDataRoaming()) {
508 int phoneSubId = mPhone.getSubId();
584 mPhone = phone;
586 mResolver = mPhone
[all...]
H A DDcSwitchStateMachine.java42 private Phone mPhone; field in class:DcSwitchStateMachine
54 mPhone = phone;
96 PhoneBase pb = (PhoneBase)((PhoneProxy)mPhone).getActivePhone();
150 PhoneBase pb = (PhoneBase) ((PhoneProxy) mPhone).getActivePhone();
270 PhoneBase pb = (PhoneBase)((PhoneProxy)mPhone).getActivePhone();
/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java63 if (mPhone == null && msg.what != MSG_SET_IN_CALL_ADAPTER) {
69 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
70 onPhoneCreated(mPhone);
73 mPhone.internalAddCall((ParcelableCall) msg.obj);
76 mPhone.internalUpdateCall((ParcelableCall) msg.obj);
83 mPhone.internalSetPostDialWait(callId, remaining);
90 mPhone.internalAudioStateChanged((AudioState) msg.obj);
93 mPhone.internalBringToForeground(msg.arg1 == 1);
96 mPhone.internalSetCanAddCall(msg.arg1 == 1);
151 private Phone mPhone; field in class:InCallService
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java82 mPhone.unregisterForSimRecordsLoaded(this);
92 if (!mPhone.mIsTheCurrentActivePhone) {
120 mPhone.prepareEri();
308 if (mPhone.isMccMncMarkedAsNonRoaming(mNewSS.getOperatorNumeric()) ||
309 mPhone.isSidMarkedAsNonRoaming(mNewSS.getSystemId())) {
314 } else if (mPhone.isMccMncMarkedAsRoaming(mNewSS.getOperatorNumeric()) ||
315 mPhone.isSidMarkedAsRoaming(mNewSS.getSystemId())) {
383 (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE);
429 tm.setDataNetworkTypeForPhone(mPhone.getPhoneId(), mSS.getRilDataRadioTechnology());
439 if (!hasBrandOverride && (mCi.getRadioState().isOn()) && (mPhone
[all...]
H A DCdmaCallTracker.java88 CDMAPhone mPhone; field in class:CdmaCallTracker
106 mPhone = phone;
182 (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE);
184 String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId());
185 String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId());
197 dialString = convertNumberIfNecessary(mPhone, dialString);
203 PhoneNumberUtils.isLocalEmergencyNumber(mPhone.getContext(), dialString);
222 mPendingMO = new CdmaConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString),
245 mPhone.exitEmergencyCallbackMode();
246 mPhone
[all...]
H A DCdmaServiceStateTracker.java78 CDMAPhone mPhone; field in class:CdmaServiceStateTracker
174 mPhone = phone;
224 mPhone.unregisterForEriFileLoaded(this);
265 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
268 log("Read from settings: " + Settings.Global.getInt(mPhone.getContext().getContentResolver(),
285 if (!mPhone.mIsTheCurrentActivePhone) {
297 if (mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
309 mPhone.prepareEri();
394 mPhone.notifyLocationChanged();
524 mPhone
[all...]
H A DCdmaMmiCode.java61 CDMAPhone mPhone; field in class:CdmaMmiCode
147 mPhone = phone;
168 return ((Phone) mPhone);
181 mPhone.onMMIDone (this);
265 mPhone.onMMIDone(this);
275 mPhone.onMMIDone(this);
367 mPhone.onMMIDone(this);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java97 private GSMPhone mPhone; field in class:GsmServiceStateTracker
173 if (!mPhone.mIsTheCurrentActivePhone) {
184 DcTrackerBase dcTracker = mPhone.mDcTracker;
224 mPhone = phone;
282 mPhone.getContext().unregisterReceiver(mIntentReceiver);
293 return mPhone;
303 if (!mPhone.mIsTheCurrentActivePhone) {
368 mPhone.notifyLocationChanged();
416 mPhone.notifyOtaspChanged(OTASP_NOT_NEEDED);
467 GsmCellLocation loc = ((GsmCellLocation)mPhone
[all...]
H A DGsmInboundSmsHandler.java59 mPhone.mCi.unSetOnNewGsmSms(getHandler());
106 UsimServiceTable ust = mPhone.getUsimServiceTable();
144 mPhone.setVoiceMessageCount(voicemailCount);
147 mPhone.getPhoneId(), UiccController.APP_FAM_3GPP);
165 mPhone.mCi.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response);
169 * Called when the phone changes the default method updates mPhone
H A DGsmMmiCode.java118 GSMPhone mPhone; field in class:GsmMmiCode
309 if (mPhone.mIccRecords != null) {
546 mPhone = phone;
570 return ((Phone) mPhone);
589 mPhone.mCi.cancelPendingUssd(obtainMessage(EVENT_USSD_CANCEL_COMPLETE, this));
600 mPhone.onMMIDone (this);
793 mPhone.mCi.queryCLIP(
801 mPhone.mCi.setCLIR(CommandsInterface.CLIR_INVOCATION,
804 mPhone.mCi.setCLIR(CommandsInterface.CLIR_SUPPRESSION,
807 mPhone
[all...]
H A DGsmCallTracker.java89 GSMPhone mPhone; field in class:GsmCallTracker
103 this.mPhone = phone;
181 dialString = convertNumberIfNecessary(mPhone, dialString);
205 mPendingMO = new GsmConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString),
231 mPhone.notifyPreciseCallStateChanged();
307 mPhone.notifyPreciseCallStateChanged();
321 int serviceState = mPhone.getServiceState().getState();
403 ImsPhone imsPhone = (ImsPhone)mPhone.getImsPhone();
419 mPhone.notifyPhoneStateChanged();
496 mConnections[i] = new GsmConnection(mPhone
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java104 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone.getContext(), imsCall,
121 mPhone.notifyNewRingingConnection(conn);
122 mPhone.notifyIncomingRing();
125 mPhone.notifyPreciseCallStateChanged();
162 ImsPhone mPhone; field in class:ImsPhoneCallTracker
188 this.mPhone = phone;
192 mPhone.getContext().registerReceiver(mReceiver, intentfilter);
205 return PendingIntent.getBroadcast(mPhone.getContext(), 0, intent,
211 mImsManager = ImsManager.getInstance(mPhone.getContext(), mPhone
[all...]
H A DImsPhoneMmiCode.java166 private ImsPhone mPhone; field in class:ImsPhoneMmiCode
452 mPhone = phone;
454 mIccRecords = mPhone.mDefaultPhone.mIccRecords.get();
472 public Phone getPhone() { return mPhone; }
486 mPhone.cancelUSSD();
488 mPhone.onMMIDone (this);
716 mPhone.getCallForwardingOption(reason,
752 mPhone.setCallForwardingOption(cfAction, reason,
767 mPhone.getCallBarring(facility,
770 mPhone
[all...]

Completed in 1737 milliseconds

12