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.java107 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
109 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
121 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallDial()
122 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
138 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
150 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
152 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
155 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup()
161 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
162 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
[all …]
DGsmCdmaConnectionTest.java58 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java484 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
512 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
1687 mCT.mForegroundCall = mGsmCdmaCall; in setupForWpsCallTest()
2365 mCT.mForegroundCall = mGsmCdmaCall; in testDial_fdnCheck()
2595 mCT.mForegroundCall = mGsmCdmaCall; in testDomainSelectionDialPs()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java93 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
138 toNotify.addAll(mForegroundCall.getConnections());
276 ArrayList<Connection> connCopy = mForegroundCall.getConnections(); in fakeHoldForegroundBeforeDial()
312 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialGsm()
336 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) { in dialGsm()
341 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialGsm()
464 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialCdma()
468 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialCdma()
536 if (!mForegroundCall.isIdle()) { in dialThreeWay()
541 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialThreeWay()
[all …]
DGsmCdmaConnection.java1021 return mOwner.mForegroundCall; in parentFromDCState()
DServiceStateTracker.java4991 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
5057 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1122 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java294 + " fg = " + mForegroundCall.getState() in processIncomingCall()
305 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in processIncomingCall()
308 if (mForegroundCall.hasConnections()) { in processIncomingCall()
309 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in processIncomingCall()
368 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in processIncomingCall()
411 if (mForegroundCall.hasConnections()) { in onAudioModeIsVoipChanged()
412 imsCall = mForegroundCall.getImsCall(); in onAudioModeIsVoipChanged()
712 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
1554 mForegroundCall.dispose(); in dispose()
1634 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in prepareForDialing()
[all …]
DImsPhoneConnection.java871 mParent = mOwner.mForegroundCall; in update()
DImsPhone.java662 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java608 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
609 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
704 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
707 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
713 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
721 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
735 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
749 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
759 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
773 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
[all …]
DImsNrSaModeHandlerTest.java74 @Mock private ImsPhoneCall mForegroundCall; field in ImsNrSaModeHandlerTest
106 doReturn(mForegroundCall).when(mImsPhone).getForegroundCall(); in setUp()
109 doReturn(mActiveState).when(mForegroundCall).getState(); in setUp()
330 doReturn(mActiveState).when(mForegroundCall).getState(); in testOnPreciseCallStateChangedWithSaDisablePolicyWfcEstablished()
341 doReturn(mIdleState).when(mForegroundCall).getState(); in testOnPreciseCallStateChangedWithSaDisablePolicyWfcEstablished()
DImsPhoneTest.java126 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
150 mForegroundCall = mock(ImsPhoneCall.class); in setUp()
158 mImsCT.mForegroundCall = mForegroundCall; in setUp()
161 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
226 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
244 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
253 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
267 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
273 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
278 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
[all …]