Home
last modified time | relevance | path

Searched refs:getCurrentFocusCall (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFocusManagerTest.java175 assertEquals(mActiveCall, mFocusManagerUT.getCurrentFocusCall()); in testNonFocusConnectionServiceReleased()
192 assertNull(mFocusManagerUT.getCurrentFocusCall()); in testFocusConnectionServiceReleased()
212 assertNull(mFocusManagerUT.getCurrentFocusCall()); in testCallStateChangedAffectCallFocus()
222 assertEquals(newActivateCall, mFocusManagerUT.getCurrentFocusCall()); in testCallStateChangedAffectCallFocus()
236 assertEquals(mActiveCall, mFocusManagerUT.getCurrentFocusCall()); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
245 assertNull(mFocusManagerUT.getCurrentFocusCall()); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
253 assertEquals(mActiveCall, mFocusManagerUT.getCurrentFocusCall()); in testFocusCallIsNullWhenRemoveTheFocusCall()
260 assertNull(mFocusManagerUT.getCurrentFocusCall()); in testFocusCallIsNullWhenRemoveTheFocusCall()
277 assertNull(mFocusManagerUT.getCurrentFocusCall()); in testConnectionServiceFocusDeath()
319 assertEquals(mActiveCall, mFocusManagerUT.getCurrentFocusCall()); in testNonFocusableDoesntChangeFocus()
DCallsManagerTest.java508 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingCallCanBeHeld()
531 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
556 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
578 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
601 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testAnswerCallWhenOngoingCallCanBeHeld()
621 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testAnswerCallWhenOngoingHasSameConnectionService()
641 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testAnswerCallWhenOngoingHasDifferentConnectionService()
663 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
686 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testAnswerCallWhenMultipleHeldCallsExisted()
758 doReturn(ongoingCall).when(mConnectionSvrFocusMgr).getCurrentFocusCall(); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java1082 Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall(); in processIncomingCallIntent()
1955 Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall();
2153 Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall();
2387 Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall();
3730 Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall();
3836 Call activeCall = (Call) mConnectionSvrFocusMgr.getCurrentFocusCall();
DConnectionServiceFocusManager.java309 public @Nullable CallFocus getCurrentFocusCall() { in getCurrentFocusCall() method in ConnectionServiceFocusManager