/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 107 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 …]
|
D | GsmCdmaConnectionTest.java | 58 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 484 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/ |
D | GsmCdmaCallTracker.java | 93 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 …]
|
D | GsmCdmaConnection.java | 1021 return mOwner.mForegroundCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 4991 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely() 5057 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 1122 return mCT.mForegroundCall; in getForegroundCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 294 + " 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 …]
|
D | ImsPhoneConnection.java | 871 mParent = mOwner.mForegroundCall; in update()
|
D | ImsPhone.java | 662 return mCT.mForegroundCall; in getForegroundCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 608 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 …]
|
D | ImsNrSaModeHandlerTest.java | 74 @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()
|
D | ImsPhoneTest.java | 126 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 …]
|