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()1543 ImsCall activeCall = mForegroundCall.getImsCall(); in acceptCall() local1547 shouldDisconnectActiveCallOnAnswer(activeCall, ringingCall); in acceptCall()4421 private boolean shouldDisconnectActiveCallOnAnswer(ImsCall activeCall, in shouldDisconnectActiveCallOnAnswer() argument4424 if (activeCall == null || incomingCall == null) { in shouldDisconnectActiveCallOnAnswer()4432 boolean isActiveCallVideo = activeCall.isVideoCall() || in shouldDisconnectActiveCallOnAnswer()4433 (mTreatDowngradedVideoCallsAsVideoCalls && activeCall.wasVideoCall()); in shouldDisconnectActiveCallOnAnswer()4434 boolean isActiveCallOnWifi = activeCall.isWifiCall(); in shouldDisconnectActiveCallOnAnswer()