/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 136 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 …]
|
D | CarrierServiceStateTrackerTest.java | 74 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()
|
D | TelephonyTest.java | 172 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()
|
D | CarrierDisplayNameResolverTest.java | 78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
|
D | NetworkTypeControllerTest.java | 415 doReturn(lastPhysicalChannelConfigList).when(mSST).getPhysicalChannelConfigList(); in testTransitionToCurrentStateNrConnectedMmwaveWithAdditionalBandAndNoMmwave() 438 doReturn(lastPhysicalChannelConfigList).when(mSST).getPhysicalChannelConfigList(); in testTransitionToCurrentStateNrConnectedWithNoAdditionalBandAndNoMmwave() 1187 doReturn(lastPhysicalChannelConfigList).when(mSST).getPhysicalChannelConfigList(); in setPhysicalLinkState()
|
D | ServiceStateTrackerTest.java | 3025 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/ |
D | CarrierServiceStateTracker.java | 65 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()
|
D | GsmCdmaPhone.java | 214 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 …]
|
D | GsmCdmaConnection.java | 602 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/ |
D | ImsPhoneTest.java | 323 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()
|
D | ImsPhoneCallTrackerTest.java | 1011 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/ |
D | CallQualityMetricsTest.java | 267 when(mSST.getSignalStrength()).thenReturn(ss1); in testBestAndWorstSs() 283 when(mSST.getSignalStrength()).thenReturn(ss2); in testBestAndWorstSs()
|
D | MetricsCollectorTest.java | 98 doReturn(mSST).when(mSecondPhone).getServiceStateTracker(); in setUp() 99 doReturn(mServiceStateStats).when(mSST).getServiceStateStats(); in setUp()
|
D | ImsStatsTest.java | 111 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/ |
D | DataConnectionTest.java | 1297 doReturn(true).when(mSST).isConcurrentVoiceAndDataAllowed(); in testIsSuspended() 1314 doReturn(false).when(mSST).isConcurrentVoiceAndDataAllowed(); in testIsSuspended() 1338 doReturn(true).when(mSST).isConcurrentVoiceAndDataAllowed(); in testDataCreatedWhenOutOfService()
|
D | DcTrackerTest.java | 696 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()
|