Lines Matching defs:state
82 Phone.State state = Phone.State.IDLE;
138 if (state != Phone.State.IDLE) {
184 // note that this triggers call state changed notif
188 throw new CallStateException("cannot dial in current state");
202 // didn't know the state (i.e. Generic was true) we now know
282 // ringing Call state change to idle is in CdmaCall.detach
308 throw new CallStateException("cannot be in the incoming state");
322 // Should we be checking state?
444 Phone.State oldState = state;
447 state = Phone.State.RINGING;
450 state = Phone.State.OFFHOOK;
452 state = Phone.State.IDLE;
455 if (state == Phone.State.IDLE && oldState != state) {
458 } else if (oldState == Phone.State.IDLE && oldState != state) {
463 log("update phone state, old=" + oldState + " new="+ state);
465 if (state != oldState) {
619 if ((dc.state == DriverCall.State.DIALING
621 || (dc.state == DriverCall.State.ALERTING
623 || (dc.state == DriverCall.State.INCOMING
625 || (dc.state == DriverCall.State.WAITING
629 // for state transitions
640 Log.d(LOG_TAG,"Pending MO dropped before poll fg state:"
699 // 2) A Call/Connection object has changed state...
736 // The ringingCall state will change to IDLE in CdmaCall.detach
738 // set the ringing call state to IDLE here to avoid a race condition
1109 if (dc.state != DriverCall.State.ALERTING
1110 && dc.state != DriverCall.State.DIALING) {