Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedGsmCallState.java35 HOLDING(1), enumConstant
112 return mState == State.ACTIVE || mState == State.HOLDING; in isActiveOrHeld()
326 if (call != null && call.mState == CallInfo.State.HOLDING) { in triggerHangupBackground()
469 if (c != null && c.mState == CallInfo.State.HOLDING) { in releaseHeldOrUDUB()
515 if (c != null && c.mState == CallInfo.State.HOLDING) { in releaseActiveAcceptHeldOrWaiting()
546 if (c != null && c.mState == CallInfo.State.HOLDING) { in switchActiveAndHeldOrWaiting()
558 c.mState = CallInfo.State.HOLDING; in switchActiveAndHeldOrWaiting()
559 } else if (c.mState == CallInfo.State.HOLDING) { in switchActiveAndHeldOrWaiting()
593 cb.mState = CallInfo.State.HOLDING; in separateCall()
716 mCalls[i].mState = CallInfo.State.HOLDING; in onDial()
[all …]
DGsmCdmaConnectionTest.java138 mDC.state = DriverCall.State.HOLDING; in testConnectionStateUpdate()
140 assertEquals(GsmCdmaCall.State.HOLDING, connection.getState()); in testConnectionStateUpdate()
DGsmCdmaCallTrackerTest.java213 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
315 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
334 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
DDefaultPhoneNotifierTest.java226 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState(); in testNotifyPreciseCallState()
DPhoneSwitcherTest.java124 doReturn(Call.State.HOLDING).when(mHoldingCall).getState(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java44 HOLDING, enumConstant
77 case HOLDING: return State.HOLDING; in stateFromDCState()
DDriverCall.java36 HOLDING, enumConstant
166 case 1: return State.HOLDING; in stateFromCLCC()
DGsmCdmaConnection.java350 if (getState() != GsmCdmaCall.State.HOLDING) { in getHoldDurationMillis()
661 boolean wasHolding = (getState() == GsmCdmaCall.State.HOLDING); in update()
740 if (changed && !wasHolding && (getState() == GsmCdmaCall.State.HOLDING)) { in update()
761 mParent.attachFake(this, GsmCdmaCall.State.HOLDING); in fakeHoldBeforeDial()
987 case HOLDING: in parentFromDCState()
DGsmCdmaCallTracker.java640 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
695 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
891 hoConnection.mPreHandoverState != GsmCdmaCall.State.HOLDING && in handlePollCalls()
1470 if (mBackgroundCall.getState() != GsmCdmaCall.State.HOLDING) { in handleMessage()
1740 if (dc.state == DriverCall.State.HOLDING) { in checkMtFindNewRinging()
DDefaultPhoneNotifier.java303 case HOLDING: in convertPreciseCallState()
DPhoneSwitcher.java1340 || phone.getBackgroundCall().getState() == Call.State.HOLDING); in isPhoneInVoiceCall()
DCallManager.java2062 if ((call.getState() == Call.State.HOLDING) && in hasMoreThanOneHoldingCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipConnectionBase.java73 case HOLDING: in setState()
117 if (getState() != Call.State.HOLDING) { in getHoldDurationMillis()
DSipPhone.java417 if (sipAudioCall.isOnHold()) return Call.State.HOLDING; in getCallStateFrom()
595 if (mState == State.HOLDING) { in setAudioGroupMode()
612 setState(State.HOLDING); in hold()
654 if (conn.getState() == Call.State.HOLDING) { in merge()
804 if (mState == Call.State.HOLDING) call.startAudio();
900 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.java1119 if (bgState == ImsPhoneCall.State.HOLDING) { in prepareForDialing()
1614 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess()
1934 && mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING in canConference()
1950 mBackgroundCall.getState() == Call.State.HOLDING) && call != null && in canAddVideoCallDuringImsAudioCall()
1986 && mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING; in canTransfer()
2996 processCallStateChange(imsCall, ImsPhoneCall.State.HOLDING,
3006 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING
3031 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
3143 if (mForegroundCall.getState() == ImsPhoneCall.State.HOLDING) {
3254 processCallStateChange(mBackgroundCall.getImsCall(), ImsPhoneCall.State.HOLDING,
DImsPhoneConnection.java370 if (getState() != ImsPhoneCall.State.HOLDING) { in getHoldDurationMillis()
818 } else if (state == ImsPhoneCall.State.HOLDING) { in update()
DImsPhone.java725 } else if (getBackgroundCall().getState() == ImsPhoneCall.State.HOLDING) { in handleCallHoldIncallSupplementaryService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java157 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState(); in testImsUpdateStateBackGround()
DImsPhoneCallTrackerTest.java508 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
624 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
DImsPhoneTest.java244 doReturn(Call.State.HOLDING).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1550 case HOLDING: in convertConnectionToRilCall()
1993 case HOLDING: in writeImsCallState()