/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; 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.getLine1Number() [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
TestInCallServiceImpl.java | 33 private Phone mPhone; 49 mPhone = phone; 50 mPhone.addListener(mPhoneListener); 57 mPhone.removeListener(mPhoneListener); 58 mPhone = null;
|
/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 | 173 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.getServiceStateTracker().registerForDataRoamingOn(this [all...] |
DcController.java | 51 private PhoneBase mPhone; 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.notifyDataConnectionRealTimeInfo(dcRtInfo) [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
TelecomAdapter.java | 37 private Phone mPhone; 56 mPhone = phone; 61 mPhone = null; 70 if (mPhone != null) { 78 Log.e(this, "error answerCall, mPhone is null"); 83 if (mPhone != null) { 91 Log.e(this, "error rejectCall, mPhone is null"); 96 if (mPhone != null) { 99 Log.e(this, "error disconnectCall, mPhone is null"); 104 if (mPhone != null) [all...] |
AudioModeProvider.java | 38 private Phone mPhone; 54 mPhone = phone; 55 mPhone.addListener(mPhoneListener); 60 mPhone.removeListener(mPhoneListener); 61 mPhone = null;
|
/frameworks/base/telecomm/java/android/telecom/ |
InCallService.java | 63 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; [all...] |
/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(); 73 final List<? extends MmiCode> codes = mPhone.getPendingMmiCodes(); 92 int phoneType = mPhone.getPhoneType(); 94 PhoneUtils.displayMMIComplete(mPhone, this, mmiCode, null, null); 112 PhoneUtils.cancelMmiCode(mPhone);
|
MobileNetworkSettings.java | 124 private Phone mPhone; 175 mPhone.setDataRoamingEnabled(true); 197 final int phoneSubId = mPhone.getSubId(); 218 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). 243 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). 398 mPhone = PhoneFactory.getPhone( 401 if (mPhone == null) { 403 mPhone = PhoneGlobals.getPhone(); 493 mButtonDataRoam.setChecked(mPhone.getDataRoamingEnabled()); 496 mPhone.getPreferredNetworkType(mHandler.obtainMessage [all...] |
/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/cdma/ |
CdmaLteServiceStateTracker.java | 82 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.isEriFileLoaded()) & [all...] |
CdmaCallTracker.java | 88 CDMAPhone mPhone; 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.setOnEcbModeExitResponse(this,EVENT_EXIT_ECM_RESPONSE_CDMA, null) [all...] |
CdmaServiceStateTracker.java | 78 CDMAPhone mPhone; 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.setNetworkSelectionModeAutomatic(null) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmServiceStateTracker.java | 97 private GSMPhone mPhone; 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.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
|
/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 | 104 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...] |