/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallList.java | 49 private final HashMap<String, Call> mCallById = new HashMap<>(); 50 private final HashMap<android.telecom.Call, Call> mCallByTelecommCall = new HashMap<>(); 73 public void onCallAdded(Phone phone, android.telecom.Call telecommCall) { 74 Call call = new Call(telecommCall); 75 if (call.getState() == Call.State.INCOMING) { 82 public void onCallRemoved(Phone phone, android.telecom.Call telecommCall) { 84 Call call = mCallByTelecommCall.get(telecommCall); 114 public void onDisconnect(Call call) { in onDisconnect() 127 public void onIncoming(Call call, List<String> textMessages) { in onIncoming() 141 public void onUpdate(Call call) { in onUpdate() [all …]
|
D | Call.java | 37 public final class Call { class 123 private static final String ID_PREFIX = Call.class.getSimpleName() + "_"; 126 private android.telecom.Call.Listener mTelecommCallListener = 127 new android.telecom.Call.Listener() { 129 public void onStateChanged(android.telecom.Call call, int newState) { 134 public void onParentChanged(android.telecom.Call call, 135 android.telecom.Call newParent) { 140 public void onChildrenChanged(android.telecom.Call call, 141 List<android.telecom.Call> children) { 146 public void onDetailsChanged(android.telecom.Call call, [all …]
|
D | CallCardPresenter.java | 62 private Call mPrimary; 63 private Call mSecondary; 106 public void init(Context context, Call call) { in init() 115 startContactInfoSearch(call, true, call.getState() == Call.State.INCOMING); in init() 154 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() 167 Call primary = null; in onStateChange() 168 Call secondary = null; in onStateChange() 189 final boolean primaryChanged = !Call.areSame(mPrimary, primary); in onStateChange() 190 final boolean secondaryChanged = !Call.areSame(mSecondary, secondary); in onStateChange() 202 mPrimary.getState() == Call.State.INCOMING); in onStateChange() [all …]
|
D | StatusBarNotifier.java | 98 private int mCallState = Call.State.INVALID; 178 Call call = getCallToShow(callList); in updateInCallNotification() 225 private void showNotification(final Call call) { in showNotification() 226 final boolean isIncoming = (call.getState() == Call.State.INCOMING || in showNotification() 227 call.getState() == Call.State.CALL_WAITING); in showNotification() 237 Call call = CallList.getInstance().getCallById(callId); in showNotification() 245 Call call = CallList.getInstance().getCallById(callId); in showNotification() 256 private void buildAndSendNotification(Call originalCall, ContactCacheEntry contactInfo) { in buildAndSendNotification() 261 final Call call = getCallToShow(CallList.getInstance()); in buildAndSendNotification() 288 if ((state == Call.State.INCOMING || state == Call.State.CALL_WAITING) && in buildAndSendNotification() [all …]
|
D | InCallPresenter.java | 107 public void onCallAdded(Phone phone, android.telecom.Call call) { 111 public void onCallRemoved(Phone phone, android.telecom.Call call) { 122 private final android.telecom.Call.Listener mCallListener = 123 new android.telecom.Call.Listener() { 125 public void onPostDialWait(android.telecom.Call call, String remainingPostDialSequence) { 132 public void onDetailsChanged(android.telecom.Call call, 133 android.telecom.Call.Details details) { 142 android.telecom.Call call, List<android.telecom.Call> conferenceableCalls) { 428 public void onIncomingCall(Call call) { in onIncomingCall() 445 public void onDisconnect(Call call) { in onDisconnect() [all …]
|
D | CallButtonPresenter.java | 44 private Call mCall; 115 public void onDetailsChanged(Call call, android.telecom.Call.Details details) { in onDetailsChanged() 122 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() 261 mCall.setSessionModificationState(Call.SessionModificationState.REQUEST_FAILED); in changeToVideoClicked() 313 private void updateUi(InCallState state, Call call) { in updateUi() 331 ui.enableMute(call.can(android.telecom.Call.Details.CAPABILITY_MUTE)); in updateUi() 340 private void updateCallButtons(Call call, Context context) { in updateCallButtons() 348 private void updateVideoCallButtons(Call call) { in updateVideoCallButtons() 367 final boolean supportHold = call.can(android.telecom.Call.Details.CAPABILITY_SUPPORT_HOLD); in updateVideoCallButtons() 368 final boolean enableHoldOption = call.can(android.telecom.Call.Details.CAPABILITY_HOLD); in updateVideoCallButtons() [all …]
|
D | VideoCallPresenter.java | 114 private Call mPrimaryCall; 283 InCallPresenter.InCallState newState, Call call) { in onIncomingCall() 307 Call primary = null; in onStateChange() 343 public void onDetailsChanged(Call call, android.telecom.Call.Details details) { in onDetailsChanged() 458 public void onPeerPauseStateChanged(Call call, boolean paused) { in onPeerPauseStateChanged() 474 public void onUpdatePeerDimensions(Call call, int width, int height) { in onUpdatePeerDimensions() 491 public void onCameraDimensionsChange(Call call, int width, int height) { in onCameraDimensionsChange() 529 public void onUpgradeToVideoRequest(Call call) { in onUpgradeToVideoRequest() 531 Call.SessionModificationState.RECEIVED_UPGRADE_TO_VIDEO_REQUEST); in onUpgradeToVideoRequest() 535 public void onUpgradeToVideoSuccess(Call call) { in onUpgradeToVideoSuccess() [all …]
|
D | InCallVideoCallListenerNotifier.java | 129 public void upgradeToVideoRequest(Call call) { in upgradeToVideoRequest() 140 public void upgradeToVideoSuccess(Call call) { in upgradeToVideoSuccess() 151 public void upgradeToVideoFail(Call call) { in upgradeToVideoFail() 162 public void downgradeToAudio(Call call) { in downgradeToAudio() 174 public void peerPausedStateChanged(Call call, boolean paused) { in peerPausedStateChanged() 187 public void peerDimensionsChanged(Call call, int width, int height) { in peerDimensionsChanged() 200 public void cameraDimensionsChanged(Call call, int width, int height) { in cameraDimensionsChanged() 216 public void onUpgradeToVideoRequest(Call call); in onUpgradeToVideoRequest() 224 public void onUpgradeToVideoSuccess(Call call); in onUpgradeToVideoSuccess() 233 public void onUpgradeToVideoFail(Call call); in onUpgradeToVideoFail() [all …]
|
D | ConferenceManagerPresenter.java | 62 final Call call = callList.getActiveOrBackgroundCall(); in onStateChange() 77 public void onDetailsChanged(Call call, android.telecom.Call.Details details) { in onDetailsChanged() 79 android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE); in onDetailsChanged() 81 android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE); in onDetailsChanged() 83 if (call.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE) in onDetailsChanged() 85 || call.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE) in onDetailsChanged() 91 android.telecom.Call.Details.CAPABILITY_MANAGE_CONFERENCE)) { in onDetailsChanged() 97 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() 118 final Call currentCall = callList.getActiveOrBackgroundCall(); in update() 123 ArrayList<Call> calls = new ArrayList<>(currentCall.getChildCallIds().size()); in update() [all …]
|
D | CallCardFragment.java | 152 final Call call = calls.getFirstCall(); in onActivityCreated() 509 if (state == Call.State.ACTIVE || state == Call.State.CONFERENCED) { in setCallState() 531 if (state == Call.State.ACTIVE || state == Call.State.CONFERENCED in setCallState() 554 || (state == Call.State.ACTIVE && sessionModificationState in setCallState() 555 == Call.SessionModificationState.WAITING_FOR_RESPONSE)) { in setCallState() 561 if (state == Call.State.INCOMING) { in setCallState() 664 case Call.State.IDLE: in getCallStateLabelFromState() 667 case Call.State.ACTIVE: in getCallStateLabelFromState() 673 == Call.SessionModificationState.REQUEST_FAILED) { in getCallStateLabelFromState() 676 == Call.SessionModificationState.WAITING_FOR_RESPONSE) { in getCallStateLabelFromState() [all …]
|
D | AnswerPresenter.java | 33 private Call mCall = null; 41 Call call; in onUiReady() 74 public void onDisconnect(Call call) { in onDisconnect() 79 public void onIncomingCall(Call call) { in onIncomingCall() 91 private void processIncomingCall(Call call) { in processIncomingCall() 104 private void processVideoUpgradeRequestCall(Call call) { in processVideoUpgradeRequestCall() 116 public void onCallChanged(Call call) { in onCallChanged() 118 if (call.getState() != Call.State.INCOMING) { in onCallChanged() 143 == Call.SessionModificationState.RECEIVED_UPGRADE_TO_VIDEO_REQUEST) { in onAnswer() 177 private void configureAnswerTargetsForSms(Call call, List<String> textMsgs) { in configureAnswerTargetsForSms() [all …]
|
D | ConferenceParticipantListAdapter.java | 56 private Call mCall; 60 public ParticipantInfo(Call call, ContactCacheEntry contactCacheEntry) { in ParticipantInfo() 65 public Call getCall() { in getCall() 69 public void setCall(Call call) { in setCall() 235 public void updateParticipants(List<Call> conferenceParticipants, boolean parentCanSeparate) { in updateParticipants() 278 public void refreshCall(Call call) { in refreshCall() 325 Call call = participantInfo.getCall(); in getView() 334 participantInfo.getCall().getState() == Call.State.INCOMING, in getView() 339 android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE); in getView() 341 android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE); in getView() [all …]
|
D | TelecomAdapter.java | 64 private android.telecom.Call getTelecommCallById(String callId) { in getTelecommCallById() 65 final Call call = CallList.getInstance().getCallById(callId); in getTelecommCallById() 71 final android.telecom.Call call = getTelecommCallById(callId); in answerCall() 84 final android.telecom.Call call = getTelecommCallById(callId); in rejectCall() 161 android.telecom.Call call = getTelecommCallById(callId); in merge() 162 List<android.telecom.Call> conferenceable = call.getConferenceableCalls(); in merge() 167 android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE)) { in merge() 178 android.telecom.Call call = getTelecommCallById(callId); in swap() 180 android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE)) { in swap()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 57 public final class CallsManager extends Call.ListenerBase { 61 void onCallAdded(Call call); in onCallAdded() 62 void onCallRemoved(Call call); in onCallRemoved() 63 void onCallStateChanged(Call call, int oldState, int newState); in onCallStateChanged() 65 Call call, in onConnectionServiceChanged() 68 void onIncomingCallAnswered(Call call); in onIncomingCallAnswered() 69 void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage); in onIncomingCallRejected() 70 void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall); in onForegroundCallChanged() 72 void onRingbackRequested(Call call, boolean ringback); in onRingbackRequested() 73 void onIsConferencedChanged(Call call); in onIsConferencedChanged() [all …]
|
D | Call.java | 63 final class Call implements CreateConnectionResponse { class 68 void onSuccessfulOutgoingCall(Call call, int callState); in onSuccessfulOutgoingCall() 69 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); in onFailedOutgoingCall() 70 void onSuccessfulIncomingCall(Call call); in onSuccessfulIncomingCall() 71 void onFailedIncomingCall(Call call); in onFailedIncomingCall() 72 void onSuccessfulUnknownCall(Call call, int callState); in onSuccessfulUnknownCall() 73 void onFailedUnknownCall(Call call); in onFailedUnknownCall() 74 void onRingbackRequested(Call call, boolean ringbackRequested); in onRingbackRequested() 75 void onPostDialWait(Call call, String remaining); in onPostDialWait() 76 void onPostDialChar(Call call, char nextChar); in onPostDialChar() [all …]
|
D | InCallController.java | 77 private final Call.Listener mCallListener = new Call.ListenerBase() { 79 public void onConnectionCapabilitiesChanged(Call call) { 84 public void onCannedSmsResponsesLoaded(Call call) { 89 public void onVideoCallProviderChanged(Call call) { 94 public void onStatusHintsChanged(Call call) { 99 public void onHandleChanged(Call call) { 104 public void onCallerDisplayNameChanged(Call call) { 109 public void onVideoStateChanged(Call call) { 114 public void onTargetPhoneAccountChanged(Call call) { 119 public void onConferenceableCallsChanged(Call call) { [all …]
|
D | BluetoothPhoneService.java | 108 private Call mOldHeldCall = null; 208 Call call = null; 322 public void onCallAdded(Call call) { 327 public void onCallRemoved(Call call) { 333 public void onCallStateChanged(Call call, int oldState, int newState) { 340 for (Call otherCall : CallsManager.getInstance().getCalls()) { 358 public void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall) { 364 public void onIsConferencedChanged(Call call) { 430 private Map<Call, Integer> mClccIndexMap = new HashMap<>(); 477 Call activeCall = callsManager.getActiveCall(); in processChld() [all …]
|
D | ConnectionServiceWrapper.java | 90 Call call; 174 Call childCall = mCallIdMapper.getCall(args.arg1); 182 Call conferenceCall = mCallIdMapper.getCall(conferenceCallId); 227 Call conferenceCall = mCallsManager.createConferenceCall( 235 Call childCall = mCallIdMapper.getCall(callId); 363 List<Call> conferenceableCalls = 366 Call otherCall = mCallIdMapper.getCall(otherId); 383 Call existingCall = mCallsManager.createCallForExistingConnection(callId, 626 private final Set<Call> mPendingConferenceCalls = Collections.newSetFromMap( 627 new ConcurrentHashMap<Call, Boolean>(8, 0.9f, 1)); [all …]
|
D | CallAudioManager.java | 65 public void onCallAdded(Call call) { in onCallAdded() 78 public void onCallRemoved(Call call) { in onCallRemoved() 91 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() 96 public void onIncomingCallAnswered(Call call) { in onIncomingCallAnswered() 112 public void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall) { in onForegroundCallChanged() 119 public void onIsVoipAudioModeChanged(Call call) { in onIsVoipAudioModeChanged() 140 Call call = getForegroundCall(); in onWiredHeadsetPluggedInChanged() 281 private void onCallUpdated(Call call) { in onCallUpdated() 361 Call foregroundCall = getForegroundCall(); in updateAudioStreamAndMode() 362 Call waitingForAccountSelectionCall = in updateAudioStreamAndMode() [all …]
|
D | CallsManagerListenerBase.java | 26 public void onCallAdded(Call call) { in onCallAdded() 30 public void onCallRemoved(Call call) { in onCallRemoved() 34 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() 39 Call call, in onConnectionServiceChanged() 45 public void onIncomingCallAnswered(Call call) { in onIncomingCallAnswered() 49 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { in onIncomingCallRejected() 53 public void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall) { in onForegroundCallChanged() 61 public void onRingbackRequested(Call call, boolean ringback) { in onRingbackRequested() 65 public void onIsConferencedChanged(Call call) { in onIsConferencedChanged() 69 public void onIsVoipAudioModeChanged(Call call) { in onIsVoipAudioModeChanged() [all …]
|
D | Ringer.java | 58 private final List<Call> mRingingCalls = new LinkedList<>(); 91 public void onCallAdded(final Call call) { in onCallAdded() 102 public void onCallRemoved(Call call) { in onCallRemoved() 107 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() 114 public void onIncomingCallAnswered(Call call) { in onIncomingCallAnswered() 119 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { in onIncomingCallRejected() 124 public void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall) { in onForegroundCallChanged() 140 private void onRespondedToIncomingCall(Call call) { in onRespondedToIncomingCall() 147 private Call getTopMostUnansweredCall() { in getTopMostUnansweredCall() 156 private void removeFromUnansweredCall(Call call) { in removeFromUnansweredCall() [all …]
|
D | RingbackPlayer.java | 38 private Call mCall; 52 public void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall) { in onForegroundCallChanged() 64 Call call, in onConnectionServiceChanged() 77 public void onRingbackRequested(Call call, boolean ignored) { in onRingbackRequested() 90 private void startRingbackForCall(Call call) { in startRingbackForCall() 118 private void stopRingbackForCall(Call call) { in stopRingbackForCall() 136 private boolean shouldStartRinging(Call call) { in shouldStartRinging()
|
D | CallIdMapper.java | 77 private final BiMap<String, Call> mCalls = new BiMap<>(); 86 void replaceCall(Call newCall, Call callToReplace) { in replaceCall() 94 void addCall(Call call, String id) { in addCall() 102 void addCall(Call call) { in addCall() 107 void removeCall(Call call) { in removeCall() 120 String getCallId(Call call) { in getCallId() 128 Call getCall(Object objId) { in getCall()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 49 import com.android.internal.telephony.Call; 133 private Call fgCall; 134 private Call ringing; 135 public FgRingCalls(Call fg, Call ring) { in FgRingCalls() 158 (frC.fgCall.getState() == Call.State.DISCONNECTING) && in handleMessage() 206 /* package */ static boolean answerCall(Call ringingCall) { in answerCall() 218 if (ringingCall.getState() == Call.State.WAITING) { in answerCall() 296 final Call ringing = cm.getFirstActiveRingingCall(); in hangupAllCalls() 297 final Call fg = cm.getActiveFgCall(); in hangupAllCalls() 298 final Call bg = cm.getFirstActiveBgCall(); in hangupAllCalls() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 28 import com.android.internal.telephony.Call; 184 private Call.State mOriginalConnectionState = Call.State.IDLE; 339 if (Call.State.ACTIVE == mOriginalConnectionState) { in performHold() 343 Call ringingCall = phone.getRingingCall(); in performHold() 355 if (ringingCall.getState() != Call.State.WAITING) { in performHold() 370 if (Call.State.HOLDING == mOriginalConnectionState) { in performUnhold() 517 Call call = getCall(); in hangup() 540 protected Call getCall() { in getCall() 548 Call call = getCall(); in getPhone() 590 Call ringingCall = getPhone().getRingingCall(); in isValidRingingCall() [all …]
|