/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 104 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial() 133 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp() 214 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch() 216 assertEquals(0, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch() 227 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch() 229 assertEquals(1, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch() 329 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround() 348 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround() 360 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround() 418 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testUpdatePhoneType()
|
D | GsmCdmaConnectionTest.java | 59 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 461 mCT.mBackgroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 489 mCT.mBackgroundCall = mGsmCdmaCall; in testDial() 1577 mCT.mBackgroundCall = mGsmCdmaCall; in setupForWpsCallTest()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 222 + " bg = " + mBackgroundCall.getState()); in onIncomingCall() 279 || (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) { in onIncomingCall() 461 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker 1157 mBackgroundCall.dispose(); in dispose() 1233 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in prepareForDialing() 1251 bgState = mBackgroundCall.getState(); in prepareForDialing() 1725 && mBackgroundCall.getState().isAlive()) { in acceptCall() 1803 ", bg = " + mBackgroundCall.getState()); in switchAfterConferenceSuccess() 1805 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess() 1807 mForegroundCall.switchWith(mBackgroundCall); in switchAfterConferenceSuccess() [all …]
|
D | ImsPhoneConnection.java | 836 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update()
|
D | ImsPhone.java | 615 return mCT.mBackgroundCall; in getBackgroundCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 67 private SipCall mBackgroundCall = new SipCall(); field in SipPhone 80 mBackgroundCall = new SipCall(); in SipPhone() 118 && mBackgroundCall.getState().isAlive()) { in takeIncomingCall() 241 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive() 242 if (mBackgroundCall.getState().isAlive()) mBackgroundCall.hold(); in switchHoldingAndActive() 260 + mBackgroundCall.getState()); in conference() 263 mForegroundCall.merge(mBackgroundCall); in conference() 292 mBackgroundCall.clearDisconnected(); in clearDisconnected() 380 : mBackgroundCall.getMute()); in getMute() 390 return mBackgroundCall; in getBackgroundCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCallTracker.java | 91 public GsmCdmaCall mBackgroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker 135 toNotify.addAll(mBackgroundCall.getConnections()); 681 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference() 682 && !mBackgroundCall.isFull() in canConference() 711 && mForegroundCall.getState().isAlive() && mBackgroundCall.getState().isAlive()) { in checkForDialIssues() 721 && mBackgroundCall.getState().isAlive()) { in checkForDialIssues() 736 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer() 748 mBackgroundCall.clearDisconnected(); in internalClearDisconnected() 798 !(mForegroundCall.isIdle() && mBackgroundCall.isIdle())) { in updatePhoneState() 1239 Rlog.i(LOG_TAG,"Background call: " + mBackgroundCall.toString()); in dumpState() [all …]
|
D | GsmCdmaConnection.java | 784 mParent = mOwner.mBackgroundCall; in fakeHoldBeforeDial() 1012 return mOwner.mBackgroundCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 5049 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely() 5339 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 1033 return mCT.mBackgroundCall; in getBackgroundCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 105 private ImsPhoneCall mBackgroundCall; field in ImsPhoneTest 138 mImsCT.mBackgroundCall = mBackgroundCall; in setUp() 141 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp() 195 doReturn(Call.State.ACTIVE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallDeflection() 197 verify(mImsCT).hangup(mBackgroundCall); in testHandleInCallMmiCommandCallDeflection() 249 doReturn(Call.State.HOLDING).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold() 261 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold() 366 assertEquals(mBackgroundCall, mImsPhoneUT.getBackgroundCall()); in testGettersAndPassThroughs()
|
D | ImsPhoneCallTrackerTest.java | 530 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold() 568 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveHoldServiceDisconnect() 694 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial() 699 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial() 710 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
|