/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | CarrierDisplayNameResolver.java | 188 new BrandOverrideEfData(operatorName, getServiceState().getOperatorNumeric())); in updateEfForBrandOverride() 212 sb.append(", roamingFromSS = " + getServiceState().getRoaming()); in toString() 213 sb.append(", registeredPLMN = " + getServiceState().getOperatorNumeric()); in toString() 299 return getServiceState().getRoaming() in isRoaming() 300 && !getEfSpdi().contains(getServiceState().getOperatorNumeric()); in isRoaming() 306 String registeredPlmnName = getServiceState().getOperatorAlpha(); in getCarrierDisplayNameFromEf() 307 String registeredPlmnNumeric = getServiceState().getOperatorNumeric(); in getCarrierDisplayNameFromEf() 364 getServiceState().getState() == ServiceState.STATE_POWER_OFF); in getCarrierDisplayNameFromWifiCallingOverride() 455 ServiceState ss = getServiceState(); in getOutOfServiceDisplayName() 486 } else if (mPhone.getServiceStateTracker().getCombinedRegState(getServiceState()) in resolveCarrierDisplayName() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | RadioOnStateListenerTest.java | 127 when(mMockPhone.getServiceState()).thenReturn(state); in testPhoneChangeState_OkToCallTrue() 150 when(mMockPhone.getServiceState()).thenReturn(state); in testSatelliteChangeState_OkToCallTrue() 174 when(mMockPhone.getServiceState()).thenReturn(state); in testPhoneChangeState_NoOkToCall_Timeout() 196 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_RetryFailure() 216 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_RetryFailure_ForEmergency() 237 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_RetryFailure_WithSatellite() 257 when(mMockPhone.getServiceState()).thenReturn(state); in testTimeout_OnTimeoutForEmergency()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DisplayInfoControllerTest.java | 84 doReturn(new ServiceState()).when(mPhone).getServiceState(); in onLooperPrepared() 194 ServiceState ss = mSst.getServiceState(); in testIsRoamingOverride_NonRoamingOperator() 214 ServiceState ss = mSst.getServiceState(); in testIsRoamingOverride_ForceHomeNetwork() 235 ServiceState ss1 = mSst.getServiceState(); in testIsRoamingOverride_RoamingOperator() 257 ServiceState ss = mSst.getServiceState(); in testIsRoamingOverride_NonRoamingGsmOperator() 278 ServiceState ss1 = mSst.getServiceState(); in testIsRoamingOverride_RoamingGsmOperator() 300 ServiceState ss1 = mSst.getServiceState(); in testIsRoamingOverride_HideRoamingIndicator()
|
D | CallManagerTest.java | 225 doReturn(mSecondServiceState).when(mSecondPhone).getServiceState(); in testGetServiceState() 233 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 237 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 241 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 247 CallManager.getInstance().getServiceState()); in testGetServiceState() 252 CallManager.getInstance().getServiceState()); in testGetServiceState() 258 CallManager.getInstance().getServiceState()); in testGetServiceState()
|
D | ServiceStateTrackerTest.java | 281 doReturn(new ServiceState()).when(mPhone).getServiceState(); in setUp() 2122 assertEquals(oldOpNamesResult[0], sst.getServiceState().getOperatorAlpha()); in testPollStateOperatorWhileNotRegistered() 2130 assertEquals(null, sst.getServiceState().getOperatorAlpha()); in testPollStateOperatorWhileNotRegistered() 2136 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getServiceState().getState()); in testPollStateExceptionRadioPowerOn() 2138 sst.getServiceState().getDataRegistrationState()); in testPollStateExceptionRadioPowerOn() 2147 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getServiceState().getState()); in testPollStateExceptionRadioPowerOn() 2149 sst.getServiceState().getDataRegistrationState()); in testPollStateExceptionRadioPowerOn() 2159 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getState()); in testPollStateExceptionRadioPowerOff() 2161 sst.getServiceState().getDataRegistrationState()); in testPollStateExceptionRadioPowerOff() 2163 sst.getServiceState().setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testPollStateExceptionRadioPowerOff() [all …]
|
D | GsmCdmaPhoneTest.java | 224 doReturn(serviceState).when(mSST).getServiceState(); in testGetServiceState() 225 assertEquals(serviceState, mPhoneUT.getServiceState()); in testGetServiceState() 257 doReturn(imsServiceState).when(mImsPhone).getServiceState(); in testGetMergedServiceState() 295 doReturn(serviceState).when(mSST).getServiceState(); in testGetMergedServiceState() 298 ServiceState mergedServiceState = mPhoneUT.getServiceState(); in testGetMergedServiceState() 339 doReturn(imsServiceState).when(mImsPhone).getServiceState(); in testGetMergedServiceStateNoCsfb() 378 doReturn(serviceState).when(mSST).getServiceState(); in testGetMergedServiceStateNoCsfb() 381 ServiceState mergedServiceState = mPhoneUT.getServiceState(); in testGetMergedServiceStateNoCsfb() 1484 doReturn(mImsServiceState).when(mImsPhone).getServiceState(); in setupTestSendUssd() 1919 doReturn(ss).when(mImsPhone).getServiceState(); in setupEmergencyCallScenario() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | OperatorNameViewControllerTest.kt | 112 whenever(keyguardUpdateMonitor.getServiceState(any())) in updateFromSubInfo_showsCarrieName() 137 whenever(keyguardUpdateMonitor.getServiceState(any())) in notDataCapable_doesNotShowOperatorName() 161 whenever(keyguardUpdateMonitor.getServiceState(any())) in airplaneMode_doesNotShowOperatorName() 190 whenever(keyguardUpdateMonitor.getServiceState(any())) in notInService_doesNotShowOperatorName()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | RadioOnStateListener.java | 247 if (isOkToCall(mPhone.getServiceState().getState(), imsVoiceCapable)) { in onImsCapabilityChanged() 263 if (onTimeout(mPhone.getServiceState().getState(), in onTimeoutCallbackTimeout() 313 ServiceState state = mPhone.getServiceState(); in onRadioOn() 327 if (isOkToCall(mPhone.getServiceState().getState(), in onSatelliteEnabledChanged() 359 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSMSDispatcher.java | 118 int ss = mPhone.getServiceState().getState(); in sendSms() 139 int currentDataNetwork = mPhone.getServiceState().getDataNetworkType(); in sendSms() 145 && mPhone.getServiceState().getVoiceNetworkType() in sendSms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SmsStats.java | 368 private ServiceState getServiceState() { in getServiceState() method in SmsStats 374 return serviceStateTracker != null ? serviceStateTracker.getServiceState() : null; in getServiceState() 392 ServiceState serviceState = getServiceState(); in getRat() 398 ServiceState serviceState = getServiceState(); in getIsRoaming() 415 ServiceState ss = getServiceState(); in isNonTerrestrialNetwork()
|
D | VoiceCallSessionStats.java | 235 getVoiceRatWithVoNRFix(mPhone, mPhone.getServiceState(), in onRilCallListChanged() 405 mPhone, mPhone.getServiceState(), proto.bearerAtEnd)); in onRilSrvccStateChanged() 466 ServiceState serviceState = getServiceState(); in addCall() 569 updateRatAtEnd(proto, getVoiceRatWithVoNRFix(mPhone, getServiceState(), proto.bearerAtEnd)); in finishCall() 643 ServiceState serviceState = getServiceState(); in checkCallSetup() 700 mPhone, mPhone.getServiceState(), proto.bearerAtEnd), in finishImsCall() 708 private @Nullable ServiceState getServiceState() { in getServiceState() method in VoiceCallSessionStats 710 return tracker != null ? tracker.getServiceState() : null; in getServiceState()
|
D | DataStallRecoveryStats.java | 359 ServiceState serviceState = mPhone.getServiceState(); in updateRatAndBand() 380 NetworkRegistrationInfo phoneRegInfo = mPhone.getServiceState() in updateNetworkRegState() 396 NetworkRegistrationInfo regInfo = otherPhone.getServiceState() in updateDsdsInfo()
|
D | DataCallSessionStats.java | 350 serviceStateTracker != null ? serviceStateTracker.getServiceState() : null; in getIsRoaming() 374 serviceStateTracker != null ? serviceStateTracker.getServiceState() : null; in getIsOos()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ImsSmsDispatcher.java | 411 return ((mPhone.getServiceState().getRilDataRadioTechnology() == in isLteService() 412 ServiceState.RIL_RADIO_TECHNOLOGY_LTE) && (mPhone.getServiceState(). in isLteService() 417 return ((mPhone.getServiceState().getRilVoiceRadioTechnology() == in isLimitedLteService() 418 ServiceState.RIL_RADIO_TECHNOLOGY_LTE) && mPhone.getServiceState().isEmergencyOnly()); in isLimitedLteService() 621 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
|
D | DisplayInfoController.java | 88 mServiceState = mPhone.getServiceStateTracker().getServiceState(); in DisplayInfoController() 216 mServiceState = mPhone.getServiceStateTracker().getServiceState(); in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | PassiveLocationProviderManager.java | 82 protected String getServiceState() { in getServiceState() method in PassiveLocationProviderManager
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsDispatcherTest.java | 79 doReturn(mServiceState).when(mPhone).getServiceState(); in testSendSms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSMSDispatcher.java | 157 int ss = mPhone.getServiceState().getState(); in sendSms() 171 if(mPhone.getServiceState().getRilDataRadioTechnology() in sendSms()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssListenerMultiplexer.java | 449 protected String getServiceState() { in getServiceState() method in GnssListenerMultiplexer 453 return super.getServiceState(); in getServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | CellularNetworkValidator.java | 159 if (phone == null || phone.getServiceState() == null) return null; 161 NetworkRegistrationInfo regInfo = phone.getServiceState().getNetworkRegistrationInfo(
|
D | DataNetwork.java | 1048 mLastKnownRoamingState = mPhone.getServiceState().getDataRoamingFromRegistration(); in DataNetwork() 1049 mIsSatellite = mPhone.getServiceState().isUsingNonTerrestrialNetwork() in DataNetwork() 1338 mPhone.getServiceState() 1545 boolean isModemRoaming = mPhone.getServiceState().getDataRoamingFromRegistration(); 1551 || (isModemRoaming && (!mPhone.getServiceState().getDataRoaming() 2321 boolean roaming = mPhone.getServiceState().getDataRoaming(); 2455 || (mPhone.getServiceState().getDataRoaming() 3210 mTelephonyDisplayInfo, mPhone.getServiceState()) 3299 ServiceState ss = mPhone.getServiceState(); 3337 NetworkRegistrationInfo nri = mPhone.getServiceStateTracker().getServiceState() [all …]
|
D | DataProfileManager.java | 633 mPhone.getServiceState().getDataRoamingFromRegistration(), null); in updateInitialAttachDataProfileAtModem() 644 mPhone.getServiceState().getDataRoamingFromRegistration(), null); in updateDataProfilesAtModem() 913 && mPhone.getServiceState().getDataRoaming()) { in isTetheringDataProfileExisting() 922 mPhone.getServiceState().isUsingNonTerrestrialNetwork(), in isTetheringDataProfileExisting() 1136 mPhone.getServiceState().getDataRoamingFromRegistration()); in areDataProfilesSharingApn()
|
D | LinkBandwidthEstimator.java | 970 return mPhone.getServiceState().getNrFrequencyRange() in getNrMode() 974 return mPhone.getServiceState().getNrFrequencyRange() in getNrMode() 1000 return mPhone.getServiceState().getNrState() in isNrNsaConnected() 1042 return mPhone.getServiceState().getNetworkRegistrationInfo( in getDataNri() 1047 final ServiceState ss = mPhone.getServiceState(); in updateDataRatCellIdentityBandwidth()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneMmiCodeTest.java | 74 doReturn(mServiceState).when(mPhone).getServiceState(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/ |
D | DomainSelectionController.java | 416 updateServiceState(phone, phone.getServiceStateTracker().getServiceState()); in registerForStateChange() 445 updateServiceState(phone, phone.getServiceStateTracker().getServiceState()); in notifyServiceConnected()
|