Home
last modified time | relevance | path

Searched refs:InCallState (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallPresenter.java116 private InCallState mInCallState = InCallState.NO_CALLS;
292 public InCallState getInCallState() { in getInCallState()
453 if (mInCallState == InCallState.NO_CALLS) { in updateActivity()
622 InCallState newState = getPotentialStateFromCallList(callList); in onCallListChange()
623 InCallState oldState = mInCallState; in onCallListChange()
652 InCallState newState = startOrFinishUi(InCallState.INCOMING); in onIncomingCall()
653 InCallState oldState = mInCallState; in onIncomingCall()
701 public InCallState getPotentialStateFromCallList(CallList callList) { in getPotentialStateFromCallList()
703 InCallState newState = InCallState.NO_CALLS; in getPotentialStateFromCallList()
709 newState = InCallState.INCOMING; in getPotentialStateFromCallList()
[all …]
DVideoPauseController.java20 import com.android.incallui.InCallPresenter.InCallState;
140 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange()
144 if (newState == InCallState.INCOMING) { in onStateChange()
146 } else if (newState == InCallState.WAITING_FOR_ACCOUNT) { in onStateChange()
148 } else if (newState == InCallState.PENDING_OUTGOING) { in onStateChange()
150 } else if (newState == InCallState.OUTGOING) { in onStateChange()
220 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall()
251 if (mInCallPresenter == null || mInCallPresenter.getInCallState() != InCallState.INCALL) { in onUiShowing()
DConferenceManagerPresenter.java22 import com.android.incallui.InCallPresenter.InCallState;
58 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange()
61 if (newState == InCallState.INCALL) { in onStateChange()
97 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall()
DCallButtonPresenter.java45 import com.android.incallui.InCallPresenter.InCallState;
81 onStateChange(InCallState.NO_CALLS, inCallPresenter.getInCallState(), in onUiReady()
98 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange()
101 if (newState == InCallState.OUTGOING) { in onStateChange()
103 } else if (newState == InCallState.INCALL) { in onStateChange()
111 if (oldState == InCallState.OUTGOING && mCall != null) { in onStateChange()
117 } else if (newState == InCallState.INCOMING) { in onStateChange()
146 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall()
342 private void updateUi(InCallState state, Call call) { in updateUi()
DCallCardPresenter.java54 import com.android.incallui.InCallPresenter.InCallState;
208 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall()
214 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange()
224 if (newState == InCallState.INCOMING) { in onStateChange()
226 } else if (newState == InCallState.PENDING_OUTGOING || newState == InCallState.OUTGOING) { in onStateChange()
235 } else if (newState == InCallState.INCALL) { in onStateChange()
241 (oldState == InCallState.INCOMING || newState == InCallState.INCOMING)) { in onStateChange()
242 ui.showContactContext(newState != InCallState.INCOMING); in onStateChange()
1081 private void maybeSendAccessibilityEvent(InCallState oldState, InCallState newState, in maybeSendAccessibilityEvent()
1093 if ((oldState != InCallState.OUTGOING && newState == InCallState.OUTGOING) in maybeSendAccessibilityEvent()
[all …]
DProximitySensor.java30 import com.android.incallui.InCallPresenter.InCallState;
103 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange()
107 boolean hasOngoingCall = InCallState.INCALL == newState && callList.hasLiveCall(); in onStateChange()
108 boolean isOffhook = (InCallState.OUTGOING == newState) || hasOngoingCall; in onStateChange()
DAnswerPresenter.java23 import com.android.incallui.InCallPresenter.InCallState;
74 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall()
138 && inCallPresenter.getInCallState() == InCallPresenter.InCallState.INCOMING) { in onUpgradeToVideo()
DVideoCallPresenter.java384 public void onIncomingCall(InCallPresenter.InCallState oldState, in onIncomingCall()
385 InCallPresenter.InCallState newState, Call call) { in onIncomingCall()
397 public void onStateChange(InCallPresenter.InCallState oldState, in onStateChange()
398 InCallPresenter.InCallState newState, CallList callList) { in onStateChange()
402 if (newState == InCallPresenter.InCallState.NO_CALLS) { in onStateChange()
419 if (newState == InCallPresenter.InCallState.INCOMING) { in onStateChange()
429 } else if (newState == InCallPresenter.InCallState.OUTGOING) { in onStateChange()
431 } else if (newState == InCallPresenter.InCallState.PENDING_OUTGOING) { in onStateChange()
433 } else if (newState == InCallPresenter.InCallState.INCALL) { in onStateChange()
DDialpadPresenter.java43 public void onStateChange(InCallPresenter.InCallState oldState, in onStateChange()
44 InCallPresenter.InCallState newState, CallList callList) { in onStateChange()
DStatusBarNotifier.java57 import com.android.incallui.InCallPresenter.InCallState;
93 private InCallState mInCallState;
113 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange()
140 public void updateNotification(InCallState state, CallList callList) { in updateNotification()
180 private void updateInCallNotification(final InCallState state, CallList callList) { in updateInCallNotification()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DInCallPresenterTest.java30 import com.android.incallui.InCallPresenter.InCallState;
89 verify(mStatusBarNotifier).updateNotification(InCallState.INCOMING, in testOnCallListChange_sendsNotificationWhenInCall()
193 verify(mStatusBarNotifier, never()).updateNotification(Mockito.any(InCallState.class), in verifyIncomingCallNotificationNotSent()
DProximitySensorTest.java27 import com.android.incallui.InCallPresenter.InCallState;
54 proximitySensor.onStateChange(null, InCallState.OUTGOING, mCallList.getCallList()); in testAccelerometerBehaviorOnDisplayChange()