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.java3073 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null;
3077 return getFirstCallWithState(CallState.RINGING, CallState.ANSWERED) != null;
3081 return getFirstCallWithState(
3088 Call ringingCall = getFirstCallWithState(CallState.RINGING,
3092 Call activeCall = getFirstCallWithState(CallState.ACTIVE);
3093 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);
3102 Call callToHangup = getFirstCallWithState(CallState.RINGING, CallState.DIALING,
3120 Call activeCall = getFirstCallWithState(CallState.ACTIVE);
3121 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);
3152 if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) {
[all …]
DPhoneStateBroadcaster.java86 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
DTelecomServiceImpl.java1982 … Call call = mCallsManager.getFirstCallWithState(CallState.RINGING, CallState.SIMULATED_RINGING); in acceptRingingCallInternal()
1996 call = mCallsManager.getFirstCallWithState( in endCallInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java930 when(mFakeCallsManager.getFirstCallWithState(any())) in testEndCallWithNoForegroundCall()
946 when(mFakeCallsManager.getFirstCallWithState(anyInt(), anyInt())).thenReturn(call); in testAcceptRingingCall()
959 when(mFakeCallsManager.getFirstCallWithState(anyInt(), anyInt())).thenReturn(call); in testAcceptRingingCallWithValidVideoState()
DBluetoothPhoneServiceTest.java1101 when(mMockCallsManager.getFirstCallWithState(CallState.DISCONNECTED)).thenReturn(call); in createDisconnectedCall()