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.java103 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
105 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
115 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallDial()
116 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
132 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
144 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
146 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
149 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup()
155 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
156 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
[all …]
DGsmCdmaConnectionTest.java58 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java460 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
488 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
1576 mCT.mForegroundCall = mGsmCdmaCall; in setupForWpsCallTest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java65 private SipCall mForegroundCall = new SipCall(); field in SipPhone
79 mForegroundCall = new SipCall(); in SipPhone()
117 if (mForegroundCall.getState().isAlive() in takeIncomingCall()
131 boolean makeCallWait = mForegroundCall.getState().isAlive(); in takeIncomingCall()
212 if (mForegroundCall.getState() == SipCall.State.ACTIVE) { in dialInternal()
215 if (mForegroundCall.getState() != SipCall.State.IDLE) { in dialInternal()
220 mForegroundCall.setMute(false); in dialInternal()
222 Connection c = mForegroundCall.dial(dialString); in dialInternal()
241 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive()
243 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold(); in switchHoldingAndActive()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java89 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
134 toNotify.addAll(mForegroundCall.getConnections());
267 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
303 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialGsm()
327 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) { in dialGsm()
332 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialGsm()
456 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialCdma()
460 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialCdma()
515 if (!mForegroundCall.isIdle()) { in dialThreeWay()
520 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialThreeWay()
[all …]
DGsmCdmaConnection.java1008 return mOwner.mForegroundCall; in parentFromDCState()
DServiceStateTracker.java5050 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
5340 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1028 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java221 + " fg = " + mForegroundCall.getState() in onIncomingCall()
229 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in onIncomingCall()
232 if (mForegroundCall.hasConnections()) { in onIncomingCall()
233 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall()
278 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in onIncomingCall()
458 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
1158 mForegroundCall.dispose(); in dispose()
1232 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in prepareForDialing()
1250 fgState = mForegroundCall.getState(); in prepareForDialing()
1279 participantsToDial, this, mForegroundCall, in startConference()
[all …]
DImsPhoneConnection.java842 mParent = mOwner.mForegroundCall; in update()
DImsPhone.java608 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java391 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
392 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
483 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
486 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
492 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
500 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
514 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
528 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
538 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
552 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
[all …]
DImsPhoneTest.java103 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
137 mImsCT.mForegroundCall = mForegroundCall; in setUp()
140 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
203 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
221 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
230 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
244 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
250 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
255 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
260 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
[all …]