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.java452 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
480 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.java4685 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
4921 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1010 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()
257 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in onIncomingCall()
427 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
1040 mForegroundCall.dispose(); in dispose()
1117 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in prepareForDialing()
1135 fgState = mForegroundCall.getState(); in prepareForDialing()
1164 participantsToDial, this, mForegroundCall, in startConference()
[all …]
DImsPhoneConnection.java826 mParent = mOwner.mForegroundCall; in update()
DImsPhone.java483 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java370 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
371 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
462 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
465 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
471 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
479 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
493 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
507 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
584 assertEquals(Call.State.ALERTING, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
588 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in startOutgoingCall()
[all …]
DImsPhoneTest.java97 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
130 mImsCT.mForegroundCall = mForegroundCall; in setUp()
133 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
195 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
213 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
222 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
236 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
242 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
247 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
252 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
[all …]