/packages/services/Telephony/tests/src/com/android/phone/ |
D | NumberVerificationManagerTest.java | 61 when(mPhone1.getServiceState()).thenReturn(ss); in setUp() 65 when(mPhone2.getServiceState()).thenReturn(ss); in setUp() 111 when(mPhone1.getServiceState()).thenReturn(ss); in testNoPhoneInServiceFailure() 112 when(mPhone2.getServiceState()).thenReturn(ss); in testNoPhoneInServiceFailure() 142 when(mPhone1.getServiceState()).thenReturn(ss); in testVerificationWorksWithOnePhoneInService()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 437 if (phone == null || phone.getServiceState().getState() in onCreateOutgoingConnection() 486 || phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; in onCreateOutgoingConnection() 717 int state = phone.getServiceState().getState(); in getTelephonyConnection() 719 int dataNetType = phone.getServiceState().getDataNetworkType(); in getTelephonyConnection() 722 state = phone.getServiceState().getDataRegState(); in getTelephonyConnection() 1109 if (phone == null || TextUtils.isEmpty(number) || !phone.getServiceState().getRoaming()) { in blockCallForwardingNumberWhileRoaming() 1416 boolean isRoaming = phone.getServiceState().getVoiceRoaming(); in possiblyOverrideDefaultDataForEmergencyCall() 1669 return ServiceState.STATE_IN_SERVICE == phone.getServiceState().getState() || in isAvailableForEmergencyCalls() 1670 phone.getServiceState().isEmergencyOnly(); in isAvailableForEmergencyCalls()
|
D | RadioOnStateListener.java | 183 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | ServiceStateProvider.java | 108 public ServiceState getServiceState(int subId) { in getServiceState() method in ServiceStateProvider 145 ServiceState ss = getServiceState(subId); in insert() 193 ServiceState ss = getServiceState(subId); in query()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/gsm/ |
D | AutoSelectPreferenceControllerTest.java | 103 when(mTelephonyManager.getServiceState().getRoaming()).thenReturn(true); in updateState_isRoaming_enabled() 112 when(mTelephonyManager.getServiceState().getRoaming()).thenReturn(false); in updateState_notRoamingWithAutoSelectOn_disabled()
|
D | OpenNetworkSelectPagePreferenceControllerTest.java | 73 when(mTelephonyManager.getServiceState()).thenReturn(mServiceState); in setUp()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 126 when(mMockPhone.getServiceState()).thenReturn(state); in testPhoneChangeState_NoOkToCall_Timeout() 149 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_RetryFailure()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 65 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus() 66 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
|
D | EnabledNetworkModePreferenceController.java | 68 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus() 69 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 65 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus() 66 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
|
D | EnabledNetworkModePreferenceController.java | 68 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus() 69 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VvmSimStateTracker.java | 161 if (telephonyManager.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in onBootCompleted() 229 if (telephonyManager.getServiceState().getState() in onCarrierConfigChanged()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallBarringDeselectAllPreference.java | 56 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in showDialog()
|
D | NumberVerificationManager.java | 138 if (phone.getServiceState().getVoiceRegState() == ServiceState.STATE_IN_SERVICE) { in checkNumberVerificationFeasibility()
|
D | NotificationMgr.java | 139 if (telephonyManager.getServiceState() != null) { 140 shouldShowNotification(telephonyManager.getServiceState().getState(),
|
D | NetworkOperators.java | 111 ServiceState ss = mTelephonyManager.getServiceState(); in update()
|
D | MobileNetworkSettings.java | 1088 && !mTelephonyManager.getServiceState().getRoaming() in updateBodyAdvancedFields() 1089 && mTelephonyManager.getServiceState().getDataRegState() in updateBodyAdvancedFields() 1235 if (mTelephonyManager.getServiceState().getRoaming()) { in updateBodyAdvancedFields() 2143 String operatorNumeric = mTelephonyManager.getServiceState().getOperatorNumeric(); in isSupportTdscdma()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceController.java | 76 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary()
|
D | AutoSelectPreferenceController.java | 95 if (mTelephonyManager.getServiceState().getRoaming()) { in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceController.java | 77 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary()
|
D | AutoSelectPreferenceController.java | 96 if (mTelephonyManager.getServiceState().getRoaming()) { in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 979 ServiceState ss = phone.getServiceState(); in updateNetworkType() 981 phone.getServiceState().getRilDataRadioTechnology())); in updateNetworkType() 983 phone.getServiceState().getRilVoiceRadioTechnology())); in updateNetworkType() 1251 return phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; in isRadioOn()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | StatusCheckTask.java | 70 if (telephonyManager.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onExecuteInBackgroundThread()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RadioInfo.java | 1077 ServiceState ss = mPhone.getServiceState(); in updateNetworkType() 1079 mPhone.getServiceState().getRilDataRadioTechnology())); in updateNetworkType() 1081 mPhone.getServiceState().getRilVoiceRadioTechnology())); in updateNetworkType() 1346 return mPhone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; in isRadioOn()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 144 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onStartOtaspCall()
|