Searched refs:getFirstCallWithState (Results 1 – 6 of 6) sorted by relevance
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()409 call = getFirstCallWithState(DialerCallState.PULLING); in getOutgoingCall()415 return getFirstCallWithState(DialerCallState.ACTIVE); in getActiveCall()423 return getFirstCallWithState(DialerCallState.ONHOLD); in getBackgroundCall()427 return getFirstCallWithState(DialerCallState.DISCONNECTED); in getDisconnectedCall()431 return getFirstCallWithState(DialerCallState.DISCONNECTING); in getDisconnectingCall()447 DialerCall call = getFirstCallWithState(DialerCallState.INCOMING); in getIncomingCall()[all …]
2580 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null;2584 return getFirstCallWithState(CallState.RINGING, CallState.ANSWERED) != null;2590 Call ringingCall = getFirstCallWithState(CallState.RINGING);2593 Call activeCall = getFirstCallWithState(CallState.ACTIVE);2594 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);2603 Call callToHangup = getFirstCallWithState(CallState.RINGING, CallState.DIALING,2621 Call activeCall = getFirstCallWithState(CallState.ACTIVE);2622 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);2653 if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) {2690 return getFirstCallWithState(CallState.RINGING, CallState.ANSWERED);[all …]
90 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
1787 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING); in acceptRingingCallInternal()1801 call = mCallsManager.getFirstCallWithState( in endCallInternal()
911 when(mFakeCallsManager.getFirstCallWithState(any())) in testEndCallWithNoForegroundCall()927 when(mFakeCallsManager.getFirstCallWithState(anyInt())).thenReturn(call); in testAcceptRingingCall()940 when(mFakeCallsManager.getFirstCallWithState(anyInt())).thenReturn(call); in testAcceptRingingCallWithValidVideoState()
1042 when(mMockCallsManager.getFirstCallWithState(CallState.DISCONNECTED)).thenReturn(call); in createDisconnectedCall()