Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java136 doReturn(false).when(mSST).isDeviceShuttingDown(); in setUp()
170 mSST.mSS = serviceState; in testGetServiceState()
240 mSST.mSS = serviceState; in testGetMergedServiceState()
241 mPhoneUT.mSST = mSST; in testGetMergedServiceState()
322 mSST.mSS = serviceState; in testGetMergedServiceStateNoCsfb()
323 mPhoneUT.mSST = mSST; in testGetMergedServiceStateNoCsfb()
372 doReturn(subscriberId).when(mSST).getImsi(); in testGetSubscriberIdForCdmaPhone()
390 doReturn(cellLocation).when(mSST).getCellIdentity(); in testGetCellLocation()
397 doReturn(cdmaCellLocation).when(mSST).getCellIdentity(); in testGetCellLocation()
421 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState()
[all …]
DCarrierServiceStateTrackerTest.java74 mCarrierSST = new CarrierServiceStateTracker(mPhone, mSST); in setUp()
152 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification()
153 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
154 doReturn(true).when(mSST).isRadioOn(); in testSendPrefNetworkNotification()
DTelephonyTest.java172 protected ServiceStateTracker mSST; field in TelephonyTest
497 doReturn(mSST).when(mTelephonyComponentFactory) in setUp()
560 doReturn(mSST).when(mPhone).getServiceStateTracker(); in setUp()
653 doReturn(mServiceState).when(mSST).getServiceState(); in setUp()
654 mSST.mSS = mServiceState; in setUp()
655 mSST.mRestrictedState = mRestrictedState; in setUp()
DCarrierDisplayNameResolverTest.java78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
DNetworkTypeControllerTest.java415 doReturn(lastPhysicalChannelConfigList).when(mSST).getPhysicalChannelConfigList(); in testTransitionToCurrentStateNrConnectedMmwaveWithAdditionalBandAndNoMmwave()
438 doReturn(lastPhysicalChannelConfigList).when(mSST).getPhysicalChannelConfigList(); in testTransitionToCurrentStateNrConnectedWithNoAdditionalBandAndNoMmwave()
1187 doReturn(lastPhysicalChannelConfigList).when(mSST).getPhysicalChannelConfigList(); in setPhysicalLinkState()
DServiceStateTrackerTest.java3025 assertEquals(1, (long) method.invoke(mSST, gsmCi)); in testGetCidFromCellIdentity()
3026 assertEquals(2, (long) method.invoke(mSST, wcdmaCi)); in testGetCidFromCellIdentity()
3027 assertEquals(3, (long) method.invoke(mSST, tdscdmaCi)); in testGetCidFromCellIdentity()
3028 assertEquals(4, (long) method.invoke(mSST, lteCi)); in testGetCidFromCellIdentity()
3029 assertEquals(5, (long) method.invoke(mSST, nrCi)); in testGetCidFromCellIdentity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceStateTracker.java65 private ServiceStateTracker mSST; field in CarrierServiceStateTracker
102 this.mSST = sst; in CarrierServiceStateTracker()
192 if (mSST.mSS == null) { in isPhoneStillRegistered()
195 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
196 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
218 return (!mSST.isRadioOn() || (airplaneMode != 0)); in isRadioOffOrAirplaneMode()
493 + "," + mSST.isRadioOn()); in sendMessage()
572 + mSST.isRadioOn()); in sendMessage()
DGsmCdmaPhone.java214 public ServiceStateTracker mSST; field in GsmCdmaPhone
309 mSST = mTelephonyComponentFactory.inject(ServiceStateTracker.class.getName()) in GsmCdmaPhone()
340 mSST.registerForNetworkAttached(this, EVENT_REGISTERED_TO_NETWORK, null); in GsmCdmaPhone()
341 mSST.registerForVoiceRegStateOrRatChanged(this, EVENT_VRS_OR_RAT_CHANGED, null); in GsmCdmaPhone()
534 mSST.updatePhoneType(); in switchPhoneType()
581 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
583 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState()
588 if (mSST != null) { in getServiceState()
589 return mSST.mSS; in getServiceState()
598 mSST.requestCellIdentity(workSource, rspMsg); in getCellIdentity()
[all …]
DGsmCdmaConnection.java602 if (phone.mSST.mRestrictedState.isCsRestricted()) { in disconnectCauseFromCode()
604 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) { in disconnectCauseFromCode()
606 } else if (phone.mSST.mRestrictedState.isCsNormalRestricted()) { in disconnectCauseFromCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java323 verify(mSST, times(2)).unregisterForDataRegStateOrRatChanged(anyInt(), eq(mImsPhoneUT)); in testDispose()
539 reset(mSST); in testShouldSendNotificationWhenServiceStateIsChanged()
542 verify(mSST).onImsServiceStateChanged(); in testShouldSendNotificationWhenServiceStateIsChanged()
548 reset(mSST); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
551 verify(mSST, never()).onImsServiceStateChanged(); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
879 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService()
895 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService()
931 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImswithIMSPreferred()
947 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImswithCSOnly()
966 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImswithIMSOnly()
DImsPhoneCallTrackerTest.java1011 doReturn(true).when(mSST.mRestrictedState).isCsRestricted(); in testCallRestrictedDisconnect()
1019 doReturn(true).when(mSST.mRestrictedState).isCsEmergencyRestricted(); in testCallRestrictedEmergencyDisconnect()
1028 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()
DMetricsCollectorTest.java98 doReturn(mSST).when(mSecondPhone).getServiceStateTracker(); in setUp()
99 doReturn(mServiceStateStats).when(mSST).getServiceStateStats(); in setUp()
DImsStatsTest.java111 doReturn(mSST).when(mImsPhone).getServiceStateTracker(); in setUp()
687 doReturn(mSST).when(mSecondPhone).getServiceStateTracker(); in onImsUnregistered_multiSim()
688 doReturn(mSST).when(mSecondImsPhone).getServiceStateTracker(); in onImsUnregistered_multiSim()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java1297 doReturn(true).when(mSST).isConcurrentVoiceAndDataAllowed(); in testIsSuspended()
1314 doReturn(false).when(mSST).isConcurrentVoiceAndDataAllowed(); in testIsSuspended()
1338 doReturn(true).when(mSST).isConcurrentVoiceAndDataAllowed(); in testDataCreatedWhenOutOfService()
DDcTrackerTest.java696 doReturn(true).when(mSST).getDesiredPowerState(); in setUp()
697 doReturn(true).when(mSST).getPowerStateFromCarrier(); in setUp()
2316 verify(mSST, times(1)).reRegisterNetwork(eq(null)); in testRecoveryStepReRegister()
2349 verify(mSST, times(1)).powerOffRadioSafely(); in testRecoveryStepRestartRadio()