Searched refs:activeCall (Results 1 – 1 of 1) sorted by relevance
212 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall() local213 if (activeCall != null && imsCall != null) { in onIncomingCall()218 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); in onIncomingCall()1563 ImsCall activeCall = mForegroundCall.getImsCall(); in acceptCall() local1567 shouldDisconnectActiveCallOnAnswer(activeCall, ringingCall); in acceptCall()4433 private boolean shouldDisconnectActiveCallOnAnswer(ImsCall activeCall, in shouldDisconnectActiveCallOnAnswer() argument4436 if (activeCall == null || incomingCall == null) { in shouldDisconnectActiveCallOnAnswer()4444 boolean isActiveCallVideo = activeCall.isVideoCall() || in shouldDisconnectActiveCallOnAnswer()4445 (mTreatDowngradedVideoCallsAsVideoCalls && activeCall.wasVideoCall()); in shouldDisconnectActiveCallOnAnswer()4446 boolean isActiveCallOnWifi = activeCall.isWifiCall(); in shouldDisconnectActiveCallOnAnswer()