Searched refs:getFirstCallWithState (Results 1 – 6 of 6) sorted by relevance
271 return getFirstCallWithState(Call.State.SELECT_PHONE_ACCOUNT); in getWaitingForAccountCall()275 return getFirstCallWithState(Call.State.CONNECTING); in getPendingOutgoingCall()279 Call call = getFirstCallWithState(Call.State.DIALING); in getOutgoingCall()281 call = getFirstCallWithState(Call.State.REDIALING); in getOutgoingCall()287 return getFirstCallWithState(Call.State.ACTIVE); in getActiveCall()291 return getFirstCallWithState(Call.State.ONHOLD); in getBackgroundCall()295 return getFirstCallWithState(Call.State.DISCONNECTED); in getDisconnectedCall()299 return getFirstCallWithState(Call.State.DISCONNECTING); in getDisconnectingCall()315 Call call = getFirstCallWithState(Call.State.INCOMING); in getIncomingCall()317 call = getFirstCallWithState(Call.State.CALL_WAITING); in getIncomingCall()[all …]
1046 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null; in hasActiveOrHoldingCall()1050 return getFirstCallWithState(CallState.RINGING) != null; in hasRingingCall()1056 Call ringingCall = getFirstCallWithState(CallState.RINGING); in onMediaButton()1066 Call callToHangup = getFirstCallWithState( in onMediaButton()1088 if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) { in canAddCall()1123 return getFirstCallWithState(CallState.RINGING); in getRingingCall()1127 return getFirstCallWithState(CallState.ACTIVE); in getActiveCall()1131 return getFirstCallWithState(CallState.DIALING); in getDialingCall()1135 return getFirstCallWithState(CallState.ON_HOLD); in getHeldCall()1149 return getFirstCallWithState(OUTGOING_CALL_STATES); in getOutgoingCall()[all …]
1032 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING); in acceptRingingCallInternal()1043 call = mCallsManager.getFirstCallWithState( in endCallInternal()
71 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.ACTIVE, in onCallRemoved()
543 .getFirstCallWithState(CallState.SELECT_PHONE_ACCOUNT); in updateAudioStreamAndMode()
42 when(mCallList.getFirstCallWithState(anyInt())).thenAnswer(new Answer<Call>() { in MockCallListWrapper()