Home
last modified time | relevance | path

Searched refs:DialerCallState (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java45 import com.android.incallui.call.state.DialerCallState;
161 call.getState() == DialerCallState.INCOMING in onCallAdded()
162 || call.getState() == DialerCallState.CALL_WAITING; in onCallAdded()
209 if (call.getState() == DialerCallState.INCOMING in onCallAdded()
210 || call.getState() == DialerCallState.CALL_WAITING) { in onCallAdded()
234 if (call.getState() != DialerCallState.INCOMING) { in onCallAdded()
396 return getFirstCallWithState(DialerCallState.SELECT_PHONE_ACCOUNT); in getWaitingForAccountCall()
400 return getFirstCallWithState(DialerCallState.CONNECTING); in getPendingOutgoingCall()
404 DialerCall call = getFirstCallWithState(DialerCallState.DIALING); in getOutgoingCall()
406 call = getFirstCallWithState(DialerCallState.REDIALING); in getOutgoingCall()
[all …]
DDialerCall.java87 import com.android.incallui.call.state.DialerCallState;
160 private int state = DialerCallState.INVALID;
432 return DialerCallState.CONNECTING; in translateState()
434 return DialerCallState.SELECT_PHONE_ACCOUNT; in translateState()
436 return DialerCallState.DIALING; in translateState()
438 return DialerCallState.PULLING; in translateState()
440 return DialerCallState.INCOMING; in translateState()
442 return DialerCallState.ACTIVE; in translateState()
444 return DialerCallState.ONHOLD; in translateState()
446 return DialerCallState.DISCONNECTED; in translateState()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java43 import com.android.incallui.call.state.DialerCallState;
104 private int currentCallState = DialerCallState.INVALID;
169 boolean isCallActive = callState == DialerCallState.ACTIVE; in showIncomingVideo()
172 DialerCallState.isDialing(callState) || callState == DialerCallState.CONNECTING; in showIncomingVideo()
321 currentCallState = DialerCallState.INVALID; in onVideoCallScreenUiReady()
561 DialerCallState.INVALID, SessionModificationState.NO_REQUEST); in onFullscreenModeChanged()
660 currentCallState = DialerCallState.INVALID; in updateCallCache()
723 callState == DialerCallState.DIALING in updateFullscreenAndGreenScreenMode()
724 || callState == DialerCallState.CONNECTING in updateFullscreenAndGreenScreenMode()
725 || callState == DialerCallState.INCOMING in updateFullscreenAndGreenScreenMode()
[all …]
DVideoPauseController.java27 import com.android.incallui.call.state.DialerCallState;
46 private int prevCallState = DialerCallState.INVALID;
77 && (call.getState() == DialerCallState.CALL_WAITING in isIncomingCall()
78 || call.getState() == DialerCallState.INCOMING); in isIncomingCall()
87 return DialerCallState.isDialing(prevCallState); in wasDialing()
118 prevCallState = DialerCallState.INVALID; in clear()
240 prevCallState = DialerCallState.INVALID; in updatePrimaryCallContext()
325 return call != null && call.isVideoCall() && call.getState() == DialerCallState.ACTIVE; in videoCanPause()
DStatusBarNotifier.java90 import com.android.incallui.call.state.DialerCallState;
124 private int callState = DialerCallState.INVALID;
250 (call.getState() == DialerCallState.INCOMING in showNotification()
251 || call.getState() == DialerCallState.CALL_WAITING); in showNotification()
293 if (callState == DialerCallState.INCOMING in buildAndSendNotification()
294 || callState == DialerCallState.CALL_WAITING in buildAndSendNotification()
444 if (state == DialerCallState.ACTIVE in createIncomingCallNotification()
445 || state == DialerCallState.ONHOLD in createIncomingCallNotification()
446 || DialerCallState.isDialing(state)) { in createIncomingCallNotification()
449 } else if (state == DialerCallState.INCOMING || state == DialerCallState.CALL_WAITING) { in createIncomingCallNotification()
[all …]
DCallCardPresenter.java68 import com.android.incallui.call.state.DialerCallState;
171 startContactInfoSearch(call, true, call.getState() == DialerCallState.INCOMING); in onInCallScreenDelegateInit()
341 int callState = DialerCallState.IDLE; in onStateChange()
355 callState != DialerCallState.INCOMING /* animate */); in onStateChange()
515 if (primary.getState() == DialerCallState.ACTIVE) { in getSwapToSecondaryButtonState()
575 startContactInfoSearch(call, isPrimary, call.getState() == DialerCallState.INCOMING); in maybeStartSearch()
976 return DialerCallState.isDialing(primary.getState()) in hasOutgoingGatewayCall()
1039 return primary != null && primary.getState() == DialerCallState.ACTIVE; in isPrimaryCallActive()
1046 if ((!DialerCallState.isConnectingOrConnected(callState) in shouldShowEndCallButton()
1047 && callState != DialerCallState.DISCONNECTING in shouldShowEndCallButton()
[all …]
DCallButtonPresenter.java47 import com.android.incallui.call.state.DialerCallState;
460 final boolean isCallOnHold = call.getState() == DialerCallState.ONHOLD; in updateButtonsState()
482 && call.getState() != DialerCallState.DIALING in updateButtonsState()
483 && call.getState() != DialerCallState.CONNECTING; in updateButtonsState()
490 && DialerCallState.isDialing(call.getState()) in updateButtonsState()
495 boolean enableUpgradeToRtt = showUpgradeToRtt && call.getState() == DialerCallState.ACTIVE; in updateButtonsState()
DActiveCallsCallListListener.java25 import com.android.incallui.call.state.DialerCallState;
52 if (call.getState() != DialerCallState.DISCONNECTED && call.getAccountHandle() != null) { in onCallListChange()
DConferenceParticipantListAdapter.java42 import com.android.incallui.call.state.DialerCallState;
218 participantInfo.getCall().getState() == DialerCallState.INCOMING, in getView()
295 if (callState == DialerCallState.ONHOLD) { in setCallerInfoForRow()
DInCallPresenter.java69 import com.android.incallui.call.state.DialerCallState;
1376 if (heldCall.getState() == DialerCallState.ONHOLD && canHold) { in handleCallKey()
1448 if (call.getState() != DialerCallState.DISCONNECTED) { in showDialogOrToastForDisconnectedCall()
DInCallActivity.java84 import com.android.incallui.call.state.DialerCallState;
350 if (call != null && call.getState() == DialerCallState.ONHOLD) { in relaunchedFromDialer()
1405 if (didShowAnswerScreen && (call == null || call.getState() == DialerCallState.DISCONNECTED)) { in getShouldShowAnswerUi()
/packages/apps/Dialer/java/com/android/incallui/ringtone/
DDialerRingtoneManager.java25 import com.android.incallui.call.state.DialerCallState;
66 && translateCallStateForCallWaiting(callState) == DialerCallState.INCOMING in shouldPlayRingtone()
86 if (callState != DialerCallState.INCOMING) { in translateCallStateForCallWaiting()
90 ? DialerCallState.INCOMING in translateCallStateForCallWaiting()
91 : DialerCallState.CALL_WAITING; in translateCallStateForCallWaiting()
109 && translateCallStateForCallWaiting(callState) == DialerCallState.CALL_WAITING in shouldPlayCallWaitingTone()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java32 import com.android.incallui.call.state.DialerCallState;
76 if (state.state() == DialerCallState.INCOMING in getInfo()
77 || state.state() == DialerCallState.CALL_WAITING) { in getInfo()
97 } else if (state.state() == DialerCallState.PULLING) { in getInfo()
99 } else if (state.state() == DialerCallState.DIALING in getInfo()
100 || state.state() == DialerCallState.CONNECTING) { in getInfo()
104 } else if (state.state() == DialerCallState.ACTIVE && state.isRemotelyHeld()) { in getInfo()
106 } else if (state.state() == DialerCallState.ACTIVE in getInfo()
109 } else if (state.state() == DialerCallState.CALL_PENDING in getInfo()
DBottomRow.java22 import com.android.incallui.call.state.DialerCallState;
74 boolean isTimerVisible = state.state() == DialerCallState.ACTIVE; in getInfo()
86 } else if (state.state() == DialerCallState.DISCONNECTING) { in getInfo()
92 } else if (state.state() == DialerCallState.DISCONNECTED) { in getInfo()
128 return state.state() == DialerCallState.INCOMING in isIncoming()
129 || state.state() == DialerCallState.CALL_WAITING; in isIncoming()
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
DAnswerProximitySensor.java28 import com.android.incallui.call.state.DialerCallState;
50 if (call.getState() != DialerCallState.INCOMING) { in shouldUse()
134 if (call.getState() != DialerCallState.INCOMING) { in onDialerCallUpdate()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java28 import com.android.incallui.call.state.DialerCallState;
116 .setState(DialerCallState.IDLE) in builder()
201 Assert.checkArgument(primaryCallState.state() == DialerCallState.CALL_PENDING); in build()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java58 import com.android.incallui.call.state.DialerCallState;
459 if (!isTimerStarted && primaryCallState.state() == DialerCallState.ACTIVE) { in setCallState()
476 if (primaryCallState.state() == DialerCallState.DIALING) { in setCallState()
481 if (primaryCallState.state() == DialerCallState.DISCONNECTED) { in setCallState()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java78 import com.android.incallui.call.state.DialerCallState;
910 if (primaryCallState.state() == DialerCallState.INCOMING && !isVideoCall()) { in onAnswerProgressUpdate()
1138 && !(primaryCallState.state() == DialerCallState.DISCONNECTED in canRejectCallWithSms()
1139 || primaryCallState.state() == DialerCallState.DISCONNECTING in canRejectCallWithSms()
1140 || primaryCallState.state() == DialerCallState.IDLE); in canRejectCallWithSms()
/packages/apps/Dialer/java/com/android/incallui/callpending/
DCallPendingActivity.java34 import com.android.incallui.call.state.DialerCallState;
151 .setState(DialerCallState.CALL_PENDING) in setupInCallScreen()
/packages/apps/Dialer/java/com/android/incallui/call/state/
DDialerCallState.java20 public class DialerCallState { class