HomeSort by relevance Sort by last modified time
    Searched refs:mPhone (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
TelephonyTester.java 55 private PhoneBase mPhone;
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.getActionAttached())
    [all...]
PhoneSubInfo.java 37 private Phone mPhone;
49 mPhone = phone;
74 return mPhone.getDeviceId();
84 return mPhone.getImei();
94 return mPhone.getNai();
106 return mPhone.getDeviceSvn();
116 return mPhone.getSubscriberId();
126 return mPhone.getGroupIdLevel1();
136 return mPhone.getIccSerialNumber();
147 return mPhone.getLine1Number()
    [all...]
IccSmsInterfaceManager.java 80 protected PhoneBase mPhone;
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.mCi.writeSmsToSim(status, IccUtils.bytesToHexString(smsc)
    [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());
97 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());
87 mPhone.getContext().unregisterReceiver(sIntentReceiver);
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);
DcTracker.java 169 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone);
180 mPhone.mCi.registerForAvailable(this, DctConstants.EVENT_RADIO_AVAILABLE, null);
181 mPhone.mCi.registerForOffOrNotAvailable(this,
183 mPhone.mCi.registerForDataNetworkStateChanged(this,
190 mPhone.getCallTracker().registerForVoiceCallEnded (this,
192 mPhone.getCallTracker().registerForVoiceCallStarted (this,
194 mPhone.getServiceStateTracker().registerForDataConnectionAttached(this,
196 mPhone.getServiceStateTracker().registerForDataConnectionDetached(this,
198 mPhone.getServiceStateTracker().registerForDataRoamingOn(this
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
InCallService.java 81 if (mPhone == null && msg.what != MSG_SET_IN_CALL_ADAPTER) {
87 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
88 mPhone.addListener(mPhoneListener);
89 onPhoneCreated(mPhone);
92 mPhone.internalAddCall((ParcelableCall) msg.obj);
95 mPhone.internalUpdateCall((ParcelableCall) msg.obj);
102 mPhone.internalSetPostDialWait(callId, remaining);
109 mPhone.internalCallAudioStateChanged((CallAudioState) msg.obj);
112 mPhone.internalBringToForeground(msg.arg1 == 1);
115 mPhone.internalSetCanAddCall(msg.arg1 == 1)
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestInCallServiceImpl.java 34 private Phone mPhone;
53 mPhone = phone;
54 mPhone.addListener(mPhoneListener);
61 mPhone.removeListener(mPhoneListener);
62 mPhone = null;
  /packages/services/Telephony/src/com/android/phone/settings/
VoicemailRingtonePreference.java 25 private Phone mPhone;
43 mPhone = phone;
50 VoicemailNotificationSettingsUtil.getVoicemailRingtoneSharedPrefsKey(mPhone);
68 return VoicemailNotificationSettingsUtil.getRingtoneUri(mPhone);
75 VoicemailNotificationSettingsUtil.setRingtoneUri(mPhone, ringtoneUri);
  /packages/services/Telephony/src/com/android/phone/
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...]
GsmUmtsAdditionalCallOptions.java 27 private Phone mPhone;
39 mPhone = mSubscriptionInfoHelper.getPhone();
50 mCLIRButton.init(this, false, mPhone);
54 mCLIRButton.init(this, true, mPhone);
55 mCWButton.init(this, true, mPhone);
62 mCLIRButton.init(this, false, mPhone);
88 ((CallWaitingCheckBoxPreference) pref).init(this, false, mPhone);
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(),
MMIDialogActivity.java 46 private Phone mPhone = PhoneGlobals.getPhone();
87 final List<? extends MmiCode> codes = mPhone.getPendingMmiCodes();
106 int phoneType = mPhone.getPhoneType();
108 PhoneUtils.displayMMIComplete(mPhone, this, mmiCode, null, null);
126 PhoneUtils.cancelMmiCode(mPhone);
CallFeaturesSetting.java 105 private Phone mPhone;
121 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
142 if (ImsManager.isEnhanced4gLteModeSettingEnabledByUser(mPhone.getContext())) {
150 startActivity(new Intent(mPhone.getContext(),
185 mPhone = mSubscriptionInfoHelper.getPhone();
204 if (telephonyManager.isMultiSimEnabled() || !SipUtil.isVoipSupported(mPhone.getContext())) {
219 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId());
240 int phoneType = mPhone.getPhoneType();
266 if (ImsManager.isVtEnabledByPlatform(mPhone.getContext()) && ENABLE_VT_FLAG) {
268 ImsManager.isEnhanced4gLteModeSettingEnabledByUser(mPhone.getContext()
    [all...]
CLIRListPreference.java 26 private Phone mPhone;
43 mPhone.setOutgoingCallerIdDisplay(findIndexOfValue(getValue()),
52 mPhone = phone;
55 mPhone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR,
166 mPhone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR,
CallWaitingCheckBoxPreference.java 23 private Phone mPhone;
40 mPhone = phone;
44 mPhone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING,
56 mPhone.setCallWaiting(isChecked(),
135 mPhone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING,
CdmaOptions.java 55 private Phone mPhone;
60 mPhone = phone;
70 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId());
88 intent.putExtra("sub_id", mPhone.getSubId());
113 final boolean isLTE = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE;
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyCallHelper.java 87 private Phone mPhone; // The phone that will attempt to place the call.
131 mPhone = phone;
162 if (isOkToCall(state.getState(), mPhone.getState())) {
196 PhoneConstants.State phoneState = mPhone.getState();
197 int serviceState = mPhone.getServiceState().getState();
266 mPhone.setRadioPower(true);
298 mPhone = null;
316 mPhone.registerForServiceStateChanged(mHandler, MSG_SERVICE_STATE_CHANGED, null);
320 // This method is safe to call even if we haven't set mPhone yet.
321 if (mPhone != null)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java 98 private GSMPhone mPhone;
174 if (!mPhone.mIsTheCurrentActivePhone) {
185 DcTrackerBase dcTracker = mPhone.mDcTracker;
210 mPhone = phone;
267 mPhone.getContext().unregisterReceiver(mIntentReceiver);
278 return mPhone;
288 if (!mPhone.mIsTheCurrentActivePhone) {
353 mPhone.notifyLocationChanged();
401 mPhone.notifyOtaspChanged(OTASP_NOT_NEEDED);
452 GsmCellLocation loc = ((GsmCellLocation)mPhone.getCellLocation())
    [all...]
GsmInboundSmsHandler.java 59 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
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaLteServiceStateTracker.java 85 mPhone.unregisterForSimRecordsLoaded(this);
95 if (!mPhone.mIsTheCurrentActivePhone) {
123 mPhone.prepareEri();
375 (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE);
421 tm.setDataNetworkTypeForPhone(mPhone.getPhoneId(), mSS.getRilDataRadioTechnology());
436 if (!hasBrandOverride && (mCi.getRadioState().isOn()) && (mPhone.isEriFileLoaded()) &&
438 mPhone.getContext().getResources().getBoolean(com.android.internal.R.
445 eriText = mPhone.getCdmaEriText();
456 eriText = mPhone.getContext()
481 tm.setNetworkOperatorNameForPhone(mPhone.getPhoneId(), mSS.getOperatorAlphaLong())
    [all...]
CdmaCallTracker.java 89 CDMAPhone mPhone;
107 mPhone = phone;
183 (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE);
185 String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId());
186 String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId());
198 dialString = convertNumberIfNecessary(mPhone, dialString);
204 PhoneNumberUtils.isLocalEmergencyNumber(mPhone.getContext(), dialString);
223 mPendingMO = new CdmaConnection(mPhone.getContext(), checkForTestEmergencyNumber(dialString),
246 mPhone.exitEmergencyCallbackMode();
247 mPhone.setOnEcbModeExitResponse(this,EVENT_EXIT_ECM_RESPONSE_CDMA, null)
    [all...]
  /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);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneCallTracker.java 110 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone.getContext(), imsCall,
121 mPhone.notifyNewRingingConnection(conn);
122 mPhone.notifyIncomingRing();
125 mPhone.notifyPreciseCallStateChanged();
162 ImsPhone mPhone;
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.getPhoneId())
    [all...]

Completed in 656 milliseconds

1 2 3 4