Lines Matching defs:call

60     static final int MAX_CONNECTIONS_PER_CALL = 5; // only 5 connections allowed per call
73 // A call that is ringing or (call) waiting
171 // note that this triggers call state changed notif
178 // The new call must be assigned to the foreground call.
179 // That call must be idle, so place anything that's
184 // and we need to make sure the foreground call is clear
191 // next poll, so that we don't clear a failed dialing call
209 // handlePollCalls() will notice this call not present
213 // Always unmute when initiating a new call
234 // in case the active/holding call disappeared and this
235 // is no longer call waiting
239 // Always unmute when answering a new call
446 // It's our pending mobile originating call
452 // Someone has already asked to hangup this call
470 // it's a ringing call
474 // Something strange happened: a call appeared
475 // which is neither a ringing call or one we created.
477 // call, or something else (eg, SIM) initiated the call.
479 Log.i(LOG_TAG,"Phantom call appeared " + dc);
481 // If it's a connected call, set the connect time so that
502 // we were tracking. Assume dropped call and new call
538 // We expect the pending call to appear in the list
553 // clear the "local hangup" and "missed/rejected call"
555 // These cases need no "last call fail" reason
560 // Missed or rejected call
569 log("missed/rejected call, conn.cause=" + conn.cause);
620 // call list when it gets the CommandException
631 Log.i(LOG_TAG,"Ringing call: " + ringingCall.toString());
638 Log.i(LOG_TAG,"Foreground call: " + foregroundCall.toString());
645 Log.i(LOG_TAG,"Background call: " + backgroundCall.toString());
664 // We're hanging up an outgoing call that doesn't have it's
717 hangup (GsmCall call) throws CallStateException {
718 if (call.getConnections().size() == 0) {
719 throw new CallStateException("no connections in call");
722 if (call == ringingCall) {
725 } else if (call == foregroundCall) {
726 if (call.isDialingOrAlerting()) {
730 hangup((GsmConnection)(call.getConnections().get(0)));
734 } else if (call == backgroundCall) {
737 log("hangup all conns in background call");
739 hangupAllConnections(call);
744 throw new RuntimeException ("GsmCall " + call +
748 call.onHangupLocal();
764 void hangupConnectionByIndex(GsmCall call, int index)
766 int count = call.connections.size();
768 GsmConnection cn = (GsmConnection)call.connections.get(i);
778 void hangupAllConnections(GsmCall call) throws CallStateException{
780 int count = call.connections.size();
782 GsmConnection cn = (GsmConnection)call.connections.get(i);
791 GsmConnection getConnectionByIndex(GsmCall call, int index)
793 int count = call.connections.size();
795 GsmConnection cn = (GsmConnection)call.connections.get(i);