Home
last modified time | relevance | path

Searched refs:newCall (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailUpdateTask.java99 for (NewCall newCall : voicemailsToNotify) { in updateNotification()
100 if (!contactInfos.containsKey(newCall.number)) { in updateNotification()
103 newCall.number, newCall.numberPresentation, newCall.countryIso); in updateNotification()
104 contactInfos.put(newCall.number, contactInfo); in updateNotification()
181 for (NewCall newCall : newCalls) { in filterBlockedNumbers()
182 if (queryHandler.getBlockedIdSynchronous(newCall.number, newCall.countryIso) != null) { in filterBlockedNumbers()
186 if (newCall.voicemailUri != null) { in filterBlockedNumbers()
188 CallLogAsyncTaskUtil.deleteVoicemailSynchronous(context, newCall.voicemailUri); in filterBlockedNumbers()
191 result.add(newCall); in filterBlockedNumbers()
205 for (NewCall newCall : newCalls) { in filterSpamNumbers()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java761 Call newCall = addSpyCall(VOIP_1_HANDLE); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local
762 doReturn(true).when(newCall).isSelfManaged(); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
765 mCallsManager.markCallAsActive(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
769 verifyFocusRequestAndExecuteCallback(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
772 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
785 Call newCall = addSpyCall(SIM_1_HANDLE); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService() local
786 doReturn(true).when(newCall).isSelfManaged(); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
789 mCallsManager.markCallAsActive(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
793 verifyFocusRequestAndExecuteCallback(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
796 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
[all …]
DBluetoothPhoneServiceTest.java458 Call newCall = createForegroundCall(); in testNewCallClccResponse() local
459 calls.add(newCall); in testNewCallClccResponse()
460 when(newCall.getState()).thenReturn(CallState.NEW); in testNewCallClccResponse()
461 when(newCall.isConference()).thenReturn(false); in testNewCallClccResponse()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailTranscriptionServiceGrpc.java222 … getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions()), request, responseObserver); in transcribeVoicemail()
234 …getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions()), request, responseObserv… in transcribeVoicemailAsync()
246 getChannel().newCall(METHOD_GET_TRANSCRIPT, getCallOptions()), request, responseObserver); in getTranscript()
258 …getChannel().newCall(METHOD_SEND_TRANSCRIPTION_FEEDBACK, getCallOptions()), request, responseObser… in sendTranscriptionFeedback()
356 getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions()), request); in transcribeVoicemail()
368 getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions()), request); in transcribeVoicemailAsync()
380 getChannel().newCall(METHOD_GET_TRANSCRIPT, getCallOptions()), request); in getTranscript()
392 getChannel().newCall(METHOD_SEND_TRANSCRIPTION_FEEDBACK, getCallOptions()), request); in sendTranscriptionFeedback()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java223 BluetoothHeadsetClientCall newCall) { in isDisconnectingToActive() argument
225 Log.d(mTAG, "prevConn " + prevConn.isClosing() + " new call " + newCall.getState()); in isDisconnectingToActive()
228 && newCall.getState() != BluetoothHeadsetClientCall.CALL_STATE_TERMINATED) { in isDisconnectingToActive()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallIdMapper.java91 void replaceCall(Call newCall, Call callToReplace) { in replaceCall() argument
94 mCalls.put(callId, newCall); in replaceCall()
DConnectionServiceWrapper.java1445 void replaceCall(Call newCall, Call callToReplace) { in replaceCall() argument
1447 mCallIdMapper.replaceCall(newCall, callToReplace); in replaceCall()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionClientFactory.java166 ClientCall<ReqT, RespT> call = next.newCall(method, callOptions); in interceptCall()