/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallsManagerTest.java | 639 Call incomingCall = addSpyCall(CallState.RINGING); in testDuplicateAnswerCall() local 641 doReturn(CallState.ANSWERED).when(incomingCall).getState(); in testDuplicateAnswerCall() 643 }).when(incomingCall).answer(anyInt()); in testDuplicateAnswerCall() 644 mCallsManager.answerCall(incomingCall, VideoProfile.STATE_AUDIO_ONLY); in testDuplicateAnswerCall() 645 verifyFocusRequestAndExecuteCallback(incomingCall); in testDuplicateAnswerCall() 647 mCallsManager.answerCall(incomingCall, VideoProfile.STATE_AUDIO_ONLY); in testDuplicateAnswerCall() 648 verifyFocusRequestAndExecuteCallback(incomingCall); in testDuplicateAnswerCall() 650 verify(incomingCall, times(2)).answer(anyInt()); in testDuplicateAnswerCall() 663 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerCallWhenOngoingCallCanBeHeld() local 664 mCallsManager.answerCall(incomingCall, VideoProfile.STATE_AUDIO_ONLY); in testAnswerCallWhenOngoingCallCanBeHeld() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | IncomingCallNotifier.java | 147 Call incomingCall = incomingCallOp.orElse(null); in updateIncomingCall() local 148 if (incomingCall != null && mCallsManagerProxy != null && in updateIncomingCall() 153 incomingCall = null; in updateIncomingCall() 156 Log.i(this, "updateIncomingCall: foundIncomingcall = %s", incomingCall); in updateIncomingCall() 159 boolean hasIncomingCall = incomingCall != null; in updateIncomingCall() 160 if (incomingCall != mIncomingCall) { in updateIncomingCall() 162 mIncomingCall = incomingCall; in updateIncomingCall() 202 private Notification.Builder getNotificationBuilder(Call incomingCall, Call ongoingCall) { in getNotificationBuilder() argument 216 String nameOrNumber = getNotificationName(incomingCall); in getNotificationBuilder() 217 CharSequence viaApp = incomingCall.getTargetPhoneAccountLabel(); in getNotificationBuilder() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RingtoneFactory.java | 67 public Ringtone getRingtone(Call incomingCall, in getRingtone() argument 70 Context userContext = isWorkContact(incomingCall) ? in getRingtone() 73 Uri ringtoneUri = incomingCall.getRingtone(); in getRingtone() 106 public Ringtone getRingtone(Call incomingCall) { in getRingtone() argument 107 return getRingtone(incomingCall, null); in getRingtone() 153 private boolean isWorkContact(Call incomingCall) { in isWorkContact() argument 154 CallerInfo contactCallerInfo = incomingCall.getCallerInfo(); in isWorkContact()
|
D | TelecomBroadcastIntentProcessor.java | 179 Call incomingCall = mCallsManager.getIncomingCallNotifier().getIncomingCall(); in processIntent() local 180 if (incomingCall != null) { in processIntent() 181 mCallsManager.answerCall(incomingCall, incomingCall.getVideoState()); in processIntent() 191 Call incomingCall = mCallsManager.getIncomingCallNotifier().getIncomingCall(); in processIntent() local 192 if (incomingCall != null) { in processIntent() 193 mCallsManager.rejectCall(incomingCall, false /* isRejectWithMessage */, null); in processIntent()
|
D | AsyncRingtonePlayer.java | 80 public @NonNull CompletableFuture<Boolean> play(RingtoneFactory factory, Call incomingCall, in play() argument 88 args.arg2 = incomingCall; in play() 152 Call incomingCall = (Call) args.arg2; 171 if (Uri.EMPTY.equals(incomingCall.getRingtone())) { 185 mRingtone = factory.getRingtone(incomingCall, volumeShaperConfig); 187 Uri ringtoneUri = incomingCall.getRingtone();
|
D | CallsManager.java | 647 public void onSuccessfulIncomingCall(Call incomingCall) { in onSuccessfulIncomingCall() argument 650 incomingCall.getTargetPhoneAccount()); in onSuccessfulIncomingCall() 655 if (incomingCall.hasProperty(Connection.PROPERTY_EMERGENCY_CALLBACK_MODE) || in onSuccessfulIncomingCall() 656 incomingCall.isSelfManaged() || in onSuccessfulIncomingCall() 659 incomingCall.getId(), in onSuccessfulIncomingCall() 660 incomingCall.hasProperty(Connection.PROPERTY_EMERGENCY_CALLBACK_MODE), in onSuccessfulIncomingCall() 661 incomingCall.isSelfManaged(), in onSuccessfulIncomingCall() 663 onCallFilteringComplete(incomingCall, new Builder() in onSuccessfulIncomingCall() 669 incomingCall.setIsUsingCallFiltering(false); in onSuccessfulIncomingCall() 673 IncomingCallFilterGraph graph = setUpCallFilterGraph(incomingCall); in onSuccessfulIncomingCall() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | AnswerScreenPresenter.java | 98 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in onAnswer() local 103 if (incomingCall != null && inCallActivity != null) { in onAnswer() 104 answerPrecondition = inCallActivity.getSpeakEasyCallManager().onNewIncomingCall(incomingCall); in onAnswer() 173 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in onSpeakEasyCall() local 174 if (incomingCall == null) { in onSpeakEasyCall() 178 incomingCall.setIsSpeakEasyCall(true); in onSpeakEasyCall()
|
D | CallCardPresenter.java | 542 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in supports2ndCallOnHold() local 543 if (firstCall != null && incomingCall != null && firstCall != incomingCall) { in supports2ndCallOnHold() 544 return incomingCall.can(Details.CAPABILITY_HOLD); in supports2ndCallOnHold()
|
D | InCallPresenter.java | 1333 final DialerCall incomingCall = calls.getIncomingCall(); in handleCallKey() local 1334 LogUtil.v("InCallPresenter.handleCallKey", "incomingCall: " + incomingCall); in handleCallKey() 1337 if (incomingCall != null) { in handleCallKey() 1338 incomingCall.answer(VideoProfile.STATE_AUDIO_ONLY); in handleCallKey()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | CallList.java | 243 @NonNull Context context, @NonNull DialerCall firstCall, @NonNull DialerCall incomingCall) { in logSecondIncomingCall() argument 246 if (incomingCall.isVideoCall()) { in logSecondIncomingCall() 252 if (incomingCall.isVideoCall()) { in logSecondIncomingCall() 261 impression, incomingCall.getUniqueCallId(), incomingCall.getTimeAddedMs()); in logSecondIncomingCall()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallActivity.java | 111 private void updateIncomingCallVisibility(Call incomingCall) { in updateIncomingCallVisibility() argument 112 if (incomingCall == null) { in updateIncomingCallVisibility()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/ |
D | InCallViewModelTest.java | 135 Call incomingCall = mInCallViewModel.getIncomingCall().getValue(); in testGetIncomingCall() local 136 assertThat(incomingCall).isEqualTo(mMockRingingCall); in testGetIncomingCall()
|