Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfo.java37 private Phone mPhone; field in PhoneSubInfo
48 mPhone = phone; in PhoneSubInfo()
70 return mPhone.getDeviceId(); in getDeviceId()
78 return mPhone.getImei(); in getImei()
86 return mPhone.getNai(); in getNai()
95 return mPhone.getDeviceSvn(); in getDeviceSvn()
103 return mPhone.getSubscriberId(); in getSubscriberId()
111 return mPhone.getGroupIdLevel1(); in getGroupIdLevel1()
119 return mPhone.getIccSerialNumber(); in getIccSerialNumber()
127 return mPhone.getLine1Number(); in getLine1Number()
[all …]
DTelephonyTester.java55 private PhoneBase mPhone; field in 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; in TelephonyTester()
85 filter.addAction(mPhone.getActionDetached()); in TelephonyTester()
86 log("register for intent action=" + mPhone.getActionDetached()); in TelephonyTester()
88 filter.addAction(mPhone.getActionAttached()); in TelephonyTester()
89 log("register for intent action=" + mPhone.getActionAttached()); in TelephonyTester()
[all …]
DIccSmsInterfaceManager.java80 protected PhoneBase mPhone; field in IccSmsInterfaceManager
129 mPhone = phone; in IccSmsInterfaceManager()
143 IccFileHandler fh = mPhone.getIccFileHandler(); in markMessagesAsRead()
171 mPhone = phone; in updatePhoneObject()
213 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
214 mPhone.mCi.deleteSmsOnSim(index, response); in updateMessageOnIccEf()
216 mPhone.mCi.deleteSmsOnRuim(index, response); in updateMessageOnIccEf()
220 IccFileHandler fh = mPhone.getIccFileHandler(); in updateMessageOnIccEf()
263 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
264 mPhone.mCi.writeSmsToSim(status, IccUtils.bytesToHexString(smsc), in copyMessageToIccEf()
[all …]
DIccPhoneBookInterfaceManager.java44 protected PhoneBase mPhone; field in IccPhoneBookInterfaceManager
115 this.mPhone = phone; in IccPhoneBookInterfaceManager()
163 if (mPhone.getContext().checkCallingOrSelfPermission( in updateAdnRecordsInEfBySearch()
215 if (mPhone.getContext().checkCallingOrSelfPermission( in updateAdnRecordsInEfByIndex()
263 if (mPhone.getContext().checkCallingOrSelfPermission( in getAdnRecordsInEf()
311 if (mPhone.getCurrentUiccAppType() == AppType.APPTYPE_USIM) { in updateEfForIccType()
DWakeLockStateMachine.java53 protected PhoneBase mPhone; field in WakeLockStateMachine
68 mPhone = phone; in WakeLockStateMachine()
116 mPhone = (PhoneBase) msg.obj; in processMessage()
117 log("updatePhoneObject: phone=" + mPhone.getClass().getSimpleName()); in processMessage()
DInboundSmsHandler.java184 protected PhoneBase mPhone; field in InboundSmsHandler
202 mPhone = phone; in InboundSmsHandler()
210 mPhone.getPhoneId(), smsCapable); in InboundSmsHandler()
255 return mPhone; in getPhone()
575 mPhone = phone; in onUpdatePhoneObject()
576 mStorageMonitor = mPhone.mSmsStorageMonitor; in onUpdatePhoneObject()
577 log("onUpdatePhoneObject: phone=" + mPhone.getClass().getSimpleName()); in onUpdatePhoneObject()
753 UiccCard card = UiccController.getInstance().getUiccCard(mPhone.getPhoneId()); in processMessagePart()
819 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in dispatchIntent()
1005 String imsi = mPhone.getSubscriberId(); in storeVoiceMailCount()
[all …]
/frameworks/base/telecomm/java/android/telecom/
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 InCallService
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterFailBringUpAll.java44 private PhoneBase mPhone; field in DcTesterFailBringUpAll
60 } else if (action.equals(mPhone.getActionDetached())) {
66 } else if (action.equals(mPhone.getActionAttached())) {
78 mPhone = phone; in DcTesterFailBringUpAll()
85 filter.addAction(mPhone.getActionDetached()); in DcTesterFailBringUpAll()
86 log("register for intent action=" + mPhone.getActionDetached()); in DcTesterFailBringUpAll()
88 filter.addAction(mPhone.getActionAttached()); in DcTesterFailBringUpAll()
89 log("register for intent action=" + mPhone.getActionAttached()); in DcTesterFailBringUpAll()
97 mPhone.getContext().unregisterReceiver(mIntentReceiver); in dispose()
DDcTracker.java173 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone); in DcTracker()
184 mPhone.mCi.registerForAvailable(this, DctConstants.EVENT_RADIO_AVAILABLE, null); in registerForAllEvents()
185 mPhone.mCi.registerForOffOrNotAvailable(this, in registerForAllEvents()
187 mPhone.mCi.registerForDataNetworkStateChanged(this, in registerForAllEvents()
194 mPhone.getCallTracker().registerForVoiceCallEnded (this, in registerForAllEvents()
196 mPhone.getCallTracker().registerForVoiceCallStarted (this, in registerForAllEvents()
198 mPhone.getServiceStateTracker().registerForDataConnectionAttached(this, in registerForAllEvents()
200 mPhone.getServiceStateTracker().registerForDataConnectionDetached(this, in registerForAllEvents()
202 mPhone.getServiceStateTracker().registerForDataRoamingOn(this, in registerForAllEvents()
204 mPhone.getServiceStateTracker().registerForDataRoamingOff(this, in registerForAllEvents()
[all …]
DDcTesterDeactivateAll.java38 private PhoneBase mPhone; field in DcTesterDeactivateAll
53 || action.equals(mPhone.getActionDetached())) {
69 mPhone = phone; in DcTesterDeactivateAll()
78 filter.addAction(mPhone.getActionDetached()); in DcTesterDeactivateAll()
79 log("register for intent action=" + mPhone.getActionDetached()); in DcTesterDeactivateAll()
87 mPhone.getContext().unregisterReceiver(sIntentReceiver); in dispose()
DDcRetryAlarmController.java39 private PhoneBase mPhone; field in DcRetryAlarmController
80 mPhone = phone; in DcRetryAlarmController()
82 mAlarmManager = (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); in DcRetryAlarmController()
89 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mDc.getHandler()); in DcRetryAlarmController()
97 mPhone.getContext().unregisterReceiver(mIntentReceiver); in dispose()
98 mPhone = null; in dispose()
149 PendingIntent retryIntent = PendingIntent.getBroadcast (mPhone.getContext(), 0, in startRetryAlarm()
159 sb.append(" mPhone=").append(mPhone); in toString()
DDcTrackerBase.java194 protected PhoneBase mPhone; field in DcTrackerBase
399 int subId = mPhone.getSubId();
405 mDataRoamingSettingObserver = new DataRoamingSettingObserver(mPhone,
406 mPhone.getContext());
424 contentUri = Settings.Global.DATA_ROAMING + mPhone.getSubId(); in register()
437 if (mPhone.getServiceState().getDataRoaming()) { in onChange()
508 int phoneSubId = mPhone.getSubId(); in onActionIntentReconnectAlarm()
584 mPhone = phone; in DcTrackerBase()
586 mResolver = mPhone.getContext().getContentResolver(); in DcTrackerBase()
590 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); in DcTrackerBase()
[all …]
DDcController.java51 private PhoneBase mPhone; field in DcController
89 mPhone = phone; in DcController()
133 mPhone.mCi.registerForRilConnected(getHandler(), in enter()
135 mPhone.mCi.registerForDataNetworkStateChanged(getHandler(), in enter()
139 new DcTesterDeactivateAll(mPhone, DcController.this, getHandler()); in enter()
145 if (mPhone != null) { in exit()
146 mPhone.mCi.unregisterForRilConnected(getHandler()); in exit()
147 mPhone.mCi.unregisterForDataNetworkStateChanged(getHandler()); in exit()
298 mPhone.notifyDataConnection( in onDataStateChanged()
374 mPhone.notifyDataConnectionRealTimeInfo(dcRtInfo); in onDataStateChanged()
[all …]
DDataConnection.java177 private PhoneBase mPhone; field in DataConnection
398 int mtu = mPhone.getContext().getResources().getInteger( in checkSetMtu()
415 mPhone = phone; in DataConnection()
421 mDcRetryAlarmController = new DcRetryAlarmController(mPhone, this); in DataConnection()
422 ServiceState ss = mPhone.getServiceState(); in DataConnection()
424 mDataRegState = mPhone.getServiceState().getDataRegState(); in DataConnection()
445 int nt = mPhone.getServiceState().getNetworkType(); in getRetryConfig()
512 response.version = mPhone.mCi.getRilVersion(); in onConnect()
552 if (mPhone.getServiceState().getDataRoaming()) { in onConnect()
558 mPhone.mCi.setupDataCall( in onConnect()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaLteServiceStateTracker.java82 mPhone.unregisterForSimRecordsLoaded(this); in dispose()
92 if (!mPhone.mIsTheCurrentActivePhone) { in handleMessage()
120 mPhone.prepareEri(); in handleMessage()
308 if (mPhone.isMccMncMarkedAsNonRoaming(mNewSS.getOperatorNumeric()) || in pollStateDone()
309 mPhone.isSidMarkedAsNonRoaming(mNewSS.getSystemId())) { in pollStateDone()
314 } else if (mPhone.isMccMncMarkedAsRoaming(mNewSS.getOperatorNumeric()) || in pollStateDone()
315 mPhone.isSidMarkedAsRoaming(mNewSS.getSystemId())) { in pollStateDone()
383 (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE); in pollStateDone()
429 tm.setDataNetworkTypeForPhone(mPhone.getPhoneId(), mSS.getRilDataRadioTechnology()); in pollStateDone()
439 if (!hasBrandOverride && (mCi.getRadioState().isOn()) && (mPhone.isEriFileLoaded()) && in pollStateDone()
[all …]
DCdmaServiceStateTracker.java78 CDMAPhone mPhone; field in CdmaServiceStateTracker
174 mPhone = phone; in CdmaServiceStateTracker()
224 mPhone.unregisterForEriFileLoaded(this); in dispose()
265 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in saveCdmaSubscriptionSource()
268 … log("Read from settings: " + Settings.Global.getInt(mPhone.getContext().getContentResolver(), in saveCdmaSubscriptionSource()
285 if (!mPhone.mIsTheCurrentActivePhone) { in handleMessage()
297 if (mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) { in handleMessage()
309 mPhone.prepareEri(); in handleMessage()
394 mPhone.notifyLocationChanged(); in handleMessage()
524 mPhone.setNetworkSelectionModeAutomatic(null); in handleMessage()
[all …]
DCdmaCallTracker.java88 CDMAPhone mPhone; field in CdmaCallTracker
106 mPhone = phone; in CdmaCallTracker()
182 (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE); in dial()
184 String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); in dial()
185 String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId()); in dial()
197 dialString = convertNumberIfNecessary(mPhone, dialString); in dial()
203 PhoneNumberUtils.isLocalEmergencyNumber(mPhone.getContext(), dialString); in dial()
222 … mPendingMO = new CdmaConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString), in dial()
245 mPhone.exitEmergencyCallbackMode(); in dial()
246 mPhone.setOnEcbModeExitResponse(this,EVENT_EXIT_ECM_RESPONSE_CDMA, null); in dial()
[all …]
DCdmaMmiCode.java61 CDMAPhone mPhone; field in CdmaMmiCode
147 mPhone = phone; in CdmaMmiCode()
168 return ((Phone) mPhone); in getPhone()
181 mPhone.onMMIDone (this); in cancel()
265 mPhone.onMMIDone(this); in processCode()
275 mPhone.onMMIDone(this); in handlePasswordError()
367 mPhone.onMMIDone(this); in onSetComplete()
DCdmaSMSDispatcher.java222 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
230 int ss = mPhone.getServiceState().getState(); in sendSmsByPstn()
240 int currentDataNetwork = mPhone.getServiceState().getDataNetworkType(); in sendSmsByPstn()
243 && !mPhone.getServiceStateTracker().isConcurrentVoiceAndDataAllowed())) in sendSmsByPstn()
244 && mPhone.getServiceState().getVoiceNetworkType() in sendSmsByPstn()
246 && ((CDMAPhone) mPhone).mCT.mState != PhoneConstants.State.IDLE; in sendSmsByPstn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java104 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone.getContext(), imsCall,
121 mPhone.notifyNewRingingConnection(conn);
122 mPhone.notifyIncomingRing();
125 mPhone.notifyPreciseCallStateChanged();
162 ImsPhone mPhone; field in ImsPhoneCallTracker
188 this.mPhone = phone; in ImsPhoneCallTracker()
192 mPhone.getContext().registerReceiver(mReceiver, intentfilter); in ImsPhoneCallTracker()
205 return PendingIntent.getBroadcast(mPhone.getContext(), 0, intent, in createIncomingCallPendingIntent()
211 mImsManager = ImsManager.getInstance(mPhone.getContext(), mPhone.getPhoneId()); in getImsService()
218 getEcbmInterface().setEcbmStateListener(mPhone.mImsEcbmStateListener); in getImsService()
[all …]
DImsPhoneMmiCode.java166 private ImsPhone mPhone; field in ImsPhoneMmiCode
452 mPhone = phone; in ImsPhoneMmiCode()
454 mIccRecords = mPhone.mDefaultPhone.mIccRecords.get(); in ImsPhoneMmiCode()
472 public Phone getPhone() { return mPhone; } in getPhone()
486 mPhone.cancelUSSD(); in cancel()
488 mPhone.onMMIDone (this); in cancel()
716 mPhone.getCallForwardingOption(reason, in processCode()
752 mPhone.setCallForwardingOption(cfAction, reason, in processCode()
767 mPhone.getCallBarring(facility, in processCode()
770 mPhone.setCallBarring(facility, isActivate(), password, in processCode()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java97 private GSMPhone mPhone; field in GsmServiceStateTracker
173 if (!mPhone.mIsTheCurrentActivePhone) {
184 DcTrackerBase dcTracker = mPhone.mDcTracker;
224 mPhone = phone; in GsmServiceStateTracker()
282 mPhone.getContext().unregisterReceiver(mIntentReceiver); in dispose()
293 return mPhone; in getPhone()
303 if (!mPhone.mIsTheCurrentActivePhone) { in handleMessage()
368 mPhone.notifyLocationChanged(); in handleMessage()
416 mPhone.notifyOtaspChanged(OTASP_NOT_NEEDED); in handleMessage()
467 GsmCellLocation loc = ((GsmCellLocation)mPhone.getCellLocation()); in handleMessage()
[all …]
DGsmCallTracker.java89 GSMPhone mPhone; field in GsmCallTracker
103 this.mPhone = phone; in GsmCallTracker()
181 dialString = convertNumberIfNecessary(mPhone, dialString); in dial()
205 mPendingMO = new GsmConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString), in dial()
231 mPhone.notifyPreciseCallStateChanged(); in dial()
307 mPhone.notifyPreciseCallStateChanged(); in clearDisconnected()
321 int serviceState = mPhone.getServiceState().getState(); in canDial()
403 ImsPhone imsPhone = (ImsPhone)mPhone.getImsPhone(); in updatePhoneState()
419 mPhone.notifyPhoneStateChanged(); in updatePhoneState()
496 mConnections[i] = new GsmConnection(mPhone.getContext(), dc, this, i); in handlePollCalls()
[all …]
DGsmMmiCode.java118 GSMPhone mPhone; field in GsmMmiCode
309 if (mPhone.mIccRecords != null) { in parseSsData()
546 mPhone = phone; in GsmMmiCode()
570 return ((Phone) mPhone); in getPhone()
589 mPhone.mCi.cancelPendingUssd(obtainMessage(EVENT_USSD_CANCEL_COMPLETE, this)); in cancel()
600 mPhone.onMMIDone (this); in cancel()
793 mPhone.mCi.queryCLIP( in processCode()
801 mPhone.mCi.setCLIR(CommandsInterface.CLIR_INVOCATION, in processCode()
804 mPhone.mCi.setCLIR(CommandsInterface.CLIR_SUPPRESSION, in processCode()
807 mPhone.mCi.getCLIR( in processCode()
[all …]
DGsmInboundSmsHandler.java59 mPhone.mCi.unSetOnNewGsmSms(getHandler()); in onQuitting()
106 UsimServiceTable ust = mPhone.getUsimServiceTable(); in dispatchMessageRadioSpecific()
144 mPhone.setVoiceMessageCount(voicemailCount); in updateMessageWaitingIndicator()
147 mPhone.getPhoneId(), UiccController.APP_FAM_3GPP); in updateMessageWaitingIndicator()
165 mPhone.mCi.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response); in acknowledgeLastIncomingSms()

12