Home
last modified time | relevance | path

Searched refs:callList (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java143 private CallList callList; field in InCallPresenter
152 final DialerCall call = callList.getDialerCallFromTelecomCall(telecomCall);
165 final DialerCall call = callList.getDialerCallFromTelecomCall(telecomCall);
178 callList.onInternalCallMadeExternal(context, telecomCall);
250 callList.onCallAdded(context, call, latencyReport);
329 return callList; in getCallList()
334 CallList callList, in setUp() argument
345 if (context != this.context || callList != this.callList) { in setUp()
371 this.callList = callList; in setUp()
381 this.callList.addListener(this); in setUp()
[all …]
DNotificationBroadcastReceiver.java111 CallList callList = InCallPresenter.getInstance().getCallList(); in acceptUpgradeRequest() local
112 if (callList == null) { in acceptUpgradeRequest()
116 DialerCall call = callList.getVideoUpgradeRequestCall(); in acceptUpgradeRequest()
124 CallList callList = InCallPresenter.getInstance().getCallList(); in declineUpgradeRequest() local
125 if (callList == null) { in declineUpgradeRequest()
129 DialerCall call = callList.getVideoUpgradeRequestCall(); in declineUpgradeRequest()
137 CallList callList = InCallPresenter.getInstance().getCallList(); in hangUpOngoingCall() local
138 if (callList == null) { in hangUpOngoingCall()
142 DialerCall call = callList.getOutgoingCall(); in hangUpOngoingCall()
144 call = callList.getActiveOrBackgroundCall(); in hangUpOngoingCall()
[all …]
DConferenceManagerPresenter.java53 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
57 final DialerCall call = callList.getActiveOrBackgroundCall(); in onStateChange()
61 update(callList); in onStateChange()
99 public void init(CallList callList) { in init() argument
100 update(callList); in init()
108 private void update(CallList callList) { in update() argument
110 final DialerCall currentCall = callList.getActiveOrBackgroundCall(); in update()
117 calls.add(callList.getCallById(callerId)); in update()
124 final boolean hasActiveCall = (callList.getActiveCall() != null); in update()
125 final boolean hasHoldingCall = (callList.getBackgroundCall() != null); in update()
DVideoPauseController.java132 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
135 call = callList.getIncomingCall(); in onStateChange()
137 call = callList.getWaitingForAccountCall(); in onStateChange()
139 call = callList.getPendingOutgoingCall(); in onStateChange()
141 call = callList.getOutgoingCall(); in onStateChange()
143 call = callList.getActiveCall(); in onStateChange()
DReturnToCallActionReceiver.java143 CallList callList = InCallPresenter.getInstance().getCallList(); in getCall() local
144 if (callList != null) { in getCall()
145 DialerCall call = callList.getOutgoingCall(); in getCall()
147 call = callList.getActiveOrBackgroundCall(); in getCall()
DStatusBarNotifier.java180 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
266 CallList callList, DialerCall originalCall, ContactCacheEntry contactInfo) { in buildAndSendNotification() argument
271 final DialerCall call = getCallToShow(callList); in buildAndSendNotification()
305 callList.getActiveOrBackgroundCall() != null in buildAndSendNotification()
831 private DialerCall getCallToShow(CallList callList) { in getCallToShow() argument
832 if (callList == null) { in getCallToShow()
835 DialerCall call = callList.getIncomingCall(); in getCallToShow()
837 call = callList.getOutgoingCall(); in getCallToShow()
840 call = callList.getVideoUpgradeRequestCall(); in getCallToShow()
843 call = callList.getActiveOrBackgroundCall(); in getCallToShow()
DVideoCallPresenter.java467 CallList callList) { in onStateChange() argument
497 primary = callList.getActiveCall(); in onStateChange()
498 currentCall = callList.getIncomingCall(); in onStateChange()
500 primary = callList.getIncomingCall(); in onStateChange()
503 currentCall = primary = callList.getOutgoingCall(); in onStateChange()
505 currentCall = primary = callList.getPendingOutgoingCall(); in onStateChange()
507 currentCall = primary = callList.getActiveCall(); in onStateChange()
1134 public void onCallListChange(CallList callList) {} in onCallListChange() argument
DProximitySensor.java104 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
108 boolean hasOngoingCall = InCallState.INCALL == newState && callList.hasLiveCall(); in onStateChange()
114 DialerCall activeCall = callList.getActiveCall(); in onStateChange()
DCallCardPresenter.java249 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
261 primary = callList.getIncomingCall(); in onStateChange()
263 primary = callList.getOutgoingCall(); in onStateChange()
265 primary = callList.getPendingOutgoingCall(); in onStateChange()
270 secondary = InCallPresenter.getCallToDisplay(callList, null, true); in onStateChange()
272 primary = InCallPresenter.getCallToDisplay(callList, null, false); in onStateChange()
273 secondary = InCallPresenter.getCallToDisplay(callList, primary, true); in onStateChange()
DActiveCallsCallListListener.java49 public void onCallListChange(CallList callList) { in onCallListChange() argument
51 for (DialerCall call : callList.getAllCalls()) { in onCallListChange()
DDialpadPresenter.java50 CallList callList) { in onStateChange() argument
51 call = callList.getOutgoingOrActive(); in onStateChange()
DCallButtonPresenter.java112 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
115 call = callList.getOutgoingCall(); in onStateChange()
117 call = callList.getActiveOrBackgroundCall(); in onStateChange()
132 call = callList.getIncomingCall(); in onStateChange()
DReturnToCallController.java189 public void onCallListChange(CallList callList) { in onCallListChange() argument
197 InCallPresenter.getInstance().getPotentialStateFromCallList(callList); in onCallListChange()
DMotorolaInCallUiNotifier.java60 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallViewModel.java109 callList -> firstMatch(callList, in InCallViewModel()
113 callList -> { in InCallViewModel()
114 List<Call> activeCallList = filter(callList, in InCallViewModel()
136 callList -> (callList != null && callList.size() > 1) ? callList.get(1) : null); in InCallViewModel()
229 List<Call> callList = new ArrayList<>(); in updateCallList() local
230 callList.addAll(mInCallService.getCalls()); in updateCallList()
231 mCallListLiveData.setValue(callList); in updateCallList()
276 private static Call firstMatch(List<Call> callList, Predicate<Call> predicate) { in firstMatch() argument
277 List<Call> filteredResults = filter(callList, predicate); in firstMatch()
281 private static List<Call> filter(List<Call> callList, Predicate<Call> predicate) { in filter() argument
[all …]
DInCallActivity.java76 private void maybeFinishActivity(Pair<List<Call>, Call> callList) { in maybeFinishActivity() argument
77 if ((callList.first == null || callList.first.isEmpty()) && callList.second == null) { in maybeFinishActivity()
/packages/apps/Dialer/java/com/android/incallui/multisim/
DSwapSimWorker.java54 private final CallList callList; field in SwapSimWorker
71 CallList callList, in SwapSimWorker() argument
74 this(context, call, callList, otherAccount, lock, DEFAULT_TIMEOUT_MILLIS); in SwapSimWorker()
81 CallList callList, in SwapSimWorker() argument
88 this.callList = callList; in SwapSimWorker()
119 callList.addListener(this); in doInBackground()
136 callList.removeListener(this); in doInBackground()
149 public void onCallListChange(CallList callList) { in onCallListChange() argument
150 if (callList.getOutgoingCall() != null) { in onCallListChange()
/packages/apps/Dialer/java/com/android/incallui/ringtone/
DDialerRingtoneManager.java40 private final CallList callList; field in DialerRingtoneManager
51 @NonNull InCallTonePlayer inCallTonePlayer, @NonNull CallList callList) { in DialerRingtoneManager() argument
53 this.callList = Objects.requireNonNull(callList); in DialerRingtoneManager()
89 return callList.getActiveCall() == null in translateCallStateForCallWaiting()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationService.java86 List<Call> callList = UiCallManager.get().getCallList(); in answerCall() local
87 for (Call call : callList) { in answerCall()
97 List<Call> callList = UiCallManager.get().getCallList(); in declineCall() local
98 for (Call call : callList) { in declineCall()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallServiceImpl.java44 TestCallList callList = TestCallList.getInstance();
45 callList.addCall(call);
47 if (callList.size() == 1) {
DSelfManagedConnection.java66 SelfManagedConnection(SelfManagedCallList callList, Context context, boolean isIncoming) { in SelfManagedConnection() argument
67 mCallList = callList; in SelfManagedConnection()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java406 private void maybeStartInCallActivity(List<Call> callList) { in maybeStartInCallActivity() argument
407 if (callList == null || callList.isEmpty()) { in maybeStartInCallActivity()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java528 protected Uri[] doInBackground(AddCallArgs... callList) { in doInBackground() argument
529 int count = callList.length; in doInBackground()
533 AddCallArgs c = callList[i]; in doInBackground()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java113 public static void setCallListInstance(CallList callList) { in setCallListInstance() argument
114 instance = callList; in setCallListInstance()
768 void onCallListChange(CallList callList); in onCallListChange() argument
/packages/apps/Dialer/java/com/android/dialer/feedback/stub/
DCallFeedbackListenerStub.java49 public void onCallListChange(CallList callList) {} in onCallListChange() argument

12