Home
last modified time | relevance | path

Searched refs:callList (Results 1 – 25 of 32) 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);
332 return callList; in getCallList()
337 CallList callList, in setUp() argument
348 if (context != this.context || callList != this.callList) { in setUp()
374 this.callList = callList; in setUp()
384 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.java483 CallList callList) { in onStateChange() argument
513 primary = callList.getActiveCall(); in onStateChange()
514 currentCall = callList.getIncomingCall(); in onStateChange()
516 primary = callList.getIncomingCall(); in onStateChange()
519 currentCall = primary = callList.getOutgoingCall(); in onStateChange()
521 currentCall = primary = callList.getPendingOutgoingCall(); in onStateChange()
523 currentCall = primary = callList.getActiveCall(); in onStateChange()
1150 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
118 call = callList.getOutgoingCall(); in onStateChange()
120 call = callList.getActiveOrBackgroundCall(); in onStateChange()
135 call = callList.getIncomingCall(); in onStateChange()
DReturnToCallController.java189 public void onCallListChange(CallList callList) { in onCallListChange() argument
197 InCallPresenter.getInstance().getPotentialStateFromCallList(callList); in onCallListChange()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallViewModel.java124 public void setValue(List<Call> callList) { in InCallViewModel()
125 super.setValue(callList); in InCallViewModel()
126 List<Call> activeCallList = filter(callList, in InCallViewModel()
130 mIncomingCallLiveData.setValue(firstMatch(callList, in InCallViewModel()
151 callList -> (callList != null && callList.size() > 1) ? callList.get(1) : null); in InCallViewModel()
278 List<Call> callList = new ArrayList<>(); in updateCallList() local
279 callList.addAll(mInCallService.getCalls()); in updateCallList()
280 mCallListLiveData.setValue(callList); in updateCallList()
329 private static Call firstMatch(List<Call> callList, Predicate<Call> predicate) { in firstMatch() argument
330 List<Call> filteredResults = filter(callList, predicate); in firstMatch()
[all …]
DInCallActivity.java88 private void updateVisibility(Pair<List<Call>, Call> callList) { in updateVisibility() argument
89 if ((callList.first == null || callList.first.isEmpty()) && callList.second == null) { in updateVisibility()
95 updateIncomingCallVisibility(callList.second); in updateVisibility()
/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.java99 List<Call> callList = UiCallManager.get().getCallList(); in answerCall() local
100 for (Call call : callList) { in answerCall()
110 List<Call> callList = UiCallManager.get().getCallList(); in declineCall() local
111 for (Call call : callList) { in declineCall()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestInCallServiceImpl.java40 TestCallList callList = TestCallList.getInstance();
41 callList.addCall(call);
43 if (callList.size() == 1) {
DSelfManagedConnection.java66 SelfManagedConnection(SelfManagedCallList callList, Context context, boolean isIncoming) { in SelfManagedConnection() argument
67 mCallList = callList; in SelfManagedConnection()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallServiceImpl.java43 CarModeCallList callList = CarModeCallList.getInstance();
44 callList.addCall(call);
46 if (callList.size() == 1) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java398 private void maybeStartInCallActivity(List<Call> callList) { in maybeStartInCallActivity() argument
399 if (callList == null || callList.isEmpty()) { in maybeStartInCallActivity()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java547 protected Uri[] doInBackground(AddCallArgs... callList) { in doInBackground() argument
548 int count = callList.length; in doInBackground()
552 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