Home
last modified time | relevance | path

Searched refs:ON_HOLD (Results 1 – 11 of 11) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java81 public static final int ON_HOLD = TelecomProtoEnums.ON_HOLD; // = 6 field in CallState
149 case ON_HOLD: in toString()
DCallAudioManager.java85 put(CallState.ON_HOLD, mHoldingCalls); in CallAudioManager()
357 if (mForegroundCall != null && mForegroundCall.getState() != CallState.ON_HOLD) { in getForegroundCall()
571 case CallState.ON_HOLD: in onCallLeavingState()
597 case CallState.ON_HOLD: in onCallEnteringState()
875 oldState == CallState.ON_HOLD; in shouldPlayDisconnectTone()
DCallsManager.java239 CallState.ON_HOLD, CallState.RINGING, CallState.SIMULATED_RINGING,
245 CallState.ON_HOLD, CallState.DISCONNECTED, CallState.ABORTED,
2499 if (call.getState() != CallState.ON_HOLD) {
2952 setCallState(call, CallState.ON_HOLD, "on-hold set explicitly");
2989 && foregroundCall.getState() == CallState.ON_HOLD) {
2994 foregroundCall.getState() == CallState.ON_HOLD) {
3073 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null;
3093 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);
3103 CallState.PULLING, CallState.ACTIVE, CallState.ON_HOLD);
3121 Call onHoldCall = getFirstCallWithState(CallState.ON_HOLD);
[all …]
DBluetoothPhoneServiceImpl.java344 if (oldState == CallState.ACTIVE && newState == CallState.ON_HOLD) {
630 if (conferenceCall.getState() == CallState.ON_HOLD && in sendClccForCall()
888 case CallState.ON_HOLD: in getBtCallState()
DPhoneStateBroadcaster.java87 CallState.ACTIVE, CallState.ON_HOLD) != null) { in updateStates()
DCall.java1027 if (mState == CallState.ACTIVE || mState == CallState.ON_HOLD) { in setState()
1072 case CallState.ON_HOLD: in setState()
2410 if (mState == CallState.ACTIVE || mState == CallState.ON_HOLD) { in transfer()
2430 (otherCall != null && otherCall.getState() == CallState.ON_HOLD)) { in transfer()
2470 if (mState == CallState.ON_HOLD) { in unhold()
3440 return CallState.ON_HOLD; in getStateFromConnectionState()
DParcelableCallUtils.java417 case CallState.ON_HOLD: in getParcelableState()
DTelecomServiceImpl.java2002 CallState.ON_HOLD); in endCallInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java524 callSpy.setState(CallState.ON_HOLD, "test"); in testSuppessDtmfWhenHeld()
576 Call heldCall = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
601 Call heldCall = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
623 Call heldCall = addSpyCall(SIM_2_HANDLE, CallState.ON_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
747 Call heldCall = addSpyCall(SIM_1_HANDLE, CallState.ON_HOLD); in testAnswerCallWhenMultipleHeldCallsExisted()
748 doReturn(CallState.ON_HOLD).when(heldCall).getState(); in testAnswerCallWhenMultipleHeldCallsExisted()
751 Call heldCall2 = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testAnswerCallWhenMultipleHeldCallsExisted()
752 doReturn(CallState.ON_HOLD).when(heldCall2).getState(); in testAnswerCallWhenMultipleHeldCallsExisted()
1005 doReturn(CallState.ON_HOLD).when(heldCall).getState(); in testSwapCallsWhenHeadsetMediaButtonShortPressDuringTwoCalls()
1027 doReturn(CallState.ON_HOLD).when(heldCall).getState(); in testHangupActiveCallWhenHeadsetMediaButtonLongPressDuringTwoCalls()
[all …]
DConnectionServiceFocusManagerTest.java213 when(activeCall.getState()).thenReturn(CallState.ON_HOLD); in testCallStateChangedAffectCallFocus()
246 when(mActiveCall.getState()).thenReturn(CallState.ON_HOLD); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
248 (Call) mActiveCall, CallState.ACTIVE, CallState.ON_HOLD); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
DBluetoothPhoneServiceTest.java512 when(newHoldingCall.getState()).thenReturn(CallState.ON_HOLD); in testCallClccCache()
561 when(holdingCall.getState()).thenReturn(CallState.ON_HOLD); in testHoldingCallClccResponse()
611 when(parentCall.getState()).thenReturn(CallState.ON_HOLD); in testListCurrentCallsHeldImsCepConference()
872 CallState.ACTIVE, CallState.ON_HOLD); in testOnCallStateChangedConnectingCall()
1010 CallState.ACTIVE, CallState.ON_HOLD); in testOnCallStateChangedGSMSwap()