Lines Matching defs:conn

502             CdmaConnection conn = mConnections[i];
516 if (DBG_POLL) log("poll: conn[i=" + i + "]=" +
517 conn+", dc=" + dc);
519 if (conn == null && dc != null) {
541 "poll: hangupPendingMO, hangup conn " + i);
563 } else if (conn != null && dc == null) {
595 } else if (conn != null && dc != null) { /* implicit conn.compareTo(dc) */
597 if (conn.mIsIncoming != dc.isMT) {
600 mDroppedDuringPoll.add(conn);
608 // Call info stored in conn is not consistent with the call info from dc.
611 // continue to use the call info from conn, and only take a log.
616 changed = conn.update(dc);
664 CdmaConnection conn = mDroppedDuringPoll.get(i);
666 if (conn.isIncoming() && conn.getConnectTime() == 0) {
669 if (conn.mCause == Connection.DisconnectCause.LOCAL) {
676 log("missed/rejected call, conn.cause=" + conn.mCause);
680 hasAnyCallDisconnected |= conn.onDisconnect(cause);
681 } else if (conn.mCause == Connection.DisconnectCause.LOCAL
682 || conn.mCause == Connection.DisconnectCause.INVALID_NUMBER) {
684 hasAnyCallDisconnected |= conn.onDisconnect(conn.mCause);
722 hangup (CdmaConnection conn) throws CallStateException {
723 if (conn.mOwner != this) {
724 throw new CallStateException ("CdmaConnection " + conn
728 if (conn == mPendingMO) {
734 } else if ((conn.getCall() == mRingingCall)
745 // the hangup reason is user ignoring or timing out. So conn.onDisconnect()
746 // is not called here. Instead, conn.onLocalDisconnect() is called.
747 conn.onLocalDisconnect();
753 mCi.hangupConnection (conn.getCDMAIndex(), obtainCompleteMessage());
758 + conn);
762 conn.onHangupLocal();
766 separate (CdmaConnection conn) throws CallStateException {
767 if (conn.mOwner != this) {
768 throw new CallStateException ("CdmaConnection " + conn
772 mCi.separateConnection (conn.getCDMAIndex(),
778 + conn);
983 CdmaConnection conn = mDroppedDuringPoll.get(i);
985 conn.onRemoteDisconnect(causeCode);