Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java403 return getFirstCallWithState(DialerCall.State.SELECT_PHONE_ACCOUNT); in getWaitingForAccountCall()
407 return getFirstCallWithState(DialerCall.State.CONNECTING); in getPendingOutgoingCall()
411 DialerCall call = getFirstCallWithState(DialerCall.State.DIALING); in getOutgoingCall()
413 call = getFirstCallWithState(DialerCall.State.REDIALING); in getOutgoingCall()
416 call = getFirstCallWithState(DialerCall.State.PULLING); in getOutgoingCall()
422 return getFirstCallWithState(DialerCall.State.ACTIVE); in getActiveCall()
430 return getFirstCallWithState(DialerCall.State.ONHOLD); in getBackgroundCall()
434 return getFirstCallWithState(DialerCall.State.DISCONNECTED); in getDisconnectedCall()
438 return getFirstCallWithState(DialerCall.State.DISCONNECTING); in getDisconnectingCall()
454 DialerCall call = getFirstCallWithState(DialerCall.State.INCOMING); in getIncomingCall()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java1850 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null; in hasActiveOrHoldingCall()
1854 return getFirstCallWithState(CallState.RINGING) != null; in hasRingingCall()
1859 Call ringingCall = getFirstCallWithState(CallState.RINGING); in onMediaButton()
1862 Call callToHangup = getFirstCallWithState(CallState.RINGING, CallState.DIALING, in onMediaButton()
1902 if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) { in canAddCall()
1939 return getFirstCallWithState(CallState.RINGING); in getRingingCall()
1943 return getFirstCallWithState(CallState.ACTIVE); in getActiveCall()
1947 return getFirstCallWithState(CallState.DIALING); in getDialingCall()
1952 return getFirstCallWithState(CallState.ON_HOLD); in getHeldCall()
1968 return getFirstCallWithState(OUTGOING_CALL_STATES); in getOutgoingCall()
[all …]
DPhoneStateBroadcaster.java90 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
DTelecomServiceImpl.java1487 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING); in acceptRingingCallInternal()
1501 call = mCallsManager.getFirstCallWithState( in endCallInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java825 when(mFakeCallsManager.getFirstCallWithState(argThat(new IntVarArgMatcher()))) in testEndCallWithNoForegroundCall()
839 when(mFakeCallsManager.getFirstCallWithState(anyInt())).thenReturn(call); in testAcceptRingingCall()
851 when(mFakeCallsManager.getFirstCallWithState(anyInt())).thenReturn(call); in testAcceptRingingCallWithValidVideoState()