/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/ |
D | VendorGsmCdmaPhone.java | 147 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/ |
D | GsmCdmaPhoneTest.java | 133 doReturn(false).when(mSST).isDeviceShuttingDown(); in setUp() 166 mSST.mSS = serviceState; in testGetServiceState() 236 mSST.mSS = serviceState; in testGetMergedServiceState() 237 mPhoneUT.mSST = mSST; in testGetMergedServiceState() 318 mSST.mSS = serviceState; in testGetMergedServiceStateNoCsfb() 319 mPhoneUT.mSST = mSST; in testGetMergedServiceStateNoCsfb() 368 doReturn(subscriberId).when(mSST).getImsi(); in testGetSubscriberIdForCdmaPhone() 386 doReturn(cellLocation).when(mSST).getCellIdentity(); in testGetCellLocation() 393 doReturn(cdmaCellLocation).when(mSST).getCellIdentity(); in testGetCellLocation() 417 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState() [all …]
|
D | CarrierServiceStateTrackerTest.java | 72 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()
|
D | TelephonyTest.java | 153 protected ServiceStateTracker mSST; field in TelephonyTest 443 doReturn(mSST).when(mTelephonyComponentFactory) in setUp() 506 doReturn(mSST).when(mPhone).getServiceStateTracker(); in setUp() 591 doReturn(mServiceState).when(mSST).getServiceState(); in setUp() 592 mSST.mSS = mServiceState; in setUp() 593 mSST.mRestrictedState = mRestrictedState; in setUp()
|
D | CarrierDisplayNameResolverTest.java | 78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
|
D | ServiceStateTrackerTest.java | 2391 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly() 2415 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS() 2438 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_flightMode_displayOOS()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 60 private ServiceStateTracker mSST; field in CarrierServiceStateTracker 74 this.mSST = sst; in CarrierServiceStateTracker() 164 if (mSST.mSS == null) { in isPhoneStillRegistered() 167 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered() 168 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered() 190 return (!mSST.isRadioOn() || (airplaneMode != 0)); in isRadioOffOrAirplaneMode() 418 + "," + mSST.isRadioOn()); in sendMessage() 497 + mSST.isRadioOn()); in sendMessage()
|
D | GsmCdmaPhone.java | 200 public ServiceStateTracker mSST; field in GsmCdmaPhone 270 mSST = mTelephonyComponentFactory.inject(ServiceStateTracker.class.getName()) in GsmCdmaPhone() 299 mSST.registerForNetworkAttached(this, EVENT_REGISTERED_TO_NETWORK, null); in GsmCdmaPhone() 300 mSST.registerForVoiceRegStateOrRatChanged(this, EVENT_VRS_OR_RAT_CHANGED, null); in GsmCdmaPhone() 486 mSST.updatePhoneType(); in switchPhoneType() 525 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState() 527 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState() 532 if (mSST != null) { in getServiceState() 533 return mSST.mSS; in getServiceState() 542 mSST.requestCellIdentity(workSource, rspMsg); in getCellIdentity() [all …]
|
D | GsmCdmaConnection.java | 586 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/metrics/ |
D | CallQualityMetricsTest.java | 267 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/imsphone/ |
D | ImsPhoneTest.java | 318 verify(mSST, times(2)).unregisterForDataRegStateOrRatChanged(anyInt(), eq(mImsPhoneUT)); in testDispose() 534 reset(mSST); in testShouldSendNotificationWhenServiceStateIsChanged() 537 verify(mSST).onImsServiceStateChanged(); in testShouldSendNotificationWhenServiceStateIsChanged() 543 reset(mSST); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 546 verify(mSST, never()).onImsServiceStateChanged(); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 865 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService() 879 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService()
|
D | ImsPhoneCallTrackerTest.java | 927 doReturn(true).when(mSST.mRestrictedState).isCsRestricted(); in testCallRestrictedDisconnect() 935 doReturn(true).when(mSST.mRestrictedState).isCsEmergencyRestricted(); in testCallRestrictedEmergencyDisconnect() 944 doReturn(true).when(mSST.mRestrictedState).isCsNormalRestricted(); in testCallRestrictedNormal()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 498 doReturn(true).when(mSST).getDesiredPowerState(); in setUp() 499 doReturn(true).when(mSST).getPowerStateFromCarrier(); in setUp() 1678 verify(mSST, times(1)).reRegisterNetwork(eq(null)); in testRecoveryStepReRegister() 1710 verify(mSST, times(1)).powerOffRadioSafely(); in testRecoveryStepRestartRadio()
|