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.java304 Call ongoingCall = new Call( in testConstructPossiblePhoneAccountsMultiSimActive() local
320 ongoingCall.setState(CallState.ACTIVE, "just cuz"); in testConstructPossiblePhoneAccountsMultiSimActive()
321 mCallsManager.addCall(ongoingCall); in testConstructPossiblePhoneAccountsMultiSimActive()
558 Call ongoingCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local
559 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()
560 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()
561 when(mConnectionSvrFocusMgr.getCurrentFocusCall()).thenReturn(ongoingCall); in testUnholdCallWhenOngoingCallCanBeHeld()
570 verify(ongoingCall).hold(any()); in testUnholdCallWhenOngoingCallCanBeHeld()
581 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local
582 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()