Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java293 Call ongoingCall = new Call( in testConstructPossiblePhoneAccountsMultiSimActive() local
309 ongoingCall.setState(CallState.ACTIVE, "just cuz"); in testConstructPossiblePhoneAccountsMultiSimActive()
310 mCallsManager.addCall(ongoingCall); in testConstructPossiblePhoneAccountsMultiSimActive()
547 Call ongoingCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local
548 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() local
571 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java202 private Notification.Builder getNotificationBuilder(Call incomingCall, Call ongoingCall) { in getNotificationBuilder() argument
219 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()