Lines Matching defs:call

54     static final int MAX_CONNECTIONS_PER_CALL = 1; // only 1 connection allowed per call
69 // A call that is ringing or (call) waiting
180 // note that this triggers call state changed notif
191 // Cancel Ecm timer if a second emergency call is originating in Ecm mode
196 // We are initiating a call therefore even if we previously
201 // The new call must be assigned to the foreground call.
202 // That call must be idle, so place anything that's
216 // handlePollCalls() will notice this call not present
220 // Always unmute when initiating a new call
223 // Check data call
226 // In Ecm mode, if another emergency call is dialed, Ecm mode will not exit.
252 // Check data call
269 // Always unmute when answering a new call
276 // service for CDMA, we assume call waiting is answered.
497 // It's our pending mobile originating call
503 // Someone has already asked to hangup this call
506 // Re-start Ecm timer when an uncompleted emergency call ends
527 // find if the MT call is a new ring or unknown connection
536 // This case means the RIL has no more active call anymore and
538 // Loop through foreground call connections as
547 // Loop through ringing call connections as
557 // Re-start Ecm timer when the connected emergency call ends
561 // If emergency call is not going through while dialing
571 // Mt call takes precedence than Mo,drops Mo
573 // find if the MT call is a new ring or unknown connection
580 // Call info stored in conn is not consistent with the call info from dc.
582 // when there is conflict, so here we drop the call info from dc and
583 // continue to use the call info from conn, and only take a log.
584 Log.e(LOG_TAG,"Error in RIL, Phantom call appeared " + dc);
614 // We expect the pending call to appear in the list
632 // clear the "local hangup" and "missed/rejected call"
634 // These cases need no "last call fail" reason
639 // Missed or rejected call
648 log("missed/rejected call, conn.cause=" + conn.cause);
704 // We're hanging up an outgoing call that doesn't have it's
711 // Handle call waiting hang up case.
714 // if the ringing call connection size is 0. We don't specifically
715 // set the ringing call state to IDLE here to avoid a race condition
716 // where a new call waiting could get a hang up from an old call
719 // PhoneApp does the call log itself since only PhoneApp knows
774 hangup (CdmaCall call) throws CallStateException {
775 if (call.getConnections().size() == 0) {
776 throw new CallStateException("no connections in call");
779 if (call == ringingCall) {
782 } else if (call == foregroundCall) {
783 if (call.isDialingOrAlerting()) {
787 hangup((CdmaConnection)(call.getConnections().get(0)));
791 } else if (call == backgroundCall) {
794 log("hangup all conns in background call");
796 hangupAllConnections(call);
801 throw new RuntimeException ("CdmaCall " + call +
805 call.onHangupLocal();
821 void hangupConnectionByIndex(CdmaCall call, int index)
823 int count = call.connections.size();
825 CdmaConnection cn = (CdmaConnection)call.connections.get(i);
835 void hangupAllConnections(CdmaCall call) throws CallStateException{
837 int count = call.connections.size();
839 CdmaConnection cn = (CdmaConnection)call.connections.get(i);
848 CdmaConnection getConnectionByIndex(CdmaCall call, int index)
850 int count = call.connections.size();
852 CdmaConnection cn = (CdmaConnection)call.connections.get(i);
865 // the status of the call is after a call waiting is answered,
866 // 3 way call merged or a switch between calls.
887 // call list when it gets the CommandException
903 // call waiting is connected or 3 way call is
943 // In GSM call operationComplete() here which gets the
944 // current call list. But in CDMA there is no list so
1011 // Assume 3 way call is connected
1037 * Disable data call when emergency call is connected
1048 * Check and enable data call after an emergency call is dropped if it's
1067 * Check the MT call to see if it's a new ring or
1075 // it's a ringing call
1080 // Something strange happened: a call which is neither
1081 // a ringing call nor the one we created. It could be the
1082 // call collision result from RIL
1083 Log.e(LOG_TAG,"Phantom call appeared " + dc);
1084 // If it's a connected call, set the connect time so that
1096 * Check if current call is in emergency call
1098 * @return true if it is in emergency call
1099 * false if it is not in emergency call