Home
last modified time | relevance | path

Searched refs:mForegroundCall (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java89 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
91 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
101 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallDial()
102 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
118 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
130 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
132 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
135 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup()
141 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
142 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
[all …]
DGsmCdmaConnectionTest.java53 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java456 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
484 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java63 private SipCall mForegroundCall = new SipCall(); field in SipPhone
77 mForegroundCall = new SipCall(); in SipPhone()
115 if (mForegroundCall.getState().isAlive() in takeIncomingCall()
129 boolean makeCallWait = mForegroundCall.getState().isAlive(); in takeIncomingCall()
208 if (mForegroundCall.getState() == SipCall.State.ACTIVE) { in dialInternal()
211 if (mForegroundCall.getState() != SipCall.State.IDLE) { in dialInternal()
216 mForegroundCall.setMute(false); in dialInternal()
218 Connection c = mForegroundCall.dial(dialString); in dialInternal()
237 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive()
239 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold(); in switchHoldingAndActive()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java87 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
132 toNotify.addAll(mForegroundCall.getConnections());
265 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
294 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialGsm()
317 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) { in dialGsm()
322 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialGsm()
435 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialCdma()
439 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialCdma()
491 if (!mForegroundCall.isIdle()) { in dialThreeWay()
496 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialThreeWay()
[all …]
DGsmCdmaConnection.java984 return mOwner.mForegroundCall; in parentFromDCState()
DServiceStateTracker.java4698 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
4934 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1000 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java200 + " fg = " + mForegroundCall.getState() in onIncomingCall()
208 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in onIncomingCall()
211 if (mForegroundCall.hasConnections()) { in onIncomingCall()
212 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall()
235 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in onIncomingCall()
405 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
1017 mForegroundCall.dispose(); in dispose()
1094 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in prepareForDialing()
1112 fgState = mForegroundCall.getState(); in prepareForDialing()
1141 participantsToDial, this, mForegroundCall, in startConference()
[all …]
DImsPhoneConnection.java815 mParent = mOwner.mForegroundCall; in update()
DImsPhone.java576 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java369 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
370 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
461 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
464 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
470 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
478 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
492 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
506 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
583 assertEquals(Call.State.ALERTING, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
587 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in startOutgoingCall()
[all …]
DImsPhoneTest.java100 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
133 mImsCT.mForegroundCall = mForegroundCall; in setUp()
136 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
198 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
216 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
225 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
239 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
245 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
250 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
255 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
[all …]