/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 101 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial() 103 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial() 113 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallDial() 114 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial() 131 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp() 143 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallHangup() 145 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup() 148 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup() 154 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup() 155 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup() [all …]
|
D | GsmCdmaConnectionTest.java | 46 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 332 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 360 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 62 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/ |
D | GsmCdmaCallTracker.java | 83 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker 124 toNotify.addAll(mForegroundCall.getConnections()); 256 connCopy = (List<Connection>) mForegroundCall.mConnections.clone(); in fakeHoldForegroundBeforeDial() 285 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dial() 307 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) { in dial() 314 this, mForegroundCall, isEmergencyCall); in dial() 421 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dial() 426 this, mForegroundCall, isEmergencyCall); in dial() 468 if (!mForegroundCall.isIdle()) { in dialThreeWay() 474 checkForTestEmergencyNumber(dialString), this, mForegroundCall, in dialThreeWay() [all …]
|
D | GsmCdmaConnection.java | 932 return mOwner.mForegroundCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 3954 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely() 4170 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 819 return mCT.mForegroundCall; in getForegroundCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 374 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept() 375 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept() 399 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp() 402 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp() 408 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp() 416 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold() 430 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold() 444 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold() 518 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMOCallDial() 529 assertEquals(Call.State.DIALING, mCTUT.mForegroundCall.getState()); in testImsMOCallDial() [all …]
|
D | ImsPhoneTest.java | 81 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest 118 mImsCT.mForegroundCall = mForegroundCall; in setUp() 121 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp() 174 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting() 192 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting() 201 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold() 227 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandMultiparty() 240 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallEct() 257 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallCcbs() 328 assertEquals(mForegroundCall, mImsPhoneUT.getForegroundCall()); in testGettersAndPassThroughs()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 169 + " fg = " + mForegroundCall.getState() in onIncomingCall() 177 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in onIncomingCall() 180 if (mForegroundCall.hasConnections()) { in onIncomingCall() 181 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall() 202 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in onIncomingCall() 291 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker 819 mForegroundCall.dispose(); in dispose() 930 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in dial() 950 fgState = mForegroundCall.getState(); in dial() 965 checkForTestEmergencyNumber(dialString), this, mForegroundCall, in dial() [all …]
|
D | ImsPhoneConnection.java | 721 mParent = mOwner.mForegroundCall; in update()
|
D | ImsPhone.java | 394 return mCT.mForegroundCall; in getForegroundCall()
|