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.java102 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
132 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
213 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
215 assertEquals(0, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
226 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
228 assertEquals(1, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
312 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
331 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
344 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
406 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testUpdatePhoneType()
DGsmCdmaConnectionTest.java47 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java269 mCT.mBackgroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
297 mCT.mBackgroundCall = mGsmCdmaCall; in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java153 " bg = " + mBackgroundCall.getState());
186 (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) {
247 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
717 mBackgroundCall.dispose(); in dispose()
804 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in dial()
824 bgState = mBackgroundCall.getState(); in dial()
1038 && mBackgroundCall.getState().isAlive()) { in acceptCall()
1102 ", bg = " + mBackgroundCall.getState()); in switchAfterConferenceSuccess()
1104 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess()
1106 mForegroundCall.switchWith(mBackgroundCall); in switchAfterConferenceSuccess()
[all …]
DImsPhoneConnection.java666 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update()
DImsPhone.java338 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java63 private SipCall mBackgroundCall = new SipCall(); field in SipPhone
76 mBackgroundCall = new SipCall(); in SipPhone()
114 && mBackgroundCall.getState().isAlive()) { in takeIncomingCall()
229 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive()
230 if (mBackgroundCall.getState().isAlive()) mBackgroundCall.hold(); in switchHoldingAndActive()
248 + mBackgroundCall.getState()); in conference()
251 mForegroundCall.merge(mBackgroundCall); in conference()
280 mBackgroundCall.clearDisconnected(); in clearDisconnected()
368 : mBackgroundCall.getMute()); in getMute()
378 return mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java82 public GsmCdmaCall mBackgroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
123 toNotify.addAll(mBackgroundCall.getConnections());
603 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
604 && !mBackgroundCall.isFull() in canConference()
619 || !mBackgroundCall.getState().isAlive() in canDial()
639 !mBackgroundCall.getState().isAlive())); in canDial()
650 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
662 mBackgroundCall.clearDisconnected(); in internalClearDisconnected()
709 !(mForegroundCall.isIdle() && mBackgroundCall.isIdle())) { in updatePhoneState()
1136 Rlog.i(LOG_TAG,"Background call: " + mBackgroundCall.toString()); in dumpState()
[all …]
DGsmCdmaConnection.java685 mParent = mOwner.mBackgroundCall; in fakeHoldBeforeDial()
901 return mOwner.mBackgroundCall; in parentFromDCState()
DServiceStateTracker.java4106 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely()
4330 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java832 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java80 private ImsPhoneCall mBackgroundCall; field in ImsPhoneTest
116 mImsCT.mBackgroundCall = mBackgroundCall; in setUp()
119 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
163 doReturn(Call.State.ACTIVE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallDeflection()
165 verify(mImsCT).hangup(mBackgroundCall); in testHandleInCallMmiCommandCallDeflection()
326 assertEquals(mBackgroundCall, mImsPhoneUT.getBackgroundCall()); in testGettersAndPassThroughs()
DImsPhoneCallTrackerTest.java347 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
377 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
382 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
393 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()