Home
last modified time | relevance | path

Searched refs:mImsCT (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java133 mImsCT.mForegroundCall = mForegroundCall; in setUp()
134 mImsCT.mBackgroundCall = mBackgroundCall; in setUp()
135 mImsCT.mRingingCall = mRingingCall; in setUp()
156 doReturn(mImsUtInterface).when(mImsCT).getUtInterface(); in setUp()
186 verify(mImsCT).rejectCall(); in testHandleInCallMmiCommandCallDeflection()
192 verify(mImsCT).hangup(mBackgroundCall); in testHandleInCallMmiCommandCallDeflection()
213 verify(mImsCT).hangup(any(ImsPhoneCall.class)); in testHandleInCallMmiCommandCallWaiting()
219 verify(mImsCT).holdActiveCallForWaitingCall(); in testHandleInCallMmiCommandCallWaiting()
241 verify(mImsCT).holdActiveCall(); in testHandleInCallMmiCommandCallHold()
247 verify(mImsCT).unholdHeldCall(); in testHandleInCallMmiCommandCallHold()
[all …]
DImsPhoneConnectionTest.java80 replaceInstance(Handler.class, "mLooper", mImsCT, Looper.myLooper()); in setUp()
81 replaceInstance(ImsPhoneCallTracker.class, "mForegroundCall", mImsCT, mForeGroundCall); in setUp()
82 replaceInstance(ImsPhoneCallTracker.class, "mBackgroundCall", mImsCT, mBackGroundCall); in setUp()
83 replaceInstance(ImsPhoneCallTracker.class, "mRingingCall", mImsCT, mRingGroundCall); in setUp()
84 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
100 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, in testNullExtras()
111 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness()
129 PhoneNumberUtils.PAUSE), mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness()
141 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStateForeGround()
156 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround()
[all …]
DImsPhoneCallTest.java55 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
57 mImsCallUT = new ImsPhoneCall(mImsCT, ImsPhoneCall.CONTEXT_FOREGROUND); in setUp()
58 when(mImsCT.getPhone()).thenReturn(mImsPhone); in setUp()
119 verify(mImsCT).hangup(eq(mImsCallUT)); in testHangup()
162 ImsPhoneCall mImsCallThat = new ImsPhoneCall(mImsCT, ImsPhoneCall.CONTEXT_FOREGROUND); in testSwitchWith()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java159 protected ImsPhoneCallTracker mImsCT; field in TelephonyTest
465 doReturn(mImsCT).when(mTelephonyComponentFactory) in setUp()