• Home
  • Raw
  • Download

Lines Matching refs:InCallState

197   private InCallState inCallState = InCallState.NO_CALLS;
327 public InCallState getInCallState() { in getInCallState()
565 if (inCallState == InCallState.NO_CALLS) { in updateActivity()
837 InCallState newState = getPotentialStateFromCallList(callList); in onCallListChange()
838 InCallState oldState = inCallState; in onCallListChange()
849 if (newState == InCallState.INCOMING in onCallListChange()
870 if (newState == InCallState.INCOMING) { in onCallListChange()
872 } else if (newState == InCallState.PENDING_OUTGOING || newState == InCallState.OUTGOING) { in onCallListChange()
877 } else if (newState == InCallState.INCALL) { in onCallListChange()
953 InCallState newState = startOrFinishUi(InCallState.INCOMING); in onIncomingCall()
954 InCallState oldState = inCallState; in onIncomingCall()
978 && inCallState == InCallPresenter.InCallState.INCOMING) { in onUpgradeToVideo()
1054 public InCallState getPotentialStateFromCallList(CallList callList) { in getPotentialStateFromCallList()
1056 InCallState newState = InCallState.NO_CALLS; in getPotentialStateFromCallList()
1062 newState = InCallState.INCOMING; in getPotentialStateFromCallList()
1064 newState = InCallState.WAITING_FOR_ACCOUNT; in getPotentialStateFromCallList()
1066 newState = InCallState.PENDING_OUTGOING; in getPotentialStateFromCallList()
1068 newState = InCallState.OUTGOING; in getPotentialStateFromCallList()
1073 newState = InCallState.INCALL; in getPotentialStateFromCallList()
1076 if (newState == InCallState.NO_CALLS) { in getPotentialStateFromCallList()
1078 return InCallState.PENDING_OUTGOING; in getPotentialStateFromCallList()
1095 if (isBound && inCallState == InCallState.NO_CALLS) { in setBoundAndWaitingForOutgoingCall()
1096 inCallState = InCallState.PENDING_OUTGOING; in setBoundAndWaitingForOutgoingCall()
1294 if (!isShowingInCallUi() && inCallState != InCallState.NO_CALLS) { in bringToForeground()
1472 private InCallState startOrFinishUi(InCallState newState) { in startOrFinishUi()
1509 final boolean showAccountPicker = (InCallState.WAITING_FOR_ACCOUNT == newState); in startOrFinishUi()
1525 boolean showCallUi = InCallState.OUTGOING == newState && mainUiNotVisible; in startOrFinishUi()
1530 (InCallState.PENDING_OUTGOING == inCallState in startOrFinishUi()
1531 && InCallState.INCALL == newState in startOrFinishUi()
1543 InCallState.PENDING_OUTGOING == newState in startOrFinishUi()
1564 if ((newState == InCallState.INCOMING || newState == InCallState.PENDING_OUTGOING) in startOrFinishUi()
1573 } else if (newState == InCallState.NO_CALLS) { in startOrFinishUi()
1617 return inCallActivity == null && !serviceConnected && inCallState == InCallState.NO_CALLS; in isReadyForTearDown()
1916 public enum InCallState { enum in InCallPresenter
1949 void onStateChange(InCallState oldState, InCallState newState, CallList callList); in onStateChange()
1954 void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call); in onIncomingCall()
2021 if (inCallState == InCallState.NO_CALLS) { in releaseInCallUiLock()