Lines Matching defs:call

84                 if (DBG) log("onReceive : incoming call intent");
102 // Normal MT call
295 // note that this triggers call state changed notif
312 // The new call must be assigned to the foreground call.
313 // That call must be idle, so place anything that's
320 // foreground call is empty for the newly dialed connection
335 //holding foreground call failed
340 //holding foreground call succeeded
399 // Always unmute when initiating a new call
404 //TODO(vt): Is this sufficient? At what point do we know the video state of the call?
433 * Accepts a call with the specified video state. The video state is the video state that the
444 throw new CallStateException("cannot accept call");
453 // Always unmute when answering a new call
460 throw new CallStateException("no valid ims call");
463 throw new CallStateException("cannot accept call");
492 throw new CallStateException("no ims call");
501 // Hold the foreground call; once the foreground call is held, the background call will
520 log("conference no foreground ims call");
526 log("conference no background ims call");
530 // Keep track of the connect time of the earliest call so that it can be set on the
633 // call list when it gets the CommandException
644 log("Ringing call: " + mRingingCall.toString());
651 log("Foreground call: " + mForegroundCall.toString());
658 log("Background call: " + mBackgroundCall.toString());
704 loge("startDtmf : no foreground call");
716 loge("stopDtmf : no foreground call");
737 hangup (ImsPhoneCall call) throws CallStateException {
738 if (DBG) log("hangup call");
740 if (call.getConnections().size() == 0) {
744 ImsCall imsCall = call.getImsCall();
747 if (call == mRingingCall) {
750 } else if (call == mForegroundCall) {
751 if (call.isDialingOrAlerting()) {
759 //held call will be resumed by onCallTerminated
761 } else if (call == mBackgroundCall) {
766 throw new CallStateException ("ImsPhoneCall " + call +
770 call.onHangupLocal();
776 } else if (mPendingMO != null && call == mForegroundCall) {
777 // is holding a foreground call
807 //resume foreground call after holding background call
812 //accept waiting call after holding background call
816 //Just resume background call.
817 //To distinguish resuming call with swapping calls
973 * Listen to the IMS call state change
997 * case 2) Ringing call is disconnected by local or remote user
1004 // To initiate dialing circuit-switched call
1058 // Note: If we're performing a switchWaitingOrHoldingAndActive, the call to
1063 // Note: This case comes up when we have just held a call in response to a
1064 // switchWaitingOrHoldingAndActive. We now need to resume the background call.
1071 //when multiple connections belong to background call,
1078 // In this case there will be no call resumed, so we can assume that we
1080 // This may happen if there is no BG call and we are holding a call so that
1114 // If we are the in midst of swapping FG and BG calls and the call we end up resuming
1163 public void onCallMerged(ImsCall call, boolean swapCalls) {
1181 public void onCallMergeFailed(ImsCall call, ImsReasonInfo reasonInfo) {
1189 * @param call the call object that carries out the IMS call.
1193 public void onConferenceParticipantsStateChanged(ImsCall call,
1197 ImsPhoneConnection conn = findConnection(call);
1204 public void onCallSessionTtyModeReceived(ImsCall call, int mode) {
1210 * Listen to the IMS call state change
1251 public void onCallUssdMessageReceived(ImsCall call,
1339 private void transferHandoverConnections(ImsPhoneCall call) {
1340 if (call.mConnections != null) {
1341 for (Connection c : call.mConnections) {
1342 c.mPreHandoverState = call.mState;
1347 mHandoverCall.mConnections = call.mConnections;
1348 } else { // Multi-call SRVCC
1349 mHandoverCall.mConnections.addAll(call.mConnections);
1352 if (call.getImsCall() != null) {
1353 call.getImsCall().close();
1360 if (call.getState().isAlive()) {
1361 log ("Call is alive and state is " + call.mState);
1362 mHandoverCall.mState = call.mState;
1364 call.mConnections.clear();
1365 call.mState = ImsPhoneCall.State.IDLE;