Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java173 private List<Integer> getAvailableServices(int regState, int domain, in getAvailableServices() argument
182 } else if (regState == NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING in getAvailableServices()
183 || regState == NetworkRegistrationInfo.REGISTRATION_STATE_HOME) { in getAvailableServices()
218 int regState = getRegStateFromHalRegState(voiceRegState.regState); in createRegistrationStateFromVoiceRegState() local
224 boolean emergencyOnly = isEmergencyOnly(voiceRegState.regState); in createRegistrationStateFromVoiceRegState()
230 regState, domain, emergencyOnly); in createRegistrationStateFromVoiceRegState()
234 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState()
241 int regState = getRegStateFromHalRegState(voiceRegState.regState); in createRegistrationStateFromVoiceRegState() local
247 boolean emergencyOnly = isEmergencyOnly(voiceRegState.regState); in createRegistrationStateFromVoiceRegState()
253 regState, domain, emergencyOnly); in createRegistrationStateFromVoiceRegState()
[all …]
DServiceStateTracker.java2013 int regState = wwanPsRegState.getRegistrationState(); in combinePsRegistrationStates() local
2014 serviceState.setDataRegState(regCodeToServiceState(regState)); in combinePsRegistrationStates()
5315 int regState = ss.getVoiceRegState(); in getCombinedRegState() local
5317 if ((regState == ServiceState.STATE_OUT_OF_SERVICE in getCombinedRegState()
5318 || regState == ServiceState.STATE_POWER_OFF) in getCombinedRegState()
5321 regState = dataRegState; in getCombinedRegState()
5323 return regState; in getCombinedRegState()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java620 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getVoiceRoamingType() local
622 if (regState != null) { in getVoiceRoamingType()
623 return regState.getRoamingType(); in getVoiceRoamingType()
644 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getDataRoamingFromRegistration() local
646 if (regState != null) { in getDataRoamingFromRegistration()
647 return regState.getRegistrationState() in getDataRoamingFromRegistration()
660 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getDataRoamingType() local
662 if (regState != null) { in getDataRoamingType()
663 return regState.getRoamingType(); in getDataRoamingType()
1647 final NetworkRegistrationInfo regState = getNetworkRegistrationInfo( in getVoiceNetworkType() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java775 private ServiceState getServiceStateDataAndVoice(int rat, int regState, boolean isRoaming) { in getServiceStateDataAndVoice() argument
778 ss.setDataRegState(regState); in getServiceStateDataAndVoice()
781 ss.setVoiceRegState(regState); in getServiceStateDataAndVoice()
787 private ServiceState getServiceStateDataOnly(int rat, int regState, boolean isRoaming) { in getServiceStateDataOnly() argument
790 ss.setDataRegState(regState); in getServiceStateDataOnly()
796 private ServiceState modifyServiceStateData(ServiceState ss, int rat, int regState, in modifyServiceStateData() argument
799 ss.setDataRegState(regState); in modifyServiceStateData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java975 ret.regState = mVoiceRegState; in getVoiceRegistrationState()
1006 ret.regState = mDataRegState; in getDataRegistrationState()
1951 public void setImsRegistrationState(int[] regState) { in setImsRegistrationState() argument
1952 mImsRegState = regState; in setImsRegistrationState()