Home
last modified time | relevance | path

Searched refs:getNrState (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkTypeControllerTest.java113 doReturn(NetworkRegistrationInfo.NR_STATE_NONE).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
119 doReturn(NetworkRegistrationInfo.NR_STATE_RESTRICTED).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
125 doReturn(NetworkRegistrationInfo.NR_STATE_NOT_RESTRICTED).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
131 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(mServiceState).getNrState(); in testUpdateOverrideNetworkTypeNrNsa()
183 doReturn(NetworkRegistrationInfo.NR_STATE_RESTRICTED).when(mServiceState).getNrState(); in testTransitionToCurrentStateRestricted()
194 doReturn(NetworkRegistrationInfo.NR_STATE_NOT_RESTRICTED).when(mServiceState).getNrState(); in testTransitionToCurrentStateIdle()
206 doReturn(NetworkRegistrationInfo.NR_STATE_NOT_RESTRICTED).when(mServiceState).getNrState(); in testTransitionToCurrentStateLteConnected()
218 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(mServiceState).getNrState(); in testTransitionToCurrentStateNrConnected()
229 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(mServiceState).getNrState(); in testTransitionToCurrentStateNrConnectedMmwave()
241 doReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED).when(mServiceState).getNrState(); in testEventDataRatChanged()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java241 when(serviceState.getNrState()).thenReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED); in test5g()
247 when(serviceState.getNrState()).thenReturn(NetworkRegistrationInfo.NR_STATE_NONE); in test5g()
254 when(serviceState.getNrState()).thenReturn(NetworkRegistrationInfo.NR_STATE_CONNECTED); in test5g()
267 when(serviceState.getNrState()).thenReturn(NetworkRegistrationInfo.NR_STATE_NONE); in test5g()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkTypeController.java351 && (mPhone.getServiceState().getNrState() != NetworkRegistrationInfo.NR_STATE_NONE in getCurrentOverrideNetworkType()
375 switch (mPhone.getServiceState().getNrState()) { in getNrDisplayType()
994 return mPhone.getServiceState().getNrState() == NetworkRegistrationInfo.NR_STATE_CONNECTED; in isNrConnected()
998 return mPhone.getServiceState().getNrState() in isNrNotRestricted()
1003 return mPhone.getServiceState().getNrState() in isNrRestricted()
DTelephonyTester.java430 log("Override NR state with " + ss.getNrState()); in overrideServiceState()
DDeviceStateMonitor.java422 if (mPhone.getServiceState().getNrState() in shouldEnableNrTrackingIndications()
DServiceStateTracker.java2064 int oldNrState = regInfo.getNrState(); in updateNrStateFromPhysicalChannelConfigs()
2070 newNrState = regInfo.getNrState(); in updateNrStateFromPhysicalChannelConfigs()
3286 boolean hasNrStateChanged = mSS.getNrState() != mNewSS.getNrState(); in pollStateDone()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitor.java209 && ss.getNrState() == NetworkRegistrationInfo.NR_STATE_CONNECTED; in onServiceStateChanged()
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java375 public @NRState int getNrState() { in getNrState() method in NetworkRegistrationInfo
DServiceState.java1440 public @NRState int getNrState() { in getNrState() method in ServiceState
1444 return regInfo.getNrState(); in getNrState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java122 doReturn(NR_STATE_NONE).when(mServiceState).getNrState(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java3044 return mPhone.getServiceState().getNrState() in isNRConnected()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java957 ssProto.nrState = serviceState.getNrState(); in toServiceStateProto()
/frameworks/base/config/
Dboot-image-profile.txt14166 HSPLandroid/telephony/ServiceState;->getNrState()I