Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkTypeControllerTest.java111 doReturn(new int[] {0}).when(mServiceState).getCellBandwidths(); in setUp()
134 doReturn(NetworkRegistrationInfo.NR_STATE_NONE).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
140 doReturn(NetworkRegistrationInfo.NR_STATE_RESTRICTED).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
146 doReturn(NetworkRegistrationInfo.NR_STATE_NOT_RESTRICTED).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
152 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
153 doReturn(ServiceState.FREQUENCY_RANGE_LOW).when(mServiceState).getNrFrequencyRange(); in testUpdateOverrideNetworkTypeNrNsa()
159 doReturn(ServiceState.FREQUENCY_RANGE_MMWAVE).when(mServiceState).getNrFrequencyRange(); in testUpdateOverrideNetworkTypeNrNsa()
168 doReturn(NetworkRegistrationInfo.NR_STATE_NONE).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrSa()
178 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testUpdateOverrideNetworkTypeNrSa()
189 doReturn(NetworkRegistrationInfo.NR_STATE_NONE).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrSaMmwave()
[all …]
DRatRatcheterTest.java44 private ServiceState mServiceState; field in RatRatcheterTest
51 mServiceState = new ServiceState(); in setUp()
56 mServiceState = null; in tearDown()
64 mServiceState.setCellBandwidths(new int[] {5000}); in testUpdateBandwidthsSuccess()
66 boolean updated = RatRatcheter.updateBandwidths(bandwidths, mServiceState); in testUpdateBandwidthsSuccess()
69 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), bandwidths)); in testUpdateBandwidthsSuccess()
76 mServiceState.setCellBandwidths(originalBandwidths); in testUpdateBandwidthsFailure()
78 boolean updated = RatRatcheter.updateBandwidths(newBandwidths, mServiceState); in testUpdateBandwidthsFailure()
81 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), originalBandwidths)); in testUpdateBandwidthsFailure()
87 mServiceState.setCellBandwidths(originalBandwidths); in testUpdateBandwidthsNull()
[all …]
DPhoneStateListenerExecutorTest.java49 mServiceState.setVoiceRegState(serviceState.getState()); in setUp()
50 mServiceState.setDataRegState(serviceState.getDataRegistrationState()); in setUp()
79 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
80 verify(mServiceState).setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
DPhoneStateListenerTest.java56 mServiceState.setVoiceRegState(serviceState.getState()); in setUp()
57 mServiceState.setDataRegState(serviceState.getDataRegistrationState()); in setUp()
100 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
101 verify(mServiceState).setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
DCallManagerTest.java67 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in setUp()
245 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState(); in testGetServiceState()
250 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getState(); in testGetServiceState()
DSignalStrengthControllerTest.java1393 asyncResult.result = mServiceState; in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1394 doReturn(true).when(mServiceState).isUsingNonTerrestrialNetwork(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1404 doReturn(false).when(mServiceState).isUsingNonTerrestrialNetwork(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1429 doReturn(STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1442 doReturn(STATE_POWER_OFF).when(mServiceState).getState(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1456 doReturn(true).when(mServiceState).isUsingNonTerrestrialNetwork(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1457 doReturn(STATE_IN_SERVICE).when(mServiceState).getState(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1485 doReturn(false).when(mServiceState).isUsingNonTerrestrialNetwork(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
DServiceStateTrackerTest.java3040 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getVoiceRegState(); in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn()
3041 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getDataRegState(); in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn()
3042 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn()
3043 sst.mSS = mServiceState; in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn()
3230 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3231 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getDataRegistrationState(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3232 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3233 sst.mSS = mServiceState; in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3359 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testGetCombinedRegState()
3360 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegistrationState(); in testGetCombinedRegState()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java129 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mServiceState).getVoiceNetworkType(); in setUp()
130 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mServiceState).getDataNetworkType(); in setUp()
150 mServiceStateStats.onServiceStateChanged(mServiceState); in conclude_inService()
179 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_outOfService()
180 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_outOfService()
181 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getVoiceNetworkType(); in conclude_outOfService()
182 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getDataNetworkType(); in conclude_outOfService()
186 mServiceStateStats.onServiceStateChanged(mServiceState); in conclude_outOfService()
214 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getVoiceRegState(); in conclude_airplaneMode()
215 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getDataRegState(); in conclude_airplaneMode()
[all …]
DVoiceCallSessionStatsTest.java184 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_UNKNOWN); in setUp()
230 mVoiceCallSessionStats0.onServiceStateChanged(mServiceState); in setUp()
250 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_moRejected()
304 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_moFailed()
348 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_moStartFailed()
392 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_moAccepted()
453 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_mtRejected()
502 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_mtStartFailed()
551 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_mtAccepted()
612 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_dsdsModeSingleSim()
[all …]
DTelephonyMetricsTest.java95 private ServiceState mServiceState; field in TelephonyMetricsTest
108 mServiceState = mock(ServiceState.class); in setUp()
119 doReturn(ROAMING_TYPE_DOMESTIC).when(mServiceState).getVoiceRoamingType(); in setUp()
120 doReturn(ROAMING_TYPE_DOMESTIC).when(mServiceState).getDataRoamingType(); in setUp()
121 doReturn("short").when(mServiceState).getOperatorAlphaShort(); in setUp()
122 doReturn("long").when(mServiceState).getOperatorAlphaLong(); in setUp()
123 doReturn("123456").when(mServiceState).getOperatorNumeric(); in setUp()
124 doReturn(RIL_RADIO_TECHNOLOGY_LTE).when(mServiceState).getRilVoiceRadioTechnology(); in setUp()
125 doReturn(RIL_RADIO_TECHNOLOGY_LTE).when(mServiceState).getRilDataRadioTechnology(); in setUp()
126 doReturn(FREQUENCY_RANGE_UNKNOWN).when(mServiceState).getNrFrequencyRange(); in setUp()
[all …]
DImsStatsTest.java138 .when(mServiceState).getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN); in setUp()
452 .when(mServiceState) in conclude_serviceStateChanged_afterRatUnknown()
454 mImsStats.onServiceStateChanged(mServiceState); in conclude_serviceStateChanged_afterRatUnknown()
459 .when(mServiceState) in conclude_serviceStateChanged_afterRatUnknown()
461 mImsStats.onServiceStateChanged(mServiceState); in conclude_serviceStateChanged_afterRatUnknown()
506 .when(mServiceState) in conclude_serviceStateChanged_afterRatLte()
508 mImsStats.onServiceStateChanged(mServiceState); in conclude_serviceStateChanged_afterRatLte()
513 .when(mServiceState) in conclude_serviceStateChanged_afterRatLte()
515 mImsStats.onServiceStateChanged(mServiceState); in conclude_serviceStateChanged_afterRatLte()
763 .when(mServiceState) in onImsRegistering_afterImsUnregistered()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java79 @Mock private ServiceState mServiceState; field in UtilsTest
222 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue()
224 assertThat(Utils.isInService(mServiceState)).isTrue(); in isInService_voiceInService_returnTrue()
229 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
230 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
231 when(mServiceState.getNetworkRegistrationInfo( in isInService_voiceOutOfServiceDataInService_returnTrue()
237 assertThat(Utils.isInService(mServiceState)).isTrue(); in isInService_voiceOutOfServiceDataInService_returnTrue()
242 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
243 when(mServiceState.getNetworkRegistrationInfo( in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
247 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DDataConnectionStats.java53 private ServiceState mServiceState; field in DataConnectionStats
89 if (mServiceState == null) { in notePhoneDataConnectionState()
98 mServiceState.getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN); in notePhoneDataConnectionState()
107 mServiceState.getState(), mNrState, mServiceState.getNrFrequencyRange()); in notePhoneDataConnectionState()
139 return mServiceState != null in hasService()
140 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE in hasService()
141 && mServiceState.getState() != ServiceState.STATE_POWER_OFF; in hasService()
171 mServiceState = state; in onServiceStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DServiceStateStats.java83 state -> new TimestampedServiceState(state.mServiceState, now)); in conclude()
93 if (state.mServiceState == null) { in onImsVoiceRegistrationChanged()
96 CellularServiceState newServiceState = copyOf(state.mServiceState); in onImsVoiceRegistrationChanged()
150 prevState, now, getDataServiceSwitch(prevState.mServiceState, newState)); in onServiceStateChanged()
161 CellularServiceState lastServiceState = mLastState.get().mServiceState; in onFoldStateChanged()
170 CellularServiceState newServiceState = copyOf(state.mServiceState); in onFoldStateChanged()
188 if (state.mServiceState == null) { in onVoiceServiceStateOverrideChanged()
191 CellularServiceState newServiceState = copyOf(state.mServiceState); in onVoiceServiceStateOverrideChanged()
206 if (prevState.mServiceState == null) { in addServiceStateAndSwitch()
211 CellularServiceState state = copyOf(prevState.mServiceState); in addServiceStateAndSwitch()
[all …]
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java113 private final AtomicReference<ServiceState> mServiceState; field in MediaBrowserService
224 private final AtomicReference<WeakReference<ServiceState>> mServiceState; field in MediaBrowserService.ServiceBinder
227 mServiceState = new AtomicReference<>(); in ServiceBinder()
232 mServiceState.set(new WeakReference<>(serviceState)); in setServiceState()
238 ServiceState serviceState = mServiceState.get().get(); in connect()
256 ServiceState serviceState = mServiceState.get().get(); in disconnect()
273 ServiceState serviceState = mServiceState.get().get(); in addSubscription()
291 ServiceState serviceState = mServiceState.get().get(); in removeSubscription()
307 ServiceState serviceState = mServiceState.get().get(); in getMediaItem()
319 mServiceState = new AtomicReference<>(new ServiceState()); in MediaBrowserService()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneMmiCodeTest.java61 private ServiceState mServiceState; field in ImsPhoneMmiCodeTest
69 mServiceState = mock(ServiceState.class); in setUp()
74 doReturn(mServiceState).when(mPhone).getServiceState(); in setUp()
75 doReturn(false).when(mServiceState).getVoiceRoaming(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDisplayInfoController.java81 @NonNull private ServiceState mServiceState; field in DisplayInfoController
88 mServiceState = mPhone.getServiceStateTracker().getServiceState(); in DisplayInfoController()
152 boolean roaming = mServiceState.getRoaming(); in isRoaming()
216 mServiceState = mPhone.getServiceStateTracker().getServiceState(); in handleMessage()
217 log("ServiceState updated, isRoaming=" + mServiceState.getRoaming()); in handleMessage()
DNetworkTypeController.java224 @NonNull private ServiceState mServiceState; field in NetworkTypeController
265 mServiceState = mPhone.getServiceStateTracker().getServiceState(); in NetworkTypeController()
284 NetworkRegistrationInfo nri = mServiceState.getNetworkRegistrationInfo( in getDataNetworkType()
523 && mServiceState.getNrState() != NetworkRegistrationInfo.NR_STATE_NONE; in getCurrentOverrideNetworkType()
554 switch (mServiceState.getNrState()) { in getNrDisplayType()
584 || mServiceState.isUsingCarrierAggregation()) in getLteDisplayType()
585 && IntStream.of(mServiceState.getCellBandwidths()).sum() in getLteDisplayType()
600 for (String opName : new String[] {mServiceState.getOperatorAlphaLongRaw(), in isLteEnhancedAvailable()
601 mServiceState.getOperatorAlphaShortRaw()}) { in isLteEnhancedAvailable()
1247 && !TextUtils.equals(mServiceState.getOperatorNumeric(), ss.getOperatorNumeric())) { in onServiceStateChanged()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DCellularNetworkValidatorTest.java178 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testSkipRecentlyValidatedNetwork()
201 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testDoNotSkipIfValidationFailed()
223 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testDoNotSkipIfCacheExpires()
249 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testNetworkCachingOfMultipleSub()
291 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testNetworkCachingOfMultipleSub()
304 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testNetworkCachingOfMultipleNetworks()
320 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testNetworkCachingOfMultipleNetworks()
336 doReturn(mNetworkRegistrationInfo).when(mServiceState).getNetworkRegistrationInfo( in testNetworkCachingOverflow()
DLinkBandwidthEstimatorTest.java110 when(mServiceState.getNetworkRegistrationInfo(anyInt(), anyInt())).thenReturn(mNri); in setUp()
111 when(mServiceState.getOperatorNumeric()).thenReturn("310260"); in setUp()
315 when(mServiceState.getNetworkRegistrationInfo(anyInt(), anyInt())).thenReturn(mNri); in testRatChangeTriggerBandwidthUpdate()
411 when(mServiceState.getNrState()).thenReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED); in testAvgBwForAllPossibleRat()
412 when(mServiceState.getNrFrequencyRange()).thenReturn(ServiceState.FREQUENCY_RANGE_MMWAVE); in testAvgBwForAllPossibleRat()
415 when(mServiceState.getNrFrequencyRange()).thenReturn(ServiceState.FREQUENCY_RANGE_UNKNOWN); in testAvgBwForAllPossibleRat()
420 when(mServiceState.getNrFrequencyRange()).thenReturn(ServiceState.FREQUENCY_RANGE_MMWAVE); in testAvgBwForAllPossibleRat()
437 when(mServiceState.getNrState()).thenReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED); in testSwitchToNrMmwaveTriggerBandwidthUpdate()
438 when(mServiceState.getNrFrequencyRange()).thenReturn(ServiceState.FREQUENCY_RANGE_MMWAVE); in testSwitchToNrMmwaveTriggerBandwidthUpdate()
617 when(mServiceState.getOperatorNumeric()).thenReturn("320265"); in testSwitchCarrierFallbackToColdStartValue()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameViewController.java211 private final ServiceState mServiceState; field in OperatorNameViewController.SubInfo
221 mServiceState = serviceState; in SubInfo()
237 return mServiceState != null in stateInService()
238 && mServiceState.getState() == ServiceState.STATE_IN_SERVICE; in stateInService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java113 protected ServiceState mServiceState; field in NetworkControllerBaseTest
204 mServiceState = mock(ServiceState.class); in setUp()
212 doReturn(mFakeRegInfo).when(mServiceState) in setUp()
433 when(mServiceState.getRoaming()).thenReturn(isRoaming); in setGsmRoaming()
443 when(mServiceState.getState()).thenReturn(voiceRegState); in setVoiceRegState()
444 when(mServiceState.getVoiceRegState()).thenReturn(voiceRegState); in setVoiceRegState()
464 when(mServiceState.getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN)) in setDataRegInService()
471 when(mServiceState.isEmergencyOnly()).thenReturn(isEmergency); in setIsEmergencyOnly()
501 Log.d(TAG, "Sending Service State: " + mServiceState); in updateServiceState()
503 .onServiceStateChanged(mServiceState); in updateServiceState()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java298 private ServiceState mServiceState; field in DataNetworkController
1020 mServiceState = mPhone.getServiceStateTracker().getServiceState(); in DataNetworkController()
1595 mServiceState.isUsingNonTerrestrialNetwork(), in evaluateNetworkRequest()
1618 if (!serviceStateAllowsPSAttach(mServiceState, transport)) { in evaluateNetworkRequest()
1642 NetworkRegistrationInfo nri = mServiceState.getNetworkRegistrationInfo( in evaluateNetworkRequest()
1662 if (mServiceState.getDataRoaming() && !mDataSettingsManager.isDataRoamingEnabled()) { in evaluateNetworkRequest()
1761 networkType = mServiceState.getVoiceNetworkType(); in evaluateNetworkRequest()
1765 mServiceState.isUsingNonTerrestrialNetwork(), in evaluateNetworkRequest()
1800 getDataRegistrationState(mServiceState, transport)) in evaluateNetworkRequest()
1951 && mServiceState.isUsingNonTerrestrialNetwork() != dataNetwork.isSatellite()) { in evaluateDataNetwork()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsDispatcherTest.java79 doReturn(mServiceState).when(mPhone).getServiceState(); in testSendSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommenderTest.java139 when(mPhone.getServiceState()).thenReturn(mServiceState); in setUp()
145 when(mServiceState.getState()).thenReturn(STATE_OUT_OF_SERVICE); in setUp()
197 when(mServiceState.getState()).thenReturn(STATE_OUT_OF_SERVICE); in testStartTimer_emergencyCallNull()
587 when(mServiceState.getState()).thenReturn(availableServiceState); in testCellularServiceStateChangedBeforeTimeout()
596 when(mServiceState.getState()).thenReturn(unavailableServiceState); in testCellularServiceStateChangedBeforeTimeout()

12