Searched refs:ongoingCall (Results 1 – 2 of 2) sorted by relevance
304 Call ongoingCall = new Call( in testConstructPossiblePhoneAccountsMultiSimActive() local320 ongoingCall.setState(CallState.ACTIVE, "just cuz"); in testConstructPossiblePhoneAccountsMultiSimActive()321 mCallsManager.addCall(ongoingCall); in testConstructPossiblePhoneAccountsMultiSimActive()558 Call ongoingCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local559 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()560 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()561 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingCallCanBeHeld()570 verify(ongoingCall).hold(any()); in testUnholdCallWhenOngoingCallCanBeHeld()581 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local582 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()[all …]
202 private Notification.Builder getNotificationBuilder(Call incomingCall, Call ongoingCall) { in getNotificationBuilder() argument219 boolean isOngoingVideo = ongoingCall != null ? in getNotificationBuilder()220 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()221 int numOtherCalls = ongoingCall != null ? in getNotificationBuilder()237 if (ongoingCall != null && ongoingCall.isSelfManaged()) { in getNotificationBuilder()238 CharSequence ongoingApp = ongoingCall.getTargetPhoneAccountLabel(); in getNotificationBuilder()