Searched refs:activeCall (Results 1 – 1 of 1) sorted by relevance
181 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall() local182 if (activeCall != null && imsCall != null) { in onIncomingCall()187 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); in onIncomingCall()1241 ImsCall activeCall = mForegroundCall.getImsCall(); in acceptCall() local1245 shouldDisconnectActiveCallOnAnswer(activeCall, ringingCall); in acceptCall()3470 private boolean shouldDisconnectActiveCallOnAnswer(ImsCall activeCall, in shouldDisconnectActiveCallOnAnswer() argument3473 if (activeCall == null || incomingCall == null) { in shouldDisconnectActiveCallOnAnswer()3481 boolean isActiveCallVideo = activeCall.isVideoCall() || in shouldDisconnectActiveCallOnAnswer()3482 (mTreatDowngradedVideoCallsAsVideoCalls && activeCall.wasVideoCall()); in shouldDisconnectActiveCallOnAnswer()3483 boolean isActiveCallOnWifi = activeCall.isWifiCall(); in shouldDisconnectActiveCallOnAnswer()