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.java108 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
139 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
220 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
222 assertEquals(0, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
233 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitch()
235 assertEquals(1, mCTUT.mBackgroundCall.getConnections().size()); in testMOCallSwitch()
335 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallSwitchHangupForeGround()
354 assertEquals(GsmCdmaCall.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
366 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
424 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testUpdatePhoneType()
DGsmCdmaConnectionTest.java59 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java485 mCT.mBackgroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
513 mCT.mBackgroundCall = mGsmCdmaCall; in testDial()
1688 mCT.mBackgroundCall = mGsmCdmaCall; in setupForWpsCallTest()
2366 mCT.mBackgroundCall = mGsmCdmaCall; in testDial_fdnCheck()
2596 mCT.mBackgroundCall = mGsmCdmaCall; in testDomainSelectionDialPs()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java295 + " bg = " + mBackgroundCall.getState()); in processIncomingCall()
369 || (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) { in processIncomingCall()
413 } else if (mBackgroundCall.hasConnections()) { in onAudioModeIsVoipChanged()
414 imsCall = mBackgroundCall.getImsCall(); in onAudioModeIsVoipChanged()
715 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
1553 mBackgroundCall.dispose(); in dispose()
1635 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in prepareForDialing()
1653 bgState = mBackgroundCall.getState(); in prepareForDialing()
2207 && mBackgroundCall.getState().isAlive()) { in acceptCall()
2285 ", bg = " + mBackgroundCall.getState()); in switchAfterConferenceSuccess()
[all …]
DImsPhoneConnection.java865 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update()
DImsPhone.java669 return mCT.mBackgroundCall; in getBackgroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsNrSaModeHandlerTest.java75 @Mock private ImsPhoneCall mBackgroundCall; field in ImsNrSaModeHandlerTest
107 doReturn(mBackgroundCall).when(mImsPhone).getBackgroundCall(); in setUp()
110 doReturn(mActiveState).when(mBackgroundCall).getState(); in setUp()
331 doReturn(mActiveState).when(mBackgroundCall).getState(); in testOnPreciseCallStateChangedWithSaDisablePolicyWfcEstablished()
342 doReturn(mIdleState).when(mBackgroundCall).getState(); in testOnPreciseCallStateChangedWithSaDisablePolicyWfcEstablished()
DImsPhoneTest.java127 private ImsPhoneCall mBackgroundCall; field in ImsPhoneTest
151 mBackgroundCall = mock(ImsPhoneCall.class); in setUp()
159 mImsCT.mBackgroundCall = mBackgroundCall; in setUp()
162 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
218 doReturn(Call.State.ACTIVE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallDeflection()
220 verify(mImsCT).hangup(mBackgroundCall); in testHandleInCallMmiCommandCallDeflection()
272 doReturn(Call.State.HOLDING).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
284 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
292 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
397 assertEquals(mBackgroundCall, mImsPhoneUT.getBackgroundCall()); in testGettersAndPassThroughs()
DImsPhoneCallTrackerTest.java751 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTCallAcceptHold()
789 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
915 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
920 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
931 assertEquals(Call.State.HOLDING, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java95 public GsmCdmaCall mBackgroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
139 toNotify.addAll(mBackgroundCall.getConnections());
702 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING in canConference()
703 && !mBackgroundCall.isFull() in canConference()
732 && mForegroundCall.getState().isAlive() && mBackgroundCall.getState().isAlive()) { in checkForDialIssues()
742 && mBackgroundCall.getState().isAlive()) { in checkForDialIssues()
757 && mBackgroundCall.getState() == GsmCdmaCall.State.HOLDING; in canTransfer()
769 mBackgroundCall.clearDisconnected(); in internalClearDisconnected()
819 !(mForegroundCall.isIdle() && mBackgroundCall.isIdle())) { in updatePhoneState()
1265 Rlog.i(LOG_TAG,"Background call: " + mBackgroundCall.toString()); in dumpState()
[all …]
DGsmCdmaConnection.java797 mParent = mOwner.mBackgroundCall; in fakeHoldBeforeDial()
1025 return mOwner.mBackgroundCall; in parentFromDCState()
DServiceStateTracker.java4990 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely()
5056 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java1128 return mCT.mBackgroundCall; in getBackgroundCall()