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.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.java4272 return getFirstCallWithState(CallState.RINGING, CallState.ANSWERED) != null;
4276 return getFirstCallWithState(
4283 Call ringingCall = getFirstCallWithState(CallState.RINGING,
4287 Call activeCall = getFirstCallWithState(CallState.ACTIVE);
4288 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);
4297 Call callToHangup = getFirstCallWithState(CallState.RINGING, CallState.DIALING,
4315 Call activeCall = getFirstCallWithState(CallState.ACTIVE);
4316 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);
4347 if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) {
4384 return getFirstCallWithState(CallState.RINGING,
[all …]
DPhoneStateBroadcaster.java101 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
DTelecomServiceImpl.java2824 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING, in acceptRingingCallInternal()
2845 call = mCallsManager.getFirstCallWithState( in endCallInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java2208 when(mFakeCallsManager.getFirstCallWithState(any())).thenReturn(call); in testEndCallWithNoForegroundCall()
2223 when(mFakeCallsManager.getFirstCallWithState(anyInt(), anyInt())).thenReturn(call); in testAcceptRingingCall()
2236 when(mFakeCallsManager.getFirstCallWithState(anyInt(), anyInt())).thenReturn(call); in testAcceptRingingCallWithValidVideoState()
2316 when(mFakeCallsManager.getFirstCallWithState(any())) in testCannotEndSelfManagedCall()
2333 when(mFakeCallsManager.getFirstCallWithState(any())) in testCannotAnswerSelfManagedCall()