Home
last modified time | relevance | path

Searched refs:getFirstCallWithState (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java396 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 …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java2580 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 …]
DPhoneStateBroadcaster.java90 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
DTelecomServiceImpl.java1787 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING); in acceptRingingCallInternal()
1801 call = mCallsManager.getFirstCallWithState( in endCallInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java911 when(mFakeCallsManager.getFirstCallWithState(any())) in testEndCallWithNoForegroundCall()
927 when(mFakeCallsManager.getFirstCallWithState(anyInt())).thenReturn(call); in testAcceptRingingCall()
940 when(mFakeCallsManager.getFirstCallWithState(anyInt())).thenReturn(call); in testAcceptRingingCallWithValidVideoState()
DBluetoothPhoneServiceTest.java1042 when(mMockCallsManager.getFirstCallWithState(CallState.DISCONNECTED)).thenReturn(call); in createDisconnectedCall()