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.java326 if (getState() != GsmCdmaCall.State.HOLDING) { in getHoldDurationMillis()
603 boolean wasHolding = (getState() == GsmCdmaCall.State.HOLDING); in update()
665 if (changed && !wasHolding && (getState() == GsmCdmaCall.State.HOLDING)) { in update()
686 mParent.attachFake(this, GsmCdmaCall.State.HOLDING); in fakeHoldBeforeDial()
900 case HOLDING: in parentFromDCState()
DGsmCdmaCallTracker.java603 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
650 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
839 hoConnection.mPreHandoverState != GsmCdmaCall.State.HOLDING && in handlePollCalls()
1598 if (dc.state == DriverCall.State.HOLDING) { in checkMtFindNewRinging()
DDefaultPhoneNotifier.java349 case HOLDING: in convertPreciseCallState()
DCallManager.java2218 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();
886 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/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java119 mDC.state = DriverCall.State.HOLDING; in testConnectionStateUpdate()
121 assertEquals(GsmCdmaCall.State.HOLDING, connection.getState()); in testConnectionStateUpdate()
DGsmCdmaCallTrackerTest.java226 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
312 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
331 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
DDefaultPhoneNotifierTest.java226 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState(); in testNotifyPreciseCallState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java832 if (bgState == ImsPhoneCall.State.HOLDING) { in dial()
1104 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess()
1153 } else if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchWaitingOrHoldingAndActive()
1228 && mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING in canConference()
1253 && mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING; in canTransfer()
2034 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING ||
2062 processCallStateChange(imsCall, ImsPhoneCall.State.HOLDING,
2073 if ((mForegroundCall.getState() == ImsPhoneCall.State.HOLDING)
2093 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
2171 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
[all …]
DImsPhoneConnection.java291 if (getState() != ImsPhoneCall.State.HOLDING) { in getHoldDurationMillis()
675 } else if (state == ImsPhoneCall.State.HOLDING) { in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java347 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
393 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
DImsPhoneConnectionTest.java135 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState(); in testImsUpdateStateBackGround()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1130 case HOLDING: in convertConnectionToRilCall()
1504 case HOLDING: in writeImsCallState()