Lines Matching defs:call

65     static final int MAX_CONNECTIONS_PER_CALL = 1; // only 1 connection allowed per call
80 // A call that is ringing or (call) waiting
139 // Notify if in call when registering
174 // note that this triggers call state changed notif
205 // Cancel Ecm timer if a second emergency call is originating in Ecm mode
210 // We are initiating a call therefore even if we previously
215 // The new call must be assigned to the foreground call.
216 // That call must be idle, so place anything that's
231 // handlePollCalls() will notice this call not present
235 // Always unmute when initiating a new call
238 // Check data call
241 // In Ecm mode, if another emergency call is dialed, Ecm mode will not exit.
272 // Check data call
296 // Always unmute when answering a new call
303 // service for CDMA, we assume call waiting is answered.
549 // It's our pending mobile originating call
555 // Someone has already asked to hangup this call
558 // Re-start Ecm timer when an uncompleted emergency call ends
588 // find if the MT call is a new ring or unknown connection
599 // This case means the RIL has no more active call anymore and
601 // Loop through foreground call connections as
610 // Loop through ringing call connections as
620 // Re-start Ecm timer when the connected emergency call ends
624 // If emergency call is not going through while dialing
634 // Mt call takes precedence than Mo,drops Mo
636 // find if the MT call is a new ring or unknown connection
644 // Call info stored in conn is not consistent with the call info from dc.
646 // when there is conflict, so here we drop the call info from dc and
647 // continue to use the call info from conn, and only take a log.
648 Rlog.e(LOG_TAG,"Error in RIL, Phantom call appeared " + dc);
678 // We expect the pending call to appear in the list
696 // clear the "local hangup" and "missed/rejected call"
698 // These cases need no "last call fail" reason
703 // Missed or rejected call
712 log("missed/rejected call, conn.cause=" + conn.mCause);
772 // We're hanging up an outgoing call that doesn't have it's
779 // Handle call waiting hang up case.
782 // if the ringing call connection size is 0. We don't specifically
783 // set the ringing call state to IDLE here to avoid a race condition
784 // where a new call waiting could get a hang up from an old call
787 // PhoneApp does the call log itself since only PhoneApp knows
842 hangup (CdmaCall call) throws CallStateException {
843 if (call.getConnections().size() == 0) {
844 throw new CallStateException("no connections in call");
847 if (call == mRingingCall) {
850 } else if (call == mForegroundCall) {
851 if (call.isDialingOrAlerting()) {
855 hangup((CdmaConnection)(call.getConnections().get(0)));
859 } else if (call == mBackgroundCall) {
862 log("hangup all conns in background call");
864 hangupAllConnections(call);
869 throw new RuntimeException ("CdmaCall " + call +
873 call.onHangupLocal();
889 void hangupConnectionByIndex(CdmaCall call, int index)
891 int count = call.mConnections.size();
893 CdmaConnection cn = (CdmaConnection)call.mConnections.get(i);
903 void hangupAllConnections(CdmaCall call) {
905 int count = call.mConnections.size();
907 CdmaConnection cn = (CdmaConnection)call.mConnections.get(i);
916 CdmaConnection getConnectionByIndex(CdmaCall call, int index)
918 int count = call.mConnections.size();
920 CdmaConnection cn = (CdmaConnection)call.mConnections.get(i);
933 // the status of the call is after a call waiting is answered,
934 // 3 way call merged or a switch between calls.
941 // call list when it gets the CommandException
957 // call waiting is connected or 3 way call is
1002 // In GSM call operationComplete() here which gets the
1003 // current call list. But in CDMA there is no list so
1070 // Assume 3 way call is connected
1090 Rlog.w(LOG_TAG, "exception happened on Blank Flash for 3-way call");
1114 * Disable data call when emergency call is connected
1125 * Check and enable data call after an emergency call is dropped if it's
1143 * Check the MT call to see if it's a new ring or
1150 // it's a ringing call
1155 // Something strange happened: a call which is neither
1156 // a ringing call nor the one we created. It could be the
1157 // call collision result from RIL
1158 Rlog.e(LOG_TAG,"Phantom call appeared " + dc);
1159 // If it's a connected call, set the connect time so that
1175 * Check if current call is in emergency call
1177 * @return true if it is in emergency call
1178 * false if it is not in emergency call