Searched refs:serviceState (Results 1 – 11 of 11) sorted by relevance
180 private boolean isOkToCall(int serviceState, PhoneConstants.State phoneState) { in isOkToCall() argument184 || (serviceState == ServiceState.STATE_IN_SERVICE) in isOkToCall()185 || (serviceState == ServiceState.STATE_EMERGENCY_ONLY)) || in isOkToCall()189 serviceState == ServiceState.STATE_OUT_OF_SERVICE); in isOkToCall()197 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout() local199 phoneState, serviceState, mNumRetriesSoFar); in onRetryTimeout()207 if (isOkToCall(serviceState, phoneState)) { in onRetryTimeout()
203 public void onServiceStateChanged(ServiceState serviceState) {204 int newState = serviceState.getState();
183 ServiceState serviceState = status.mPhoneStateReceiver.getServiceState(); in handleMessage() local184 status.updateServiceState(serviceState); in handleMessage()503 private void updateServiceState(ServiceState serviceState) { in updateServiceState() argument504 int state = serviceState.getState(); in updateServiceState()522 if (serviceState.getRoaming()) { in updateServiceState()527 setSummaryText(KEY_OPERATOR_NAME, serviceState.getOperatorAlphaLong()); in updateServiceState()
182 public void onServiceStateChanged(ServiceState serviceState) {183 mServiceState = serviceState;184 mService = (serviceState.getState() == ServiceState.STATE_IN_SERVICE) ?187 setRoam(serviceState.getRoaming() ? HeadsetHalConstants.SERVICE_TYPE_ROAMING
58 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); in onReceiveWithPrivilege() local59 int newState = serviceState.getState(); in onReceiveWithPrivilege()61 Log.d(TAG, "Service state changed! " + newState + " Full: " + serviceState + in onReceiveWithPrivilege()
269 int serviceState = mCM.getDefaultPhone().getServiceState().getState(); in onRetryTimeout() local271 + ", service state " + serviceState in onRetryTimeout()288 if (serviceState != ServiceState.STATE_POWER_OFF) { in onRetryTimeout()
495 void updateNetworkSelection(int serviceState) { in updateNetworkSelection() argument510 serviceState + " new network " + networkSelection); in updateNetworkSelection()512 if (serviceState == ServiceState.STATE_OUT_OF_SERVICE in updateNetworkSelection()
570 ServiceState serviceState = mPhoneStateReceiver.getServiceState(); in updateServiceState() local571 int state = serviceState.getState(); in updateServiceState()590 if (serviceState.getRoaming()) { in updateServiceState()596 operatorName.setText(serviceState.getOperatorAlphaLong()); in updateServiceState()
548 Integer serviceState = mProfileServicesState.get(serviceName); in setProfileServiceState() local549 if(serviceState != null && serviceState != expectedCurrentState) { in setProfileServiceState()553 + ". Invalid state: " + serviceState); in setProfileServiceState()
227 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); in handleServiceStateChanged() local228 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) { in handleServiceStateChanged()
1962 public void onServiceStateChanged(ServiceState serviceState) {1963 Log.d(TAG, "Phone service state change: " + serviceState.getState());1964 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) {