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.java96 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
98 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
107 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallDial()
108 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
125 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
135 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
137 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
140 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup()
146 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
147 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
[all …]
DGsmCdmaConnectionTest.java46 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java259 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
287 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java123 " fg = " + mForegroundCall.getState() +
131 (isUnknown? mForegroundCall: mRingingCall), isUnknown);
141 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) ||
187 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
287 mForegroundCall.dispose(); in dispose()
370 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in dial()
390 fgState = mForegroundCall.getState(); in dial()
405 checkForTestEmergencyNumber(dialString), this, mForegroundCall, in dial()
543 if (mForegroundCall.getState().isAlive() in acceptCall()
549 && mForegroundCall.getState().isAlive()) { in acceptCall()
[all …]
DImsPhoneConnection.java661 mParent = mOwner.mForegroundCall; in update()
DImsPhone.java311 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java62 private SipCall mForegroundCall = new SipCall(); field in SipPhone
75 mForegroundCall = new SipCall(); in SipPhone()
113 if (mForegroundCall.getState().isAlive() in takeIncomingCall()
127 boolean makeCallWait = mForegroundCall.getState().isAlive(); in takeIncomingCall()
200 if (mForegroundCall.getState() == SipCall.State.ACTIVE) { in dialInternal()
203 if (mForegroundCall.getState() != SipCall.State.IDLE) { in dialInternal()
208 mForegroundCall.setMute(false); in dialInternal()
210 Connection c = mForegroundCall.dial(dialString); in dialInternal()
229 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive()
231 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold(); in switchHoldingAndActive()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java79 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
120 toNotify.addAll(mForegroundCall.getConnections());
242 connCopy = (List<Connection>) mForegroundCall.mConnections.clone(); in fakeHoldForegroundBeforeDial()
271 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dial()
293 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) { in dial()
299 this, mForegroundCall); in dial()
405 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dial()
410 this, mForegroundCall); in dial()
452 if (!mForegroundCall.isIdle()) { in dialThreeWay()
458 checkForTestEmergencyNumber(dialString), this, mForegroundCall); in dialThreeWay()
[all …]
DGsmCdmaConnection.java883 return mOwner.mForegroundCall; in parentFromDCState()
DServiceStateTracker.java4204 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
4331 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java827 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java252 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
253 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
277 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
280 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
286 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
294 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
309 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
323 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
331 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
342 assertEquals(Call.State.DIALING, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
[all …]
DImsPhoneTest.java74 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
110 mImsCT.mForegroundCall = mForegroundCall; in setUp()
113 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
164 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
182 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
191 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
217 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandMultiparty()
230 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallEct()
247 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallCcbs()
318 assertEquals(mForegroundCall, mImsPhoneUT.getForegroundCall()); in testGettersAndPassThroughs()