Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java138 Call incomingCall = incomingCallOp.orElse(null); in updateIncomingCall() local
139 if (incomingCall != null && mCallsManagerProxy != null && in updateIncomingCall()
144 incomingCall = null; in updateIncomingCall()
147 Log.i(this, "updateIncomingCall: foundIncomingcall = %s", incomingCall); in updateIncomingCall()
150 boolean hasIncomingCall = incomingCall != null; in updateIncomingCall()
151 if (incomingCall != mIncomingCall) { in updateIncomingCall()
153 mIncomingCall = incomingCall; in updateIncomingCall()
193 private Notification.Builder getNotificationBuilder(Call incomingCall, Call ongoingCall) { in getNotificationBuilder() argument
207 String nameOrNumber = getNotificationName(incomingCall); in getNotificationBuilder()
208 CharSequence viaApp = incomingCall.getTargetPhoneAccountLabel(); in getNotificationBuilder()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomBroadcastIntentProcessor.java121 Call incomingCall = mCallsManager.getIncomingCallNotifier().getIncomingCall(); in processIntent() local
122 if (incomingCall != null) { in processIntent()
123 mCallsManager.answerCall(incomingCall, incomingCall.getVideoState()); in processIntent()
133 Call incomingCall = mCallsManager.getIncomingCallNotifier().getIncomingCall(); in processIntent() local
134 if (incomingCall != null) { in processIntent()
135 mCallsManager.rejectCall(incomingCall, false /* isRejectWithMessage */, null); in processIntent()
DAsyncRingtonePlayer.java51 public void play(RingtoneFactory factory, Call incomingCall) { in play() argument
55 args.arg2 = incomingCall; in play()
118 Call incomingCall = (Call) args.arg2;
127 if(Uri.EMPTY.equals(incomingCall.getRingtone())) {
136 mRingtone = factory.getRingtone(incomingCall);
138 Uri ringtoneUri = incomingCall.getRingtone();
DCallsManager.java446 public void onSuccessfulIncomingCall(Call incomingCall) { in onSuccessfulIncomingCall() argument
448 if (incomingCall.hasProperty(Connection.PROPERTY_EMERGENCY_CALLBACK_MODE)) { in onSuccessfulIncomingCall()
450 onCallFilteringComplete(incomingCall, new CallFilteringResult(true, false, true, true)); in onSuccessfulIncomingCall()
459 new IncomingCallFilter(mContext, this, incomingCall, mLock, in onSuccessfulIncomingCall()
464 public void onCallFilteringComplete(Call incomingCall, CallFilteringResult result) { in onCallFilteringComplete() argument
468 if (incomingCall.getState() != CallState.DISCONNECTED && in onCallFilteringComplete()
469 incomingCall.getState() != CallState.DISCONNECTING) { in onCallFilteringComplete()
470 setCallState(incomingCall, CallState.RINGING, in onCallFilteringComplete()
478 if (hasMaximumManagedRingingCalls(incomingCall)) { in onCallFilteringComplete()
479 if (shouldSilenceInsteadOfReject(incomingCall)) { in onCallFilteringComplete()
[all …]
DRingtoneFactory.java55 public Ringtone getRingtone(Call incomingCall) { in getRingtone() argument
57 Context userContext = isWorkContact(incomingCall) ? in getRingtone()
60 Uri ringtoneUri = incomingCall.getRingtone(); in getRingtone()
132 private boolean isWorkContact(Call incomingCall) { in isWorkContact() argument
133 CallerInfo contactCallerInfo = incomingCall.getCallerInfo(); in isWorkContact()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java204 private void logSecondIncomingCall(@NonNull Context context, @NonNull DialerCall incomingCall) { in logSecondIncomingCall() argument
209 if (incomingCall.isVideoCall()) { in logSecondIncomingCall()
215 if (incomingCall.isVideoCall()) { in logSecondIncomingCall()
224 impression, incomingCall.getUniqueCallId(), incomingCall.getTimeAddedMs()); in logSecondIncomingCall()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java507 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in supports2ndCallOnHold() local
508 if (firstCall != null && incomingCall != null && firstCall != incomingCall) { in supports2ndCallOnHold()
509 return incomingCall.can(Details.CAPABILITY_HOLD); in supports2ndCallOnHold()
DInCallPresenter.java1122 final DialerCall incomingCall = calls.getIncomingCall(); in handleCallKey() local
1123 LogUtil.v("InCallPresenter.handleCallKey", "incomingCall: " + incomingCall); in handleCallKey()
1126 if (incomingCall != null) { in handleCallKey()
1127 incomingCall.answer(VideoProfile.STATE_AUDIO_ONLY); in handleCallKey()