Home | History | Annotate | Download | only in telephony

Lines Matching defs:serviceState

31 import android.telephony.ServiceState;
280 int resultState = ServiceState.STATE_OUT_OF_SERVICE;
283 int serviceState = phone.getServiceState().getState();
284 if (serviceState == ServiceState.STATE_IN_SERVICE) {
286 resultState = serviceState;
288 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) {
291 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY ||
292 resultState == ServiceState.STATE_POWER_OFF) {
293 resultState = serviceState;
295 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) {
296 if (resultState == ServiceState.STATE_POWER_OFF) {
297 resultState = serviceState;
308 int resultState = ServiceState.STATE_OUT_OF_SERVICE;
312 int serviceState = phone.getServiceState().getState();
313 if (serviceState == ServiceState.STATE_IN_SERVICE) {
315 resultState = serviceState;
317 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) {
320 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY ||
321 resultState == ServiceState.STATE_POWER_OFF) {
322 resultState = serviceState;
324 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) {
325 if (resultState == ServiceState.STATE_POWER_OFF) {
326 resultState = serviceState;
1027 int serviceState = phone.getServiceState().getState();
1032 boolean result = (serviceState != ServiceState.STATE_POWER_OFF
1043 Rlog.d(LOG_TAG, "canDial serviceState=" + serviceState
1531 * Register for ServiceState changed.
1533 * AsyncResult.result will be a ServiceState instance
2236 bInService = (phone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE);