Lines Matching defs:call

69     static final int MAX_CONNECTIONS_PER_CALL = 5; // only 5 connections allowed per call
82 // A call that is ringing or (call) waiting
173 // note that this triggers call state changed notif
183 // The new call must be assigned to the foreground call.
184 // That call must be idle, so place anything that's
189 // and we need to make sure the foreground call is clear
196 // next poll, so that we don't clear a failed dialing call
215 // handlePollCalls() will notice this call not present
219 // Always unmute when initiating a new call
254 // in case the active/holding call disappeared and this
255 // is no longer call waiting
259 // Always unmute when answering a new call
474 // It's our pending mobile originating call
480 // Someone has already asked to hangup this call
507 } else if ( mConnections[i].getCall() == mRingingCall ) { // it's a ringing call
510 // Something strange happened: a call appeared
511 // which is neither a ringing call or one we created.
513 // call, or something else (eg, SIM) initiated the call.
515 Rlog.i(LOG_TAG,"Phantom call appeared " + dc);
517 // If it's a connected call, set the connect time so that
544 // we were tracking. Assume dropped call and new call
580 // We expect the pending call to appear in the list
595 // clear the "local hangup" and "missed/rejected call"
597 // These cases need no "last call fail" reason
602 // Missed or rejected call
611 log("missed/rejected call, conn.cause=" + conn.mCause);
665 // call list when it gets the CommandException
676 Rlog.i(LOG_TAG,"Ringing call: " + mRingingCall.toString());
683 Rlog.i(LOG_TAG,"Foreground call: " + mForegroundCall.toString());
690 Rlog.i(LOG_TAG,"Background call: " + mBackgroundCall.toString());
709 // We're hanging up an outgoing call that doesn't have it's
762 hangup (GsmCall call) throws CallStateException {
763 if (call.getConnections().size() == 0) {
764 throw new CallStateException("no connections in call");
767 if (call == mRingingCall) {
770 } else if (call == mForegroundCall) {
771 if (call.isDialingOrAlerting()) {
775 hangup((GsmConnection)(call.getConnections().get(0)));
778 log("hangup all conns in active/background call, without affecting ringing call");
779 hangupAllConnections(call);
783 } else if (call == mBackgroundCall) {
786 log("hangup all conns in background call");
788 hangupAllConnections(call);
793 throw new RuntimeException ("GsmCall " + call +
797 call.onHangupLocal();
813 void hangupConnectionByIndex(GsmCall call, int index)
815 int count = call.mConnections.size();
817 GsmConnection cn = (GsmConnection)call.mConnections.get(i);
827 void hangupAllConnections(GsmCall call) {
829 int count = call.mConnections.size();
831 GsmConnection cn = (GsmConnection)call.mConnections.get(i);
840 GsmConnection getConnectionByIndex(GsmCall call, int index)
842 int count = call.mConnections.size();
844 GsmConnection cn = (GsmConnection)call.mConnections.get(i);