Lines Matching defs:call

57     static final int MAX_CONNECTIONS_PER_CALL = 1; // only 1 connection allowed per call
72 // A call that is ringing or (call) waiting
116 // PhoneApp that the call is gone. Do that here
117 Rlog.d(LOG_TAG, "dispose: call connnection onDisconnect, cause LOST_SIGNAL");
128 Rlog.d(LOG_TAG, "dispose: call mPendingMO.onDsiconnect, cause LOST_SIGNAL");
151 // Notify if in call when registering
186 // note that this triggers call state changed notif
198 // Cancel Ecm timer if a second emergency call is originating in Ecm mode
203 // We are initiating a call therefore even if we previously
208 // The new call must be assigned to the foreground call.
209 // That call must be idle, so place anything that's
224 // handlePollCalls() will notice this call not present
228 // Always unmute when initiating a new call
231 // Check data call
234 // In Ecm mode, if another emergency call is dialed, Ecm mode will not exit.
260 // Check data call
277 // Always unmute when answering a new call
284 // service for CDMA, we assume call waiting is answered.
525 // It's our pending mobile originating call
531 // Someone has already asked to hangup this call
534 // Re-start Ecm timer when an uncompleted emergency call ends
555 // find if the MT call is a new ring or unknown connection
564 // This case means the RIL has no more active call anymore and
566 // Loop through foreground call connections as
575 // Loop through ringing call connections as
585 // Re-start Ecm timer when the connected emergency call ends
589 // If emergency call is not going through while dialing
599 // Mt call takes precedence than Mo,drops Mo
601 // find if the MT call is a new ring or unknown connection
608 // Call info stored in conn is not consistent with the call info from dc.
610 // when there is conflict, so here we drop the call info from dc and
611 // continue to use the call info from conn, and only take a log.
612 Rlog.e(LOG_TAG,"Error in RIL, Phantom call appeared " + dc);
642 // We expect the pending call to appear in the list
660 // clear the "local hangup" and "missed/rejected call"
662 // These cases need no "last call fail" reason
667 // Missed or rejected call
676 log("missed/rejected call, conn.cause=" + conn.mCause);
729 // We're hanging up an outgoing call that doesn't have it's
736 // Handle call waiting hang up case.
739 // if the ringing call connection size is 0. We don't specifically
740 // set the ringing call state to IDLE here to avoid a race condition
741 // where a new call waiting could get a hang up from an old call
744 // PhoneApp does the call log itself since only PhoneApp knows
799 hangup (CdmaCall call) throws CallStateException {
800 if (call.getConnections().size() == 0) {
801 throw new CallStateException("no connections in call");
804 if (call == mRingingCall) {
807 } else if (call == mForegroundCall) {
808 if (call.isDialingOrAlerting()) {
812 hangup((CdmaConnection)(call.getConnections().get(0)));
816 } else if (call == mBackgroundCall) {
819 log("hangup all conns in background call");
821 hangupAllConnections(call);
826 throw new RuntimeException ("CdmaCall " + call +
830 call.onHangupLocal();
846 void hangupConnectionByIndex(CdmaCall call, int index)
848 int count = call.mConnections.size();
850 CdmaConnection cn = (CdmaConnection)call.mConnections.get(i);
860 void hangupAllConnections(CdmaCall call) {
862 int count = call.mConnections.size();
864 CdmaConnection cn = (CdmaConnection)call.mConnections.get(i);
873 CdmaConnection getConnectionByIndex(CdmaCall call, int index)
875 int count = call.mConnections.size();
877 CdmaConnection cn = (CdmaConnection)call.mConnections.get(i);
890 // the status of the call is after a call waiting is answered,
891 // 3 way call merged or a switch between calls.
898 // call list when it gets the CommandException
914 // call waiting is connected or 3 way call is
959 // In GSM call operationComplete() here which gets the
960 // current call list. But in CDMA there is no list so
1027 // Assume 3 way call is connected
1053 * Disable data call when emergency call is connected
1064 * Check and enable data call after an emergency call is dropped if it's
1082 * Check the MT call to see if it's a new ring or
1090 // it's a ringing call
1095 // Something strange happened: a call which is neither
1096 // a ringing call nor the one we created. It could be the
1097 // call collision result from RIL
1098 Rlog.e(LOG_TAG,"Phantom call appeared " + dc);
1099 // If it's a connected call, set the connect time so that
1115 * Check if current call is in emergency call
1117 * @return true if it is in emergency call
1118 * false if it is not in emergency call