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()
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()
315 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
334 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
347 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
411 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testUpdatePhoneType()
DGsmCdmaConnectionTest.java47 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java333 mCT.mBackgroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
361 mCT.mBackgroundCall = mGsmCdmaCall; in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java170 + " bg = " + mBackgroundCall.getState()); in onIncomingCall()
203 || (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) { in onIncomingCall()
293 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
818 mBackgroundCall.dispose(); in dispose()
931 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in dial()
951 bgState = mBackgroundCall.getState(); in dial()
1232 && mBackgroundCall.getState().isAlive()) { in acceptCall()
1296 ", bg = " + mBackgroundCall.getState()); in switchAfterConferenceSuccess()
1298 if (mBackgroundCall.getState() == ImsPhoneCall.State.HOLDING) { in switchAfterConferenceSuccess()
1300 mForegroundCall.switchWith(mBackgroundCall); in switchAfterConferenceSuccess()
[all …]
DImsPhoneConnection.java715 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update()
DImsPhone.java400 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.java84 public GsmCdmaCall mBackgroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
125 toNotify.addAll(mBackgroundCall.getConnections());
609 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
610 && !mBackgroundCall.isFull() in canConference()
625 || !mBackgroundCall.getState().isAlive() in canDial()
645 !mBackgroundCall.getState().isAlive())); in canDial()
656 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
668 mBackgroundCall.clearDisconnected(); in internalClearDisconnected()
715 !(mForegroundCall.isIdle() && mBackgroundCall.isIdle())) { in updatePhoneState()
1142 Rlog.i(LOG_TAG,"Background call: " + mBackgroundCall.toString()); in dumpState()
[all …]
DGsmCdmaConnection.java720 mParent = mOwner.mBackgroundCall; in fakeHoldBeforeDial()
936 return mOwner.mBackgroundCall; in parentFromDCState()
DServiceStateTracker.java3953 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely()
4169 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java824 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java83 private ImsPhoneCall mBackgroundCall; field in ImsPhoneTest
119 mImsCT.mBackgroundCall = mBackgroundCall; in setUp()
122 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
166 doReturn(Call.State.ACTIVE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallDeflection()
168 verify(mImsCT).hangup(mBackgroundCall); in testHandleInCallMmiCommandCallDeflection()
329 assertEquals(mBackgroundCall, mImsPhoneUT.getBackgroundCall()); in testGettersAndPassThroughs()
DImsPhoneCallTrackerTest.java446 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
541 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
546 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
557 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()