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.java104 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()
DGsmCdmaConnectionTest.java59 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java461 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/
DImsPhoneCallTracker.java222 + " 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 …]
DImsPhoneConnection.java836 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update()
DImsPhone.java615 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java67 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/
DGsmCdmaCallTracker.java91 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 …]
DGsmCdmaConnection.java784 mParent = mOwner.mBackgroundCall; in fakeHoldBeforeDial()
1012 return mOwner.mBackgroundCall; in parentFromDCState()
DServiceStateTracker.java5049 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely()
5339 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1033 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java105 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()
DImsPhoneCallTrackerTest.java530 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()