/packages/apps/Dialer/java/com/android/incallui/call/ |
D | CallList.java | 74 private final Map<String, DialerCall> callById = new ArrayMap<>(); 75 private final Map<android.telecom.Call, DialerCall> callByTelecomCall = new ArrayMap<>(); 84 private final Set<DialerCall> pendingDisconnectCalls = 85 Collections.newSetFromMap(new ConcurrentHashMap<DialerCall, Boolean>(8, 0.9f, 1)); 96 finishDisconnectedCall((DialerCall) msg.obj); 137 final DialerCall call = in onCallAdded() 138 new DialerCall(context, this, telecomCall, latencyReport, true /* registerCallback */); in onCallAdded() 243 @NonNull Context context, @NonNull DialerCall firstCall, @NonNull DialerCall incomingCall) { in logSecondIncomingCall() 265 public DialerCall getDialerCallFromTelecomCall(Call telecomCall) { in getDialerCallFromTelecomCall() 271 DialerCall call = callByTelecomCall.get(telecomCall); in onCallRemoved() [all …]
|
D | InCallVideoCallCallbackNotifier.java | 75 public void peerDimensionsChanged(DialerCall call, int width, int height) { in peerDimensionsChanged() 88 public void cameraDimensionsChanged(DialerCall call, int width, int height) { in cameraDimensionsChanged() 105 void onUpdatePeerDimensions(DialerCall call, int width, int height); in onUpdatePeerDimensions() 114 void onCameraDimensionsChange(DialerCall call, int width, int height); in onCameraDimensionsChange()
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamCallListListener.java | 53 import com.android.incallui.call.DialerCall; 54 import com.android.incallui.call.DialerCall.CallHistoryStatus; 127 ? DialerCall.CALL_HISTORY_STATUS_PRESENT in doInBackground() 128 : DialerCall.CALL_HISTORY_STATUS_NOT_PRESENT; in doInBackground() 131 return DialerCall.CALL_HISTORY_STATUS_UNKNOWN; in doInBackground() 137 public void onIncomingCall(final DialerCall call) { in onIncomingCall() 160 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 163 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 169 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 172 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | VideoCallPresenter.java | 39 import com.android.incallui.call.DialerCall; 40 import com.android.incallui.call.DialerCall.CameraDirection; 95 private DialerCall primaryCall; 197 private static void updateCameraSelection(DialerCall call) { in updateCameraSelection() 201 final DialerCall activeCall = CallList.getInstance().getActiveCall(); in updateCameraSelection() 275 private static boolean isCameraDirectionSet(DialerCall call) { in isCameraDirectionSet() 279 private static String toSimpleString(DialerCall call) { in toSimpleString() 331 boolean updated = DialerCall.UNKNOWN_PEER_DIMENSIONS != width in onVideoCallScreenUiReady() 332 && DialerCall.UNKNOWN_PEER_DIMENSIONS != height; in onVideoCallScreenUiReady() 461 InCallPresenter.InCallState oldState, InCallPresenter.InCallState newState, DialerCall call) { in onIncomingCall() [all …]
|
D | AudioRouteSelectorActivity.java | 31 import com.android.incallui.call.DialerCall; 65 DialerCall call = getCall(); in onAudioRouteSelected() 103 private DialerCall getCall() { in getCall() 104 DialerCall dialerCall = CallList.getInstance().getOutgoingCall(); in getCall() 112 public void onDisconnect(DialerCall call) { in onDisconnect() 119 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 122 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 125 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 131 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 134 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() [all …]
|
D | ActiveCallsCallListListener.java | 24 import com.android.incallui.call.DialerCall; 40 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 43 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 46 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 51 for (DialerCall call : callList.getAllCalls()) { in onCallListChange() 63 public void onDisconnect(DialerCall call) {} in onDisconnect() 66 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 69 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() 72 public void onInternationalCallOnWifi(@NonNull DialerCall call) {} in onInternationalCallOnWifi()
|
D | AnswerScreenPresenter.java | 36 import com.android.incallui.call.DialerCall; 45 implements AnswerScreenDelegate, DialerCall.CannedTextResponsesLoadedListener { 50 @NonNull private final DialerCall call; 54 @NonNull Context context, @NonNull AnswerScreen answerScreen, @NonNull DialerCall call) { in AnswerScreenPresenter() 98 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in onAnswer() 173 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in onSpeakEasyCall() 184 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseCall() 198 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonDisabled() 206 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonEnabled() 213 public void onCannedTextResponsesLoaded(DialerCall call) { in onCannedTextResponsesLoaded() [all …]
|
D | PostCharDialogActivity.java | 24 import com.android.incallui.call.DialerCall; 71 public void onDisconnect(DialerCall call) { in onDisconnect() 78 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 81 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 84 public void onUpgradeToRtt(DialerCall call, int rttRequestId) {} in onUpgradeToRtt() 87 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 93 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 96 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() 99 public void onInternationalCallOnWifi(@NonNull DialerCall call) {} in onInternationalCallOnWifi()
|
D | ReturnToCallController.java | 47 import com.android.incallui.call.DialerCall; 180 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 183 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 186 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 221 public void onDisconnect(DialerCall call) { in onDisconnect() 243 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 246 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() 249 public void onInternationalCallOnWifi(@NonNull DialerCall call) {} in onInternationalCallOnWifi() 265 DialerCall dialerCall = getCall(); in startContactInfoSearch() 272 private DialerCall getCall() { in getCall() [all …]
|
D | VideoPauseController.java | 26 import com.android.incallui.call.DialerCall; 39 private DialerCall primaryCall = null; 75 private static boolean isIncomingCall(DialerCall call) { in isIncomingCall() 133 DialerCall call; in onStateChange() 183 private void onPrimaryCallChanged(DialerCall call) { in onPrimaryCallChanged() 217 public void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call) { in onIncomingCall() 237 private void updatePrimaryCallContext(DialerCall call) { in updatePrimaryCallContext() 312 private void sendRequest(DialerCall call, boolean resume) { in sendRequest() 324 private static boolean videoCanPause(DialerCall call) { in videoCanPause()
|
D | CallCardPresenter.java | 66 import com.android.incallui.call.DialerCall; 119 private DialerCall primary; 121 private DialerCall secondary; 152 private static boolean hasCallSubject(DialerCall call) { in hasCallSubject() 162 DialerCall call = CallList.getInstance().getFirstCall(); in onInCallScreenDelegateInit() 243 public void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call) { in onIncomingCall() 257 DialerCall primary = null; in onStateChange() 258 DialerCall secondary = null; in onStateChange() 288 !(DialerCall.areSame(this.primary, primary) in onStateChange() 291 !(DialerCall.areSame(this.secondary, secondary) in onStateChange() [all …]
|
D | ConferenceManagerPresenter.java | 27 import com.android.incallui.call.DialerCall; 57 final DialerCall call = callList.getActiveOrBackgroundCall(); in onStateChange() 72 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged() 91 public void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call) { in onIncomingCall() 110 final DialerCall currentCall = callList.getActiveOrBackgroundCall(); in update() 115 ArrayList<DialerCall> calls = new ArrayList<>(currentCall.getChildCallIds().size()); in update() 135 void update(List<DialerCall> participants, boolean parentCanSeparate); in update() 137 void refreshCall(DialerCall call); in refreshCall()
|
D | ConferenceParticipantListAdapter.java | 41 import com.android.incallui.call.DialerCall; 67 DialerCall call = getCallFromView(view); 80 DialerCall call = getCallFromView(view); 113 List<DialerCall> conferenceParticipants, boolean parentCanSeparate) { in updateParticipants() 155 public void refreshCall(DialerCall call) { in refreshCall() 208 DialerCall call = participantInfo.getCall(); in getView() 381 private void updateParticipantInfo(List<DialerCall> conferenceParticipants) { in updateParticipantInfo() 387 for (DialerCall call : conferenceParticipants) { in updateParticipantInfo() 453 private DialerCall getCallFromView(View view) { in getCallFromView() 513 private DialerCall call; [all …]
|
D | InCallPresenter.java | 66 import com.android.incallui.call.DialerCall; 152 final DialerCall call = callList.getDialerCallFromTelecomCall(telecomCall); 165 final DialerCall call = callList.getDialerCallFromTelecomCall(telecomCall); 306 public static boolean isCallWithNoValidAccounts(DialerCall call) { in isCallWithNoValidAccounts() 425 DialerCall dialerCall = callList.getPendingOutgoingCall(); in shouldStartInBubbleMode() 774 public void onWiFiToLteHandover(DialerCall call) { in onWiFiToLteHandover() 785 public void onHandoverToWifiFailed(DialerCall call) { in onHandoverToWifiFailed() 795 public void onInternationalCallOnWifi(@NonNull DialerCall call) { in onInternationalCallOnWifi() 848 DialerCall waitingForAccountCall; in onCallListChange() 869 DialerCall primary = null; in onCallListChange() [all …]
|
D | NotificationBroadcastReceiver.java | 32 import com.android.incallui.call.DialerCall; 116 DialerCall call = callList.getVideoUpgradeRequestCall(); in acceptUpgradeRequest() 129 DialerCall call = callList.getVideoUpgradeRequestCall(); in declineUpgradeRequest() 142 DialerCall call = callList.getOutgoingCall(); in hangUpOngoingCall() 160 DialerCall call = callList.getIncomingCall(); in markIncomingCallAsSpeakeasyCall() 173 DialerCall call = callList.getIncomingCall(); in answerIncomingCall() 206 private void answerIncomingCallCallback(@NonNull DialerCall call, int videoState) { in answerIncomingCallCallback() 217 DialerCall call = callList.getIncomingCall(); in declineIncomingCall()
|
D | InCallActivity.java | 82 import com.android.incallui.call.DialerCall; 312 DialerCall outgoingCall = CallList.getInstance().getOutgoingCall(); in internalResolveIntent() 349 DialerCall call = CallList.getInstance().getActiveOrBackgroundCall(); in relaunchedFromDialer() 362 DialerCall waitingForAccountCall = CallList.getInstance().getWaitingForAccountCall(); in showPhoneAccountSelectionDialog() 538 DialerCall waitingForAccountCall = CallList.getInstance().getWaitingForAccountCall(); in onStop() 875 public void onForegroundCallChanged(DialerCall newForegroundCall) { in onForegroundCallChanged() 1091 DialerCall call = CallList.getInstance().getCallById(answerScreen.getCallId()); in newAnswerScreenDelegate() 1121 DialerCall dialerCall = CallList.getInstance().getCallById(videoCallScreen.getCallId()); in newVideoCallScreenDelegate() 1134 public void showDialogOrToastForWifiHandoverFailure(DialerCall call) { in showDialogOrToastForWifiHandoverFailure() 1172 public void showDialogForInternationalCallOnWifi(@NonNull DialerCall call) { in showDialogForInternationalCallOnWifi() [all …]
|
D | StatusBarNotifier.java | 87 import com.android.incallui.call.DialerCall; 237 final DialerCall call = getCallToShow(CallList.getInstance()); in updateInCallNotification() 247 private void showNotification(final DialerCall call) { in showNotification() 266 CallList callList, DialerCall originalCall, ContactCacheEntry contactInfo) { in buildAndSendNotification() 271 final DialerCall call = getCallToShow(callList); in buildAndSendNotification() 440 DialerCall call, int state, CallAudioState callAudioState, Notification.Builder builder) { in createIncomingCallNotification() 465 private void setNotificationWhen(DialerCall call, int state, Notification.Builder builder) { in setNotificationWhen() 558 String getContentTitle(ContactCacheEntry contactInfo, DialerCall call) { in getContentTitle() 578 Notification.Builder builder, ContactCacheEntry contactInfo, DialerCall call) { in addPersonReference() 591 Context context, ContactCacheEntry contactInfo, DialerCall call) { in getLargeIconToDisplay() [all …]
|
D | ReturnToCallActionReceiver.java | 29 import com.android.incallui.call.DialerCall; 66 DialerCall call = getCall(); in returnToCall() 89 DialerCall call = getCall(); in toggleSpeaker() 117 DialerCall call = getCall(); in toggleMute() 130 DialerCall call = getCall(); in endCall() 142 private DialerCall getCall() { in getCall() 145 DialerCall call = callList.getOutgoingCall(); in getCall()
|
D | RttCallPresenter.java | 30 import com.android.incallui.call.DialerCall; 66 DialerCall call = CallList.getInstance().getCallById(rttCallScreen.getCallId()); in onRttCallScreenUiReady() 75 DialerCall call = CallList.getInstance().getCallById(rttCallScreen.getCallId()); in onSaveRttTranscript() 89 private void saveTranscript(DialerCall dialerCall) { in saveTranscript() 111 DialerCall call = CallList.getInstance().getCallById(rttCallScreen.getCallId()); in startListenOnRemoteMessage()
|
D | CallButtonPresenter.java | 43 import com.android.incallui.call.DialerCall; 44 import com.android.incallui.call.DialerCall.CameraDirection; 67 private DialerCall call; 156 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged() 164 public void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call) { in onIncomingCall() 418 private void updateUi(InCallState state, DialerCall call) { in updateUi() 447 private void updateButtonsState(DialerCall call) { in updateButtonsState() 522 private boolean hasVideoCallCapabilities(DialerCall call) { in hasVideoCallCapabilities() 534 private boolean isDowngradeToAudioSupported(DialerCall call) { in isDowngradeToAudioSupported()
|
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/ |
D | InternationalCallOnWifiDialogActivity.java | 25 import com.android.incallui.call.DialerCall; 72 public void onDisconnect(DialerCall call) { in onDisconnect() 79 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 82 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 85 public void onUpgradeToRtt(DialerCall call, int rttRequestId) {} in onUpgradeToRtt() 88 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 94 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 97 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() 100 public void onInternationalCallOnWifi(@NonNull DialerCall call) {} in onInternationalCallOnWifi()
|
/packages/apps/Dialer/java/com/android/incallui/multisim/ |
D | SwapSimWorker.java | 37 import com.android.incallui.call.DialerCall; 53 private final DialerCall call; 70 DialerCall call, in SwapSimWorker() 80 DialerCall call, in SwapSimWorker() 188 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 191 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 194 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 197 public void onDisconnect(DialerCall call) {} in onDisconnect() 200 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 203 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/feedback/stub/ |
D | CallFeedbackListenerStub.java | 24 import com.android.incallui.call.DialerCall; 40 public void onIncomingCall(DialerCall call) {} in onIncomingCall() 43 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() 46 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() 52 public void onDisconnect(DialerCall call) {} in onDisconnect() 55 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 58 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() 61 public void onInternationalCallOnWifi(@NonNull DialerCall call) {} in onInternationalCallOnWifi()
|
/packages/apps/Dialer/java/com/android/incallui/speakeasy/ |
D | SpeakEasyCallManager.java | 22 import com.android.incallui.call.DialerCall; 34 Optional<Fragment> getSpeakEasyFragment(@NonNull DialerCall call); in getSpeakEasyFragment() 41 void onCallRemoved(@NonNull DialerCall call); in onCallRemoved() 48 ListenableFuture<Void> onNewIncomingCall(@NonNull DialerCall call); in onNewIncomingCall()
|
D | SpeakEasyCallManagerStub.java | 23 import com.android.incallui.call.DialerCall; 38 public Optional<Fragment> getSpeakEasyFragment(DialerCall call) { in getSpeakEasyFragment() 44 public void onCallRemoved(DialerCall call) {} in onCallRemoved() 47 public ListenableFuture<Void> onNewIncomingCall(@NonNull DialerCall call) { in onNewIncomingCall()
|