Home
last modified time | relevance | path

Searched refs:getServiceState (Results 1 – 25 of 41) sorted by relevance

12

/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java61 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/
DTelephonyConnectionService.java437 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()
DRadioOnStateListener.java183 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DServiceStateProvider.java108 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/
DAutoSelectPreferenceControllerTest.java103 when(mTelephonyManager.getServiceState().getRoaming()).thenReturn(true); in updateState_isRoaming_enabled()
112 when(mTelephonyManager.getServiceState().getRoaming()).thenReturn(false); in updateState_notRoamingWithAutoSelectOn_disabled()
DOpenNetworkSelectPagePreferenceControllerTest.java73 when(mTelephonyManager.getServiceState()).thenReturn(mServiceState); in setUp()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DRadioOnStateListenerTest.java126 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/
DPreferredNetworkModePreferenceController.java65 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus()
66 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
DEnabledNetworkModePreferenceController.java68 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus()
69 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DPreferredNetworkModePreferenceController.java65 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus()
66 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
DEnabledNetworkModePreferenceController.java68 && !telephonyManager.getServiceState().getRoaming() in getAvailabilityStatus()
69 && telephonyManager.getServiceState().getDataRegState() in getAvailabilityStatus()
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSimStateTracker.java161 if (telephonyManager.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in onBootCompleted()
229 if (telephonyManager.getServiceState().getState() in onCarrierConfigChanged()
/packages/services/Telephony/src/com/android/phone/
DCallBarringDeselectAllPreference.java56 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in showDialog()
DNumberVerificationManager.java138 if (phone.getServiceState().getVoiceRegState() == ServiceState.STATE_IN_SERVICE) { in checkNumberVerificationFeasibility()
DNotificationMgr.java139 if (telephonyManager.getServiceState() != null) {
140 shouldShowNotification(telephonyManager.getServiceState().getState(),
DNetworkOperators.java111 ServiceState ss = mTelephonyManager.getServiceState(); in update()
DMobileNetworkSettings.java1088 && !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/
DOpenNetworkSelectPagePreferenceController.java76 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary()
DAutoSelectPreferenceController.java95 if (mTelephonyManager.getServiceState().getRoaming()) { in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java77 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary()
DAutoSelectPreferenceController.java96 if (mTelephonyManager.getServiceState().getRoaming()) { in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRadioInfo.java979 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/
DStatusCheckTask.java70 if (telephonyManager.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onExecuteInBackgroundThread()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java1077 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/
DOtaspActivationService.java144 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onStartOtaspCall()

12