/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 61 private ServiceStateTracker mSST; field in CarrierServiceStateTracker 69 this.mSST = sst; in CarrierServiceStateTracker() 159 if (mSST.mSS == null) { in isPhoneStillRegistered() 162 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered() 163 || mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered() 167 if (mSST.mSS == null) { in isPhoneVoiceRegistered() 170 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneVoiceRegistered() 192 return (!mSST.isRadioOn() || (airplaneMode != 0)); in isRadioOffOrAirplaneMode() 401 + "," + mSST.isRadioOn()); in sendMessage() 471 + isPhoneRegisteredForWifiCalling() + "," + mSST.isRadioOn()); in sendMessage()
|
D | GsmCdmaPhone.java | 177 public ServiceStateTracker mSST; field in GsmCdmaPhone 243 mSST = mTelephonyComponentFactory.inject(ServiceStateTracker.class.getName()) in GsmCdmaPhone() 264 mSST.registerForNetworkAttached(this, EVENT_REGISTERED_TO_NETWORK, null); in GsmCdmaPhone() 268 mSST.registerForVoiceRegStateOrRatChanged(this, EVENT_VRS_OR_RAT_CHANGED, null); in GsmCdmaPhone() 461 mSST.updatePhoneType(); in switchPhoneType() 499 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState() 501 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState() 506 if (mSST != null) { in getServiceState() 507 return mSST.mSS; in getServiceState() 516 mSST.requestCellLocation(workSource, rspMsg); in getCellLocation() [all …]
|
D | GsmCdmaConnection.java | 576 if (phone.mSST.mRestrictedState.isCsRestricted()) { in disconnectCauseFromCode() 578 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) { in disconnectCauseFromCode() 580 } else if (phone.mSST.mRestrictedState.isCsNormalRestricted()) { in disconnectCauseFromCode()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierServiceStateTrackerTest.java | 70 mCarrierSST = new CarrierServiceStateTracker(mPhone, mSST); in onLooperPrepared() 160 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getVoiceRegState(); in testSendPrefNetworkNotification() 161 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegState(); in testSendPrefNetworkNotification() 162 doReturn(true).when(mSST).isRadioOn(); in testSendPrefNetworkNotification() 200 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getVoiceRegState(); in testSendEmergencyNetworkNotification()
|
D | GsmCdmaPhoneTest.java | 131 doReturn(false).when(mSST).isDeviceShuttingDown(); in setUp() 166 mSST.mSS = serviceState; in testGetServiceState() 210 doReturn(subscriberId).when(mSST).getImsi(); in testGetSubscriberIdForCdmaPhone() 228 doReturn(cellLocation).when(mSST).getCellLocation(); in testGetCellLocation() 235 doReturn(cdmaCellLocation).when(mSST).getCellLocation(); in testGetCellLocation() 259 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState() 281 doReturn(false).when(mSST).isConcurrentVoiceAndDataAllowed(); in testGetDataConnectionState() 323 mSST.mSS = mServiceState; in testDial() 431 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm() 434 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm() [all …]
|
D | TelephonyTest.java | 122 protected ServiceStateTracker mSST; field in TelephonyTest 382 doReturn(mSST).when(mTelephonyComponentFactory) in setUp() 443 doReturn(mSST).when(mPhone).getServiceStateTracker(); in setUp() 520 doReturn(mServiceState).when(mSST).getServiceState(); in setUp() 521 mSST.mSS = mServiceState; in setUp() 522 mSST.mRestrictedState = mRestrictedState; in setUp()
|
D | CarrierDisplayNameResolverTest.java | 78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
|
D | ServiceStateTrackerTest.java | 2132 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly() 2156 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS() 2179 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_flightMode_displayOOS()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 289 verify(mSST, times(2)).unregisterForDataRegStateOrRatChanged(anyInt(), eq(mImsPhoneUT)); in testDispose() 497 reset(mSST); in testShouldSendNotificationWhenServiceStateIsChanged() 500 verify(mSST).onImsServiceStateChanged(); in testShouldSendNotificationWhenServiceStateIsChanged() 506 reset(mSST); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 509 verify(mSST, never()).onImsServiceStateChanged(); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
|
D | ImsPhoneCallTrackerTest.java | 832 doReturn(true).when(mSST.mRestrictedState).isCsRestricted(); in testCallRestrictedDisconnect() 840 doReturn(true).when(mSST.mRestrictedState).isCsEmergencyRestricted(); in testCallRestrictedEmergencyDisconnect() 849 doReturn(true).when(mSST.mRestrictedState).isCsNormalRestricted(); in testCallRestrictedNormal()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 492 doReturn(true).when(mSST).getDesiredPowerState(); in setUp() 493 doReturn(true).when(mSST).getPowerStateFromCarrier(); in setUp() 956 verify(mSST, times(1)).registerForDataConnectionAttached( in testDDSResetAutoAttach() 975 verify(mSST, times(1)).registerForDataConnectionDetached( in testDDSResetAutoAttach() 1705 verify(mSST, times(1)).reRegisterNetwork(eq(null)); in testRecoveryStepReRegister() 1742 verify(mSST, times(1)).powerOffRadioSafely(); in testRecoveryStepRestartRadio()
|