Searched refs:getFirstCallWithState (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | CallList.java | 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 …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 4272 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 …]
|
D | PhoneStateBroadcaster.java | 101 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
|
D | TelecomServiceImpl.java | 2824 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING, in acceptRingingCallInternal() 2845 call = mCallsManager.getFirstCallWithState( in endCallInternal()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 2208 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()
|