Searched refs:ongoingCall (Results 1 – 2 of 2) sorted by relevance
293 Call ongoingCall = new Call( in testConstructPossiblePhoneAccountsMultiSimActive() local309 ongoingCall.setState(CallState.ACTIVE, "just cuz"); in testConstructPossiblePhoneAccountsMultiSimActive()310 mCallsManager.addCall(ongoingCall); in testConstructPossiblePhoneAccountsMultiSimActive()547 Call ongoingCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local548 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()549 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()550 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingCallCanBeHeld()559 verify(ongoingCall).hold(any()); in testUnholdCallWhenOngoingCallCanBeHeld()570 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local571 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()