Home
last modified time | relevance | path

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

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallList.java282 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 …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java1408 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 …]
DPhoneStateBroadcaster.java86 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.ACTIVE, in updateStates()
DTelecomServiceImpl.java1279 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING); in acceptRingingCallInternal()
1293 call = mCallsManager.getFirstCallWithState( in endCallInternal()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DMockCallListWrapper.java42 when(mCallList.getFirstCallWithState(anyInt())).thenAnswer(new Answer<Call>() { in MockCallListWrapper()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java862 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()