Searched refs:mCallsManagerProxy (Results 1 – 2 of 2) sorted by relevance
52 @Mock private IncomingCallNotifier.CallsManagerProxy mCallsManagerProxy; field in IncomingCallNotifierTest71 mIncomingCallNotifier.setCallsManagerProxy(mCallsManagerProxy); in setUp()108 … when(mCallsManagerProxy.hasUnholdableCallsForOtherConnectionService(any())).thenReturn(false); in testIncomingDuringOngoingCall()120 … when(mCallsManagerProxy.hasUnholdableCallsForOtherConnectionService(any())).thenReturn(false); in testIncomingDuringOngoingCall2()121 … when(mCallsManagerProxy.getNumUnholdableCallsForOtherConnectionService(any())).thenReturn(0); in testIncomingDuringOngoingCall2()122 when(mCallsManagerProxy.getActiveCall()).thenReturn(mAudioCall); in testIncomingDuringOngoingCall2()136 … when(mCallsManagerProxy.hasUnholdableCallsForOtherConnectionService(any())).thenReturn(true); in testCallRemoved()137 … when(mCallsManagerProxy.getNumUnholdableCallsForOtherConnectionService(any())).thenReturn(1); in testCallRemoved()138 when(mCallsManagerProxy.getActiveCall()).thenReturn(mAudioCall); in testCallRemoved()155 … when(mCallsManagerProxy.hasUnholdableCallsForOtherConnectionService(any())).thenReturn(true); in testDontShowDuringHandover1()[all …]
55 IncomingCallNotifier make(Context context, CallsManagerProxy mCallsManagerProxy); in make() argument87 private CallsManagerProxy mCallsManagerProxy; field in IncomingCallNotifier99 mCallsManagerProxy = callsManagerProxy; in setCallsManagerProxy()148 if (incomingCall != null && mCallsManagerProxy != null && in updateIncomingCall()149 !mCallsManagerProxy.hasUnholdableCallsForOtherConnectionService( in updateIncomingCall()178 mCallsManagerProxy.getActiveCall()); in showIncomingCallNotification()222 mCallsManagerProxy.getNumUnholdableCallsForOtherConnectionService( in getNotificationBuilder()