Home
last modified time | relevance | path

Searched refs:regState (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java170 private List<Integer> getAvailableServices(int regState, int domain, in getAvailableServices() argument
179 } else if (regState == NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING in getAvailableServices()
180 || regState == NetworkRegistrationInfo.REGISTRATION_STATE_HOME) { in getAvailableServices()
238 int regState = getRegStateFromHalRegState(voiceRegState.regState); in createRegistrationStateFromVoiceRegState() local
241 boolean emergencyOnly = isEmergencyOnly(voiceRegState.regState); in createRegistrationStateFromVoiceRegState()
247 regState, domain, emergencyOnly); in createRegistrationStateFromVoiceRegState()
251 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState()
258 int regState = getRegStateFromHalRegState(voiceRegState.regState); in createRegistrationStateFromVoiceRegState() local
261 boolean emergencyOnly = isEmergencyOnly(voiceRegState.regState); in createRegistrationStateFromVoiceRegState()
267 regState, domain, emergencyOnly); in createRegistrationStateFromVoiceRegState()
[all …]
DServiceStateTracker.java2274 int regState = wwanPsRegState.getRegistrationState(); in combinePsRegistrationStates() local
2275 serviceState.setDataRegState(regCodeToServiceState(regState)); in combinePsRegistrationStates()
6010 int regState = ss.getState(); in getCombinedRegState() local
6012 if ((regState == ServiceState.STATE_OUT_OF_SERVICE in getCombinedRegState()
6013 || regState == ServiceState.STATE_POWER_OFF) in getCombinedRegState()
6019 regState = dataRegState; in getCombinedRegState()
6023 regState = dataRegState; in getCombinedRegState()
6026 return regState; in getCombinedRegState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkServiceTest.java183 int regState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME; in testGetNetworkRegistrationInfoV1_5() local
212 regResult.regState = regState; in testGetNetworkRegistrationInfoV1_5()
241 regState, ServiceState.rilRadioTechnologyToNetworkType(radioTech), reasonForDenial, in testGetNetworkRegistrationInfoV1_5()
260 regState, ServiceState.rilRadioTechnologyToNetworkType(radioTech), reasonForDenial, in testGetNetworkRegistrationInfoV1_5()
276 int regState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME; in testGetNetworkRegistrationInfoV1_6WithLte() local
305 regResult.regState = regState; in testGetNetworkRegistrationInfoV1_6WithLte()
334 regState, ServiceState.rilRadioTechnologyToNetworkType(radioTech), reasonForDenial, in testGetNetworkRegistrationInfoV1_6WithLte()
353 regState, ServiceState.rilRadioTechnologyToNetworkType(radioTech), reasonForDenial, in testGetNetworkRegistrationInfoV1_6WithLte()
370 int regState = NetworkRegistrationInfo.REGISTRATION_STATE_HOME; in testGetNetworkRegistrationInfoV1_6WithNr() local
395 regResult.regState = regState; in testGetNetworkRegistrationInfoV1_6WithNr()
[all …]
DSimulatedCommands.java1013 ((VoiceRegStateResult) ret).regState = mVoiceRegState; in getVoiceRegistrationState()
1047 ((DataRegStateResult) ret).regState = mDataRegState; in getDataRegistrationState()
2066 public void setImsRegistrationState(int[] regState) { in setImsRegistrationState() argument
2067 mImsRegState = regState; in setImsRegistrationState()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java657 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getVoiceRoamingType() local
659 if (regState != null) { in getVoiceRoamingType()
660 return regState.getRoamingType(); in getVoiceRoamingType()
707 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getDataRoamingType() local
709 if (regState != null) { in getDataRoamingType()
710 return regState.getRoamingType(); in getDataRoamingType()
1742 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getVoiceNetworkType() local
1744 if (regState != null) { in getVoiceNetworkType()
1745 return regState.getAccessNetworkTechnology(); in getVoiceNetworkType()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java979 private ServiceState getServiceStateDataAndVoice(int rat, int regState, boolean isRoaming) { in getServiceStateDataAndVoice() argument
982 ss.setDataRegState(regState); in getServiceStateDataAndVoice()
985 ss.setVoiceRegState(regState); in getServiceStateDataAndVoice()
991 private ServiceState getServiceStateDataOnly(int rat, int regState, boolean isRoaming) { in getServiceStateDataOnly() argument
994 ss.setDataRegState(regState); in getServiceStateDataOnly()
1000 private ServiceState modifyServiceStateData(ServiceState ss, int rat, int regState, in modifyServiceStateData() argument
1003 ss.setDataRegState(regState); in modifyServiceStateData()