Searched refs:existingCall (Results 1 – 4 of 4) sorted by relevance
163 NewCall existingCall = queryHelper.getNewCallsQuery().queryUnreadVoicemail(Uri.parse(uri)); in getAndUpdateVoicemailsWithExistingNotification() local164 if (existingCall != null) { in getAndUpdateVoicemailsWithExistingNotification()165 result.add(existingCall); in getAndUpdateVoicemailsWithExistingNotification()
1795 Call existingCall = addSpyCall(SIM_1_HANDLE, CallState.NEW); in testManagedIncomingCallPermitted() local1796 when(existingCall.isSelfManaged()).thenReturn(false); in testManagedIncomingCallPermitted()1798 when(existingCall.getState()).thenReturn(CallState.RINGING); in testManagedIncomingCallPermitted()1801 when(existingCall.getState()).thenReturn(CallState.ON_HOLD); in testManagedIncomingCallPermitted()1816 Call existingCall = addSpyCall(SELF_MANAGED_HANDLE, CallState.RINGING); in testSelfManagedIncomingCallPermitted() local1817 when(existingCall.isSelfManaged()).thenReturn(true); in testSelfManagedIncomingCallPermitted()1820 when(existingCall.getState()).thenReturn(CallState.ACTIVE); in testSelfManagedIncomingCallPermitted()1842 Call existingCall = addSpyCall(SIM_1_HANDLE, CallState.NEW); in testManagedOutgoingCallPermitted() local1843 when(existingCall.isSelfManaged()).thenReturn(false); in testManagedOutgoingCallPermitted()1845 when(existingCall.getState()).thenReturn(CallState.CONNECTING); in testManagedOutgoingCallPermitted()[all …]
1122 Call existingCall = mCallsManager in addExistingConnection() local1124 mCallIdMapper.addCall(existingCall, callId); in addExistingConnection()1125 existingCall.setConnectionService(ConnectionServiceWrapper.this); in addExistingConnection()
5635 Optional<Call> existingCall = mCalls.stream()5640 if (existingCall.isPresent()) {5642 originalConnectionId, existingCall.get().getId());5643 return existingCall.get();