Home
last modified time | relevance | path

Searched refs:mSST (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java147 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
155 ((mSST == null) ? new ServiceState() : mSST.mSS), in getServiceState()
160 if (mSST != null) { in getServiceState()
161 return mSST.mSS; in getServiceState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java129 doReturn(false).when(mSST).isDeviceShuttingDown(); in setUp()
162 mSST.mSS = serviceState; in testGetServiceState()
232 mSST.mSS = serviceState; in testGetMergedServiceState()
233 mPhoneUT.mSST = mSST; in testGetMergedServiceState()
314 mSST.mSS = serviceState; in testGetMergedServiceStateNoCsfb()
315 mPhoneUT.mSST = mSST; in testGetMergedServiceStateNoCsfb()
364 doReturn(subscriberId).when(mSST).getImsi(); in testGetSubscriberIdForCdmaPhone()
382 doReturn(cellLocation).when(mSST).getCellIdentity(); in testGetCellLocation()
389 doReturn(cdmaCellLocation).when(mSST).getCellIdentity(); in testGetCellLocation()
413 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState()
[all …]
DCarrierServiceStateTrackerTest.java72 mCarrierSST = new CarrierServiceStateTracker(mPhone, mSST); in setUp()
148 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification()
149 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
150 doReturn(true).when(mSST).isRadioOn(); in testSendPrefNetworkNotification()
DTelephonyTest.java156 protected ServiceStateTracker mSST; field in TelephonyTest
452 doReturn(mSST).when(mTelephonyComponentFactory) in setUp()
513 doReturn(mSST).when(mPhone).getServiceStateTracker(); in setUp()
598 doReturn(mServiceState).when(mSST).getServiceState(); in setUp()
599 mSST.mSS = mServiceState; in setUp()
600 mSST.mRestrictedState = mRestrictedState; in setUp()
DCarrierDisplayNameResolverTest.java78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
DServiceStateTrackerTest.java2423 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
2445 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
2466 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_flightMode_displayOOS()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceStateTracker.java62 private ServiceStateTracker mSST; field in CarrierServiceStateTracker
76 this.mSST = sst; in CarrierServiceStateTracker()
166 if (mSST.mSS == null) { in isPhoneStillRegistered()
169 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
170 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
192 return (!mSST.isRadioOn() || (airplaneMode != 0)); in isRadioOffOrAirplaneMode()
464 + "," + mSST.isRadioOn()); in sendMessage()
543 + mSST.isRadioOn()); in sendMessage()
DGsmCdmaPhone.java198 public ServiceStateTracker mSST; field in GsmCdmaPhone
268 mSST = mTelephonyComponentFactory.inject(ServiceStateTracker.class.getName()) in GsmCdmaPhone()
297 mSST.registerForNetworkAttached(this, EVENT_REGISTERED_TO_NETWORK, null); in GsmCdmaPhone()
298 mSST.registerForVoiceRegStateOrRatChanged(this, EVENT_VRS_OR_RAT_CHANGED, null); in GsmCdmaPhone()
498 mSST.updatePhoneType(); in switchPhoneType()
537 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
539 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState()
544 if (mSST != null) { in getServiceState()
545 return mSST.mSS; in getServiceState()
554 mSST.requestCellIdentity(workSource, rspMsg); in getCellIdentity()
[all …]
DGsmCdmaConnection.java586 if (phone.mSST.mRestrictedState.isCsRestricted()) { in disconnectCauseFromCode()
588 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) { in disconnectCauseFromCode()
590 } else if (phone.mSST.mRestrictedState.isCsNormalRestricted()) { in disconnectCauseFromCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java315 verify(mSST, times(2)).unregisterForDataRegStateOrRatChanged(anyInt(), eq(mImsPhoneUT)); in testDispose()
523 reset(mSST); in testShouldSendNotificationWhenServiceStateIsChanged()
526 verify(mSST).onImsServiceStateChanged(); in testShouldSendNotificationWhenServiceStateIsChanged()
532 reset(mSST); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
535 verify(mSST, never()).onImsServiceStateChanged(); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
837 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService()
851 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService()
DImsPhoneCallTrackerTest.java928 doReturn(true).when(mSST.mRestrictedState).isCsRestricted(); in testCallRestrictedDisconnect()
936 doReturn(true).when(mSST.mRestrictedState).isCsEmergencyRestricted(); in testCallRestrictedEmergencyDisconnect()
945 doReturn(true).when(mSST.mRestrictedState).isCsNormalRestricted(); in testCallRestrictedNormal()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DCallQualityMetricsTest.java267 when(mSST.getSignalStrength()).thenReturn(ss1); in testBestAndWorstSs()
283 when(mSST.getSignalStrength()).thenReturn(ss2); in testBestAndWorstSs()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java495 doReturn(true).when(mSST).getDesiredPowerState(); in setUp()
496 doReturn(true).when(mSST).getPowerStateFromCarrier(); in setUp()
1645 verify(mSST, times(1)).reRegisterNetwork(eq(null)); in testRecoveryStepReRegister()
1677 verify(mSST, times(1)).powerOffRadioSafely(); in testRecoveryStepRestartRadio()