Home
last modified time | relevance | path

Searched refs:mBackgroundCall (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java90 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
119 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
200 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
202 assertEquals(0, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
213 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
215 assertEquals(1, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
315 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
334 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
346 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
404 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testUpdatePhoneType()
DGsmCdmaConnectionTest.java54 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java457 mCT.mBackgroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
485 mCT.mBackgroundCall = mGsmCdmaCall; in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java201 + " bg = " + mBackgroundCall.getState()); in onIncomingCall()
236 || (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) { in onIncomingCall()
408 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
1016 mBackgroundCall.dispose(); in dispose()
1095 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in prepareForDialing()
1113 bgState = mBackgroundCall.getState(); in prepareForDialing()
1534 && mBackgroundCall.getState().isAlive()) { in acceptCall()
1612 ", bg = " + mBackgroundCall.getState()); in switchAfterConferenceSuccess()
1614 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess()
1616 mForegroundCall.switchWith(mBackgroundCall); in switchAfterConferenceSuccess()
[all …]
DImsPhoneConnection.java809 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update()
DImsPhone.java583 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java65 private SipCall mBackgroundCall = new SipCall(); field in SipPhone
78 mBackgroundCall = new SipCall(); in SipPhone()
116 && mBackgroundCall.getState().isAlive()) { in takeIncomingCall()
237 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive()
238 if (mBackgroundCall.getState().isAlive()) mBackgroundCall.hold(); in switchHoldingAndActive()
256 + mBackgroundCall.getState()); in conference()
259 mForegroundCall.merge(mBackgroundCall); in conference()
288 mBackgroundCall.clearDisconnected(); in clearDisconnected()
376 : mBackgroundCall.getMute()); in getMute()
386 return mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java89 public GsmCdmaCall mBackgroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
133 toNotify.addAll(mBackgroundCall.getConnections());
640 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
641 && !mBackgroundCall.isFull() in canConference()
670 && mForegroundCall.getState().isAlive() && mBackgroundCall.getState().isAlive()) { in checkForDialIssues()
680 && mBackgroundCall.getState().isAlive()) { in checkForDialIssues()
695 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
707 mBackgroundCall.clearDisconnected(); in internalClearDisconnected()
757 !(mForegroundCall.isIdle() && mBackgroundCall.isIdle())) { in updatePhoneState()
1196 Rlog.i(LOG_TAG,"Background call: " + mBackgroundCall.toString()); in dumpState()
[all …]
DGsmCdmaConnection.java760 mParent = mOwner.mBackgroundCall; in fakeHoldBeforeDial()
988 return mOwner.mBackgroundCall; in parentFromDCState()
DServiceStateTracker.java4697 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely()
4933 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1005 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java102 private ImsPhoneCall mBackgroundCall; field in ImsPhoneTest
134 mImsCT.mBackgroundCall = mBackgroundCall; in setUp()
137 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
190 doReturn(Call.State.ACTIVE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallDeflection()
192 verify(mImsCT).hangup(mBackgroundCall); in testHandleInCallMmiCommandCallDeflection()
244 doReturn(Call.State.HOLDING).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
256 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
361 assertEquals(mBackgroundCall, mImsPhoneUT.getBackgroundCall()); in testGettersAndPassThroughs()
DImsPhoneCallTrackerTest.java508 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
608 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
613 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
624 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()