Home
last modified time | relevance | path

Searched refs:newCall (Results 1 – 13 of 13) 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.java1343 Call newCall = addSpyCall(VOIP_1_HANDLE, CallState.ACTIVE); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local
1344 doReturn(true).when(newCall).isSelfManaged(); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
1347 mCallsManager.markCallAsActive(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
1351 verifyFocusRequestAndExecuteCallback(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
1354 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
1367 Call newCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService() local
1368 doReturn(true).when(newCall).isSelfManaged(); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
1371 mCallsManager.markCallAsActive(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
1375 verifyFocusRequestAndExecuteCallback(newCall); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
1378 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
[all …]
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHfpClientDeviceBlock.java240 private boolean isDisconnectingToActive(HfpClientConnection prevConn, HfpClientCall newCall) { in isDisconnectingToActive() argument
241 debug("prevConn " + prevConn.isClosing() + " new call " + newCall.getState()); in isDisconnectingToActive()
243 && prevConn.getCall().getState() != newCall.getState() in isDisconnectingToActive()
244 && newCall.getState() != HfpClientCall.CALL_STATE_TERMINATED) { in isDisconnectingToActive()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallIdMapper.java96 void replaceCall(Call newCall, Call callToReplace) { in replaceCall() argument
99 mCalls.put(callId, newCall); in replaceCall()
DCallsManager.java3893 public void transactionHoldPotentialActiveCallForNewCall(Call newCall,
3897 Log.i(this, mTag + "newCall=[%s], activeCall=[%s]", newCall, activeCall);
3899 if (activeCall == null || activeCall == newCall) {
3909 if (isCallControlRequest && !canHoldOrSwapActiveCall(activeCall, newCall)) {
3917 if (holdActiveCallForNewCall(newCall)) {
3938 !(supportsHold(activeCall) && areFromSameSource(activeCall, newCall))) {
3947 if (!holdActiveCallForNewCall(newCall)) {
3961 private boolean canHoldOrSwapActiveCall(Call activeCall, Call newCall) {
3962 return canHold(activeCall) || sameSourceHoldCase(activeCall, newCall);
DConnectionServiceWrapper.java2269 void replaceCall(Call newCall, Call callToReplace) { in replaceCall() argument
2271 mCallIdMapper.replaceCall(newCall, callToReplace); in replaceCall()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionTest.java223 HfpClientCall newCall = in updateCall() local
232 mHfpClientConnection.updateCall(newCall); in updateCall()
234 assertThat(mHfpClientConnection.getCall()).isEqualTo(newCall); in updateCall()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DApiKeyClientInterceptor.java52 channel.newCall(method, options)) { in interceptCall()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionClientFactory.java166 ClientCall<ReqT, RespT> call = next.newCall(method, callOptions); in interceptCall()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java595 BluetoothCall newCall = createForegroundCall(UUID.randomUUID()); in testNewCallClccResponse() local
596 calls.add(newCall); in testNewCallClccResponse()
597 mBluetoothInCallService.onCallAdded(newCall); in testNewCallClccResponse()
599 when(newCall.getState()).thenReturn(Call.STATE_NEW); in testNewCallClccResponse()
600 when(newCall.isConference()).thenReturn(false); in testNewCallClccResponse()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/grpc/impl/
DDeviceCheckinClientImplTest.java129 return next.newCall(method, callOptions); in setUp()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...