Searched refs:activeCall (Results 1 – 1 of 1) sorted by relevance
233 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall() local234 if (activeCall != null && imsCall != null) { in onIncomingCall()239 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); in onIncomingCall()1734 ImsCall activeCall = mForegroundCall.getImsCall(); in acceptCall() local1738 shouldDisconnectActiveCallOnAnswer(activeCall, ringingCall); in acceptCall()4706 private boolean shouldDisconnectActiveCallOnAnswer(ImsCall activeCall, in shouldDisconnectActiveCallOnAnswer() argument4709 if (activeCall == null || incomingCall == null) { in shouldDisconnectActiveCallOnAnswer()4717 boolean isActiveCallVideo = activeCall.isVideoCall() || in shouldDisconnectActiveCallOnAnswer()4718 (mTreatDowngradedVideoCallsAsVideoCalls && activeCall.wasVideoCall()); in shouldDisconnectActiveCallOnAnswer()4719 boolean isActiveCallOnWifi = activeCall.isWifiCall(); in shouldDisconnectActiveCallOnAnswer()