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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java38 private PhoneBase mPhone; field in class:TelephonyTester
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
[all...]
H A DPhoneSubInfo.java37 private Phone mPhone; field in class:PhoneSubInfo
48 mPhone = phone;
70 return mPhone.getDeviceId();
78 return mPhone.getImei();
87 return mPhone.getDeviceSvn();
95 return mPhone.getSubscriberId();
103 return mPhone.getGroupIdLevel1();
111 return mPhone.getIccSerialNumber();
119 return mPhone.getLine1Number();
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;
133 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.java181 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone);
216 mPhone.mCi.registerForAvailable(this, DctConstants.EVENT_RADIO_AVAILABLE, null);
217 mPhone.mCi.registerForOffOrNotAvailable(this,
219 mPhone.mCi.registerForDataNetworkStateChanged(this,
221 mPhone.getCallTracker().registerForVoiceCallEnded (this,
223 mPhone.getCallTracker().registerForVoiceCallStarted (this,
225 mPhone.getServiceStateTracker().registerForDataConnectionAttached(this,
227 mPhone.getServiceStateTracker().registerForDataConnectionDetached(this,
229 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.java197 protected PhoneBase mPhone; field in class:DcTrackerBase
409 // already running on mPhone handler thread
410 if (mPhone.getServiceState().getRoaming()) {
481 long phoneSubId = mPhone.getSubId();
554 mPhone = phone;
556 mResolver = mPhone.getContext().getContentResolver();
560 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE);
561 mCm = (ConnectivityManager) mPhone.getContext().getSystemService(
574 mPhone.getContext().getContentResolver(), Settings.Global.MOBILE_DATA, 1) == 1;
576 mPhone
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java62 if (mPhone == null && msg.what != MSG_SET_IN_CALL_ADAPTER) {
68 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
69 onPhoneCreated(mPhone);
72 mPhone.internalAddCall((ParcelableCall) msg.obj);
75 mPhone.internalUpdateCall((ParcelableCall) msg.obj);
82 mPhone.internalSetPostDialWait(callId, remaining);
89 mPhone.internalAudioStateChanged((AudioState) msg.obj);
92 mPhone.internalBringToForeground(msg.arg1 == 1);
141 private Phone mPhone; field in class:InCallService
153 if (mPhone !
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandler.java57 mPhone.mCi.unSetOnNewGsmSms(getHandler());
104 UsimServiceTable ust = mPhone.getUsimServiceTable();
110 mPhone.setVoiceMessageWaiting(1, sms.getNumOfVoicemails());
114 mPhone.setVoiceMessageWaiting(1, 0); // line 1: no msgs waiting
140 mPhone.mCi.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response);
144 * Called when the phone changes the default method updates mPhone
H A DGsmServiceStateTracker.java95 private GSMPhone mPhone; field in class:GsmServiceStateTracker
177 if (!mPhone.mIsTheCurrentActivePhone) {
188 DcTrackerBase dcTracker = mPhone.mDcTracker;
213 mPhone = phone;
270 mPhone.getContext().unregisterReceiver(mIntentReceiver);
281 return mPhone;
291 if (!mPhone.mIsTheCurrentActivePhone) {
304 int networkType = PhoneFactory.calculatePreferredNetworkType(mPhone.getContext());
307 boolean skipRestoringSelection = mPhone.getContext().getResources().getBoolean(
312 mPhone
[all...]
H A DGsmMmiCode.java117 GSMPhone mPhone; field in class:GsmMmiCode
413 mPhone = phone;
437 return ((Phone) mPhone);
456 mPhone.mCi.cancelPendingUssd(obtainMessage(EVENT_USSD_CANCEL_COMPLETE, this));
467 mPhone.onMMIDone (this);
656 mPhone.mCi.queryCLIP(
664 mPhone.mCi.setCLIR(CommandsInterface.CLIR_INVOCATION,
667 mPhone.mCi.setCLIR(CommandsInterface.CLIR_SUPPRESSION,
670 mPhone.mCi.getCLIR(
684 mPhone
[all...]
H A DGsmCallTracker.java87 GSMPhone mPhone; field in class:GsmCallTracker
101 this.mPhone = phone;
179 dialString = convertNumberIfNecessary(mPhone, dialString);
203 mPendingMO = new GsmConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString),
229 mPhone.notifyPreciseCallStateChanged();
305 mPhone.notifyPreciseCallStateChanged();
319 int serviceState = mPhone.getServiceState().getState();
414 mPhone.notifyPhoneStateChanged();
491 mConnections[i] = new GsmConnection(mPhone.getContext(), dc, this, i);
498 mPhone
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCallTracker.java83 CDMAPhone mPhone; field in class:CdmaCallTracker
101 mPhone = phone;
177 String operatorIsoContry = mPhone.getSystemProperty(
179 String simIsoContry = mPhone.getSystemProperty(
192 dialString = convertNumberIfNecessary(mPhone, dialString);
198 PhoneNumberUtils.isLocalEmergencyNumber(mPhone.getContext(), dialString);
217 mPendingMO = new CdmaConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString),
240 mPhone.exitEmergencyCallbackMode();
241 mPhone.setOnEcbModeExitResponse(this,EVENT_EXIT_ECM_RESPONSE_CDMA, null);
253 mPhone
[all...]
H A DCdmaLteServiceStateTracker.java83 if (!mPhone.mIsTheCurrentActivePhone) {
111 mPhone.prepareEri();
386 mPhone.setSystemProperty(TelephonyProperties.PROPERTY_DATA_NETWORK_TYPE,
397 if (!hasBrandOverride && (mCi.getRadioState().isOn()) && (mPhone.isEriFileLoaded())) {
402 eriText = mPhone.getCdmaEriText();
413 eriText = mPhone.getContext()
436 mPhone.setSystemProperty(TelephonyProperties.PROPERTY_OPERATOR_ALPHA,
447 mPhone.setSystemProperty(TelephonyProperties.PROPERTY_OPERATOR_NUMERIC, operatorNumeric);
449 prevOperatorNumeric, mPhone.getContext());
453 mPhone
[all...]
H A DCdmaServiceStateTracker.java78 CDMAPhone mPhone; field in class:CdmaServiceStateTracker
178 mPhone = phone;
228 mPhone.unregisterForEriFileLoaded(this);
269 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
287 if (!mPhone.mIsTheCurrentActivePhone) {
299 int networkType = PhoneFactory.calculatePreferredNetworkType(mPhone.getContext());
302 if (mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
312 mPhone.setNetworkSelectionModeAutomatic(null);
314 mPhone.prepareEri();
321 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/imsphone/
H A DImsPhoneCallTracker.java103 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone.getContext(), imsCall,
120 mPhone.notifyNewRingingConnection(conn);
121 mPhone.notifyIncomingRing();
124 mPhone.notifyPreciseCallStateChanged();
161 ImsPhone mPhone; field in class:ImsPhoneCallTracker
185 this.mPhone = phone;
189 mPhone.getContext().registerReceiver(mReceiver, intentfilter);
202 return PendingIntent.getBroadcast(mPhone.getContext(), 0, intent,
208 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...]
/frameworks/base/location/java/android/location/
H A DAddress.java55 private String mPhone; field in class:Address
369 return mPhone;
376 mPhone = phone;
466 sb.append(mPhone);
518 a.mPhone = in.readString();
565 parcel.writeString(mPhone);

Completed in 2564 milliseconds

12