/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/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 110 when(mMockPhone.getServiceState()).thenReturn(state); in testPhoneChangeState_OkToCallTrue() 136 when(mMockPhone.getServiceState()).thenReturn(state); in testPhoneChangeState_NoOkToCall_Timeout() 160 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_RetryFailure() 181 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_RetryFailure_ForEmergency()
|
D | TelephonyConnectionServiceTest.java | 942 testPhone.getServiceState().setRoaming(false); in testCreateOutgoingEmergencyConnection_delayDial_carrierconfig_dds() 1027 testPhone.getServiceState().setRoaming(false); in testCreateOutgoingEmergencyConnection_delayDial_nocarrierconfig() 1053 testPhone.getServiceState().setRoaming(false); in testCreateOutgoingEmergencyConnection_delayDial_supportsuplondds() 1079 testPhone.getServiceState().setRoaming(true); in testCreateOutgoingEmergencyConnection_delayDial_roaming_nocarrierconfig() 1104 testPhone.getServiceState().setRoaming(false); in testCreateOutgoingEmergencyConnection_delayDial_roamingcarrierconfig() 1105 testPhone.getServiceState().setOperatorName("TestTel", "TestTel", testRoamingOperator); in testCreateOutgoingEmergencyConnection_delayDial_roamingcarrierconfig() 1137 testPhone.getServiceState().setRoaming(true); in testCreateOutgoingEmergencyConnection_delayDial__roaming_roamingcarrierconfig() 1138 testPhone.getServiceState().setOperatorName("TestTel", "TestTel", testRoamingOperator); in testCreateOutgoingEmergencyConnection_delayDial__roaming_roamingcarrierconfig() 1271 when(phone.getServiceState()).thenReturn(testServiceState); in makeTestPhone()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ServiceStateProvider.java | 274 public ServiceState getServiceState(int subId) { in getServiceState() method in ServiceStateProvider 316 ServiceState ss = getServiceState(subId); in insert() 364 ServiceState ss = getServiceState(subId); in query()
|
D | NumberVerificationManager.java | 138 if (phone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in checkNumberVerificationFeasibility()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/gsm/ |
D | AutoSelectPreferenceControllerTest.java | 109 when(mTelephonyManager.getServiceState().getRoaming()).thenReturn(true); in updateState_isRoaming_enabled() 118 when(mTelephonyManager.getServiceState().getRoaming()).thenReturn(false); in updateState_notRoamingWithAutoSelectOn_disabled()
|
D | OpenNetworkSelectPagePreferenceControllerTest.java | 83 when(mTelephonyManager.getServiceState()).thenReturn(mServiceState); in setUp()
|
/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/services/telephony/ |
D | TelephonyConnectionService.java | 767 if (phone == null || phone.getServiceState().getState() in onCreateOutgoingConnection() 1054 int state = phone.getServiceState().getState(); in getTelephonyConnection() 1056 int dataNetType = phone.getServiceState().getDataNetworkType(); in getTelephonyConnection() 1059 state = phone.getServiceState().getDataRegistrationState(); in getTelephonyConnection() 1535 if (phone == null || TextUtils.isEmpty(number) || !phone.getServiceState().getRoaming()) { in blockCallForwardingNumberWhileRoaming() 1954 boolean isRoaming = phone.getServiceState().getVoiceRoaming(); in possiblyOverrideDefaultDataForEmergencyCall() 1962 phone.getServiceState().getOperatorNumeric())) { in possiblyOverrideDefaultDataForEmergencyCall() 2214 return ServiceState.STATE_IN_SERVICE == phone.getServiceState().getState() || in isAvailableForEmergencyCalls() 2215 phone.getServiceState().isEmergencyOnly(); in isAvailableForEmergencyCalls()
|
D | RadioOnStateListener.java | 200 ServiceState state = mPhone.getServiceState(); in onRadioOn() 222 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout()
|
/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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 137 && getServiceState(context) == ServiceState.STATE_POWER_OFF) { in onReceive() 213 private static int getServiceState(Context context) { in getServiceState() method in CellBroadcastReceiver
|
/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/apps/Dialer/java/com/android/voicemail/impl/ |
D | StatusCheckTask.java | 70 if (telephonyManager.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onExecuteInBackgroundThread()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 982 ServiceState ss = phone.getServiceState(); in updateNetworkType() 984 phone.getServiceState().getRilDataRadioTechnology())); in updateNetworkType() 986 phone.getServiceState().getRilVoiceRadioTechnology())); in updateNetworkType() 1254 return phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; in isRadioOn()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceController.java | 112 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary()
|
D | AutoSelectPreferenceController.java | 128 if (mTelephonyManager.getServiceState().getRoaming()) { in updateState()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 144 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onStartOtaspCall()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 1126 ServiceState ss = mPhone.getServiceState(); in updateNetworkType() 1128 mPhone.getServiceState().getRilDataRadioTechnology())); in updateNetworkType() 1130 mPhone.getServiceState().getRilVoiceRadioTechnology())); in updateNetworkType() 1403 return mPhone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; in isRadioOn()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusDialogController.java | 239 final ServiceState serviceState = mTelephonyManager.getServiceState(); in updateSubscriptionStatus() 474 ServiceState serviceState = mTelephonyManager.getServiceState(); in updateSignalStrength()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceControllerTest.java | 79 doReturn(mServiceState).when(mTelephonyManager).getServiceState(); in setUp()
|
D | RenameMobileNetworkDialogFragmentTest.java | 96 when(mTelephonyMgr.getServiceState()).thenReturn(mServiceState); in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 204 ServiceState getServiceState() { in getServiceState() method in HeadsetPhoneState
|