Home
last modified time | relevance | path

Searched refs:HandoverState (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DHandoverState.java22 public class HandoverState { class
23 private HandoverState() { in HandoverState() method in HandoverState
DCallLogManager.java191 && (call.getHandoverState() == HandoverState.HANDOVER_NONE in shouldLogDisconnectedCall()
192 || call.getHandoverState() == HandoverState.HANDOVER_COMPLETE); in shouldLogDisconnectedCall()
DCallsManager.java1672 call.setHandoverState(HandoverState.HANDOVER_TO_STARTED); in processIncomingCallIntent()
1673 fromCall.setHandoverState(HandoverState.HANDOVER_FROM_STARTED); in processIncomingCallIntent()
4801 if (call.getHandoverState() == HandoverState.HANDOVER_TO_STARTED) {
4818 if (handoverState == HandoverState.HANDOVER_FROM_STARTED) {
4821 } else if (handoverState == HandoverState.HANDOVER_ACCEPTED) {
4843 call.markFinishedHandoverStateAndCleanup(HandoverState.HANDOVER_COMPLETE);
4874 handoverTo.markFinishedHandoverStateAndCleanup(HandoverState.HANDOVER_FAILED);
4880 handoverTo.setHandoverState(HandoverState.HANDOVER_ACCEPTED);
4882 handoverFrom.setHandoverState(HandoverState.HANDOVER_ACCEPTED);
6280 handoverFromCall.setHandoverState(HandoverState.HANDOVER_FROM_STARTED);
[all …]
DCall.java760 private int mHandoverState = HandoverState.HANDOVER_NONE;
2126 HandoverState.stateToString(handoverState)); in setHandoverState()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallNotifierTest.java37 import com.android.server.telecom.HandoverState;
87 when(mRingingCall.getHandoverState()).thenReturn(HandoverState.HANDOVER_NONE); in setUp()
171 when(mRingingCall.getHandoverState()).thenReturn(HandoverState.HANDOVER_FROM_STARTED); in testDontShowDuringHandover1()
192 when(mRingingCall.getHandoverState()).thenReturn(HandoverState.HANDOVER_COMPLETE); in testDontShowDuringHandover2()
DCallsManagerTest.java114 import com.android.server.telecom.HandoverState;
3445 when(call.getHandoverState()).thenReturn(HandoverState.HANDOVER_TO_STARTED); in testHandoverToIsAccepted()
3449 verify(call).setHandoverState(HandoverState.HANDOVER_ACCEPTED); in testHandoverToIsAccepted()
3451 verify(sourceCall).setHandoverState(HandoverState.HANDOVER_ACCEPTED); in testHandoverToIsAccepted()
3462 when(call.getHandoverState()).thenReturn(HandoverState.HANDOVER_TO_STARTED); in testSelfManagedHandoverToIsAccepted()
3468 verify(call).setHandoverState(HandoverState.HANDOVER_ACCEPTED); in testSelfManagedHandoverToIsAccepted()
3470 verify(sourceCall).setHandoverState(HandoverState.HANDOVER_ACCEPTED); in testSelfManagedHandoverToIsAccepted()
3482 when(call.getHandoverState()).thenReturn(HandoverState.HANDOVER_TO_STARTED); in testHandoverToIsRejected()
3491 verify(call).markFinishedHandoverStateAndCleanup(HandoverState.HANDOVER_FAILED); in testHandoverToIsRejected()
3500 when(call.getHandoverState()).thenReturn(HandoverState.HANDOVER_FROM_STARTED); in testHandoverFromIsStarted()
[all …]
DCallLogManagerTest.java77 import com.android.server.telecom.HandoverState;
950 when(fakeMissedCall.getHandoverState()).thenReturn(HandoverState.HANDOVER_NONE); in testLogMissedSelfManaged()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java40 import com.android.server.telecom.HandoverState;
144 call.getHandoverState() == HandoverState.HANDOVER_NONE) in updateIncomingCall()