/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 96 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 …]
|
D | GsmCdmaConnectionTest.java | 46 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 259 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 287 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 123 " 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 …]
|
D | ImsPhoneConnection.java | 661 mParent = mOwner.mForegroundCall; in update()
|
D | ImsPhone.java | 311 return mCT.mForegroundCall; in getForegroundCall()
|
/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 | 79 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 …]
|
D | GsmCdmaConnection.java | 883 return mOwner.mForegroundCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 4204 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely() 4331 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 827 return mCT.mForegroundCall; in getForegroundCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 252 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 …]
|
D | ImsPhoneTest.java | 74 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()
|