Home
last modified time | relevance | path

Searched refs:HOLDING (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedGsmCallState.java33 HOLDING(1), enumConstant
110 return mState == State.ACTIVE || mState == State.HOLDING; in isActiveOrHeld()
324 if (call != null && call.mState == CallInfo.State.HOLDING) { in triggerHangupBackground()
465 if (c != null && c.mState == CallInfo.State.HOLDING) { in releaseHeldOrUDUB()
510 if (c != null && c.mState == CallInfo.State.HOLDING) { in releaseActiveAcceptHeldOrWaiting()
540 if (c != null && c.mState == CallInfo.State.HOLDING) { in switchActiveAndHeldOrWaiting()
552 c.mState = CallInfo.State.HOLDING; in switchActiveAndHeldOrWaiting()
553 } else if (c.mState == CallInfo.State.HOLDING) { in switchActiveAndHeldOrWaiting()
586 cb.mState = CallInfo.State.HOLDING; in separateCall()
708 mCalls[i].mState = CallInfo.State.HOLDING; in onDial()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java35 IDLE, ACTIVE, HOLDING, DIALING, ALERTING, INCOMING, WAITING, DISCONNECTED, DISCONNECTING; enumConstant
54 case HOLDING: return State.HOLDING; in stateFromDCState()
DDriverCall.java31 HOLDING, enumConstant
123 case 1: return State.HOLDING; in stateFromCLCC()
DGsmCdmaConnection.java320 if (getState() != GsmCdmaCall.State.HOLDING) { in getHoldDurationMillis()
589 boolean wasHolding = (getState() == GsmCdmaCall.State.HOLDING); in update()
651 if (changed && !wasHolding && (getState() == GsmCdmaCall.State.HOLDING)) { in update()
672 mParent.attachFake(this, GsmCdmaCall.State.HOLDING); in fakeHoldBeforeDial()
886 case HOLDING: in parentFromDCState()
DGsmCdmaCallTracker.java584 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
631 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
819 hoConnection.mPreHandoverState != GsmCdmaCall.State.HOLDING && in handlePollCalls()
1536 if (dc.state == DriverCall.State.HOLDING) { in checkMtFindNewRinging()
DDefaultPhoneNotifier.java396 case HOLDING: in convertPreciseCallState()
DTelephonyEventLog.java480 case HOLDING: state = 2; break; in writeImsCallState()
DCallManager.java2217 if ((call.getState() == Call.State.HOLDING) && in hasMoreThanOneHoldingCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipConnectionBase.java74 case HOLDING: in setState()
118 if (getState() != Call.State.HOLDING) { in getHoldDurationMillis()
DSipPhone.java409 if (sipAudioCall.isOnHold()) return Call.State.HOLDING; in getCallStateFrom()
583 if (mState == State.HOLDING) { in setAudioGroupMode()
599 setState(State.HOLDING); in hold()
640 if (conn.getState() == Call.State.HOLDING) { in merge()
790 if (mState == Call.State.HOLDING) call.startAudio();
885 setState(Call.State.HOLDING); in hold()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken565 assertEquals(Call.State.HOLDING, mGSMPhone.getBackgroundCall().getState());
573 while (mGSMPhone.getBackgroundCall().getState() == Call.State.HOLDING);
679 // One HOLDING call, one ACTIVE call
690 assertEquals(Call.State.HOLDING, mGSMPhone.getBackgroundCall().getState());
713 while (mGSMPhone.getBackgroundCall().getState() != Call.State.HOLDING);
732 assertEquals(Call.State.HOLDING, mGSMPhone.getBackgroundCall().getState());
928 assertEquals(Call.State.HOLDING, mGSMPhone.getBackgroundCall().getState());
936 } while (mGSMPhone.getBackgroundCall().getState() == Call.State.HOLDING);
996 assertEquals(Call.State.HOLDING, mGSMPhone.getBackgroundCall().getState());
1060 mGSMPhone.getBackgroundCall().getState() != Call.State.HOLDING);
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java399 if (bgState == ImsPhoneCall.State.HOLDING) { in dial()
589 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess()
628 } else if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchWaitingOrHoldingAndActive()
696 && mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING in canConference()
721 && mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING; in canTransfer()
1327 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
1347 processCallStateChange(imsCall, ImsPhoneCall.State.HOLDING,
1358 if ((mForegroundCall.getState() == ImsPhoneCall.State.HOLDING)
1378 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
1455 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
[all …]
DImsPhoneConnection.java283 if (getState() != ImsPhoneCall.State.HOLDING) { in getHoldDurationMillis()
664 } else if (state == ImsPhoneCall.State.HOLDING) { in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java115 mDC.state = DriverCall.State.HOLDING; in testConnectionStateUpdate()
117 assertEquals(GsmCdmaCall.State.HOLDING, connection.getState()); in testConnectionStateUpdate()
DGsmCdmaCallTrackerTest.java215 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
297 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
314 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
DDefaultPhoneNotifierTest.java224 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState(); in testNotifyPreciseCallState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java325 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
368 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
DImsPhoneConnectionTest.java135 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState(); in testImsUpdateStateBackGround()