Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceStateTracker.java59 private ServiceStateTracker mSST; field in CarrierServiceStateTracker
67 this.mSST = sst; in CarrierServiceStateTracker()
154 if (mSST.mSS == null) { in isPhoneStillRegistered()
157 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
158 || mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
162 if (mSST.mSS == null) { in isPhoneVoiceRegistered()
165 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneVoiceRegistered()
187 return (!mSST.isRadioOn() || (airplaneMode != 0)); in isRadioOffOrAirplaneMode()
388 + "," + mSST.isRadioOn()); in sendMessage()
458 + isPhoneRegisteredForWifiCalling() + "," + mSST.isRadioOn()); in sendMessage()
DGsmCdmaPhone.java167 public ServiceStateTracker mSST; field in GsmCdmaPhone
225 mSST = mTelephonyComponentFactory.makeServiceStateTracker(this, this.mCi); in GsmCdmaPhone()
230 mSST.registerForNetworkAttached(this, EVENT_REGISTERED_TO_NETWORK, null); in GsmCdmaPhone()
393 mSST.updatePhoneType(); in switchPhoneType()
421 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
424 (mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState()
429 if (mSST != null) { in getServiceState()
430 return mSST.mSS; in getServiceState()
440 return mSST.getCellLocation(workSource); in getCellLocation()
442 CdmaCellLocation loc = (CdmaCellLocation)mSST.mCellLoc; in getCellLocation()
[all …]
DGsmCdmaConnection.java553 if (phone.mSST.mRestrictedState.isCsRestricted()) { in disconnectCauseFromCode()
555 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) { in disconnectCauseFromCode()
557 } else if (phone.mSST.mRestrictedState.isCsNormalRestricted()) { in disconnectCauseFromCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java127 doReturn(false).when(mSST).isDeviceShuttingDown(); in setUp()
163 verify(mSST, times(1)).pollState(); in testHandleActionCarrierConfigChanged()
172 verify(mSST, times(2)).pollState(); in testHandleActionCarrierConfigChanged()
179 mSST.mSS = serviceState; in testGetServiceState()
223 doReturn(subscriberId).when(mSST).getImsi(); in testGetSubscriberIdForCdmaPhone()
241 doReturn(cellLocation).when(mSST).getCellLocation(workSource); in testGetCellLocation()
249 mSST.mCellLoc = cdmaCellLocation; in testGetCellLocation()
293 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState()
315 doReturn(false).when(mSST).isConcurrentVoiceAndDataAllowed(); in testGetDataConnectionState()
357 mSST.mSS = mServiceState; in testDial()
[all …]
DLocaleTrackerTest.java81 doReturn(true).when(mSST).getDesiredPowerState(); in setUp()
125 doReturn(false).when(mSST).getDesiredPowerState(); in testBootupInAirplaneModeOn()
139 doReturn(false).when(mSST).getDesiredPowerState(); in testTogglingAirplaneMode()
145 doReturn(true).when(mSST).getDesiredPowerState(); in testTogglingAirplaneMode()
DCarrierServiceStateTrackerTest.java86 mCarrierSST = new CarrierServiceStateTracker(mPhone, mSST); in onLooperPrepared()
181 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getVoiceRegState(); in testSendPrefNetworkNotification()
182 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegState(); in testSendPrefNetworkNotification()
183 doReturn(true).when(mSST).isRadioOn(); in testSendPrefNetworkNotification()
DTelephonyTest.java104 protected ServiceStateTracker mSST; field in TelephonyTest
330 doReturn(mSST).when(mTelephonyComponentFactory) in setUp()
389 doReturn(mSST).when(mPhone).getServiceStateTracker(); in setUp()
460 mSST.mSS = mServiceState; in setUp()
DServiceStateTrackerTest.java1521 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchet()
1538 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchet()
1558 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchetWithCellChange()
1575 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchetWithCellChange()
1597 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchetWithCellChangeBeforeRatChange()
1613 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchetWithCellChangeBeforeRatChange()
1627 assertEquals(ServiceState.STATE_IN_SERVICE, mSST.getCurrentDataConnectionState()); in testRatRatchetWithCellChangeBeforeRatChange()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java284 verify(mSST).unregisterForDataRegStateOrRatChanged(mImsPhoneUT); in testDispose()
494 reset(mSST); in testShouldSendNotificationWhenServiceStateIsChanged()
497 verify(mSST).onImsServiceStateChanged(); in testShouldSendNotificationWhenServiceStateIsChanged()
503 reset(mSST); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
506 verify(mSST, never()).onImsServiceStateChanged(); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java448 doReturn(true).when(mSST).getDesiredPowerState(); in setUp()
449 doReturn(true).when(mSST).getPowerStateFromCarrier(); in setUp()
925 verify(mSST, times(1)).registerForDataConnectionAttached(eq(mDct), in testDDSResetAutoAttach()
944 verify(mSST, times(1)).registerForDataConnectionDetached(eq(mDct), in testDDSResetAutoAttach()