Home
last modified time | relevance | path

Searched refs:mCallsManagerProxy (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallNotifierTest.java52 @Mock private IncomingCallNotifier.CallsManagerProxy mCallsManagerProxy; field in IncomingCallNotifierTest
71 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 …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java55 IncomingCallNotifier make(Context context, CallsManagerProxy mCallsManagerProxy); in make() argument
87 private CallsManagerProxy mCallsManagerProxy; field in IncomingCallNotifier
99 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()