Home
last modified time | relevance | path

Searched refs:existingCall (Results 1 – 5 of 5) sorted by relevance

/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java485 Call existingCall = makeCall(/* id */ 100, /* date */ 1122334455L, /* duration */ in testRestore_DeduplicationEnabled_BatchDisabled_DuplicateEntry_Deduplicates() local
487 backupAgent.writeCallToProvider(existingCall); in testRestore_DeduplicationEnabled_BatchDisabled_DuplicateEntry_Deduplicates()
512 assertCallCount(contentResolver, existingCall, 1); in testRestore_DeduplicationEnabled_BatchDisabled_DuplicateEntry_Deduplicates()
514 clearCallLogs(contentResolver, ImmutableList.of(existingCall, call)); in testRestore_DeduplicationEnabled_BatchDisabled_DuplicateEntry_Deduplicates()
535 Call existingCall = makeCall(/* id */ 100, /* date */ 1122334455L, /* duration */ in testRestore_DuplicateEntry_DeduplicationDisabled_AddsDuplicateEntry() local
537 backupAgent.writeCallToProvider(existingCall); in testRestore_DuplicateEntry_DeduplicationDisabled_AddsDuplicateEntry()
562 assertCallCount(contentResolver, existingCall, 1); in testRestore_DuplicateEntry_DeduplicationDisabled_AddsDuplicateEntry()
564 clearCallLogs(contentResolver, ImmutableList.of(existingCall, call)); in testRestore_DuplicateEntry_DeduplicationDisabled_AddsDuplicateEntry()
583 Call existingCall = makeCall(/* id */ 100, /* date */ 1122334455L, /* duration */ in testRestore_DifferentEntries_AddsEntries() local
585 backupAgent.writeCallToProvider(existingCall); in testRestore_DifferentEntries_AddsEntries()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailUpdateTask.java163 NewCall existingCall = queryHelper.getNewCallsQuery().queryUnreadVoicemail(Uri.parse(uri)); in getAndUpdateVoicemailsWithExistingNotification() local
164 if (existingCall != null) { in getAndUpdateVoicemailsWithExistingNotification()
165 result.add(existingCall); in getAndUpdateVoicemailsWithExistingNotification()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java1802 Call existingCall = addSpyCall(SIM_1_HANDLE, CallState.NEW); in testManagedIncomingCallPermitted() local
1803 when(existingCall.isSelfManaged()).thenReturn(false); in testManagedIncomingCallPermitted()
1805 when(existingCall.getState()).thenReturn(CallState.RINGING); in testManagedIncomingCallPermitted()
1808 when(existingCall.getState()).thenReturn(CallState.ON_HOLD); in testManagedIncomingCallPermitted()
1823 Call existingCall = addSpyCall(SELF_MANAGED_HANDLE, CallState.RINGING); in testSelfManagedIncomingCallPermitted() local
1824 when(existingCall.isSelfManaged()).thenReturn(true); in testSelfManagedIncomingCallPermitted()
1827 when(existingCall.getState()).thenReturn(CallState.ACTIVE); in testSelfManagedIncomingCallPermitted()
1849 Call existingCall = addSpyCall(SIM_1_HANDLE, CallState.NEW); in testManagedOutgoingCallPermitted() local
1850 when(existingCall.isSelfManaged()).thenReturn(false); in testManagedOutgoingCallPermitted()
1852 when(existingCall.getState()).thenReturn(CallState.CONNECTING); in testManagedOutgoingCallPermitted()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java1126 Call existingCall = mCallsManager in addExistingConnection() local
1128 mCallIdMapper.addCall(existingCall, callId); in addExistingConnection()
1129 existingCall.setConnectionService(ConnectionServiceWrapper.this); in addExistingConnection()
DCallsManager.java5928 Optional<Call> existingCall = mCalls.stream()
5933 if (existingCall.isPresent()) {
5935 originalConnectionId, existingCall.get().getId());
5936 return existingCall.get();