Searched refs:getFirstCallWithState (Results 1 – 6 of 6) sorted by relevance
282 return getFirstCallWithState(Call.State.SELECT_PHONE_ACCOUNT); in getWaitingForAccountCall()286 return getFirstCallWithState(Call.State.CONNECTING); in getPendingOutgoingCall()290 Call call = getFirstCallWithState(Call.State.DIALING); in getOutgoingCall()292 call = getFirstCallWithState(Call.State.REDIALING); in getOutgoingCall()298 return getFirstCallWithState(Call.State.ACTIVE); in getActiveCall()306 return getFirstCallWithState(Call.State.ONHOLD); in getBackgroundCall()310 return getFirstCallWithState(Call.State.DISCONNECTED); in getDisconnectedCall()314 return getFirstCallWithState(Call.State.DISCONNECTING); in getDisconnectingCall()330 Call call = getFirstCallWithState(Call.State.INCOMING); in getIncomingCall()332 call = getFirstCallWithState(Call.State.CALL_WAITING); in getIncomingCall()[all …]
1408 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null; in hasActiveOrHoldingCall()1412 return getFirstCallWithState(CallState.RINGING) != null; in hasRingingCall()1418 Call ringingCall = getFirstCallWithState(CallState.RINGING); in onMediaButton()1428 Call callToHangup = getFirstCallWithState( in onMediaButton()1450 if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) { in canAddCall()1477 return getFirstCallWithState(CallState.RINGING); in getRingingCall()1482 return getFirstCallWithState(CallState.ACTIVE); in getActiveCall()1486 return getFirstCallWithState(CallState.DIALING); in getDialingCall()1491 return getFirstCallWithState(CallState.ON_HOLD); in getHeldCall()1507 return getFirstCallWithState(OUTGOING_CALL_STATES); in getOutgoingCall()[all …]
86 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.ACTIVE, in updateStates()
1279 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING); in acceptRingingCallInternal()1293 call = mCallsManager.getFirstCallWithState( in endCallInternal()
42 when(mCallList.getFirstCallWithState(anyInt())).thenAnswer(new Answer<Call>() { in MockCallListWrapper()
862 when(mFakeCallsManager.getFirstCallWithState(anyInt(), anyInt(), anyInt(), anyInt())) in testEndCallWithNoForegroundCall()876 when(mFakeCallsManager.getFirstCallWithState(any(int[].class))) in testAcceptRingingCall()889 when(mFakeCallsManager.getFirstCallWithState(any(int[].class))) in testAcceptRingingCallWithValidVideoState()