Home
last modified time | relevance | path

Searched refs:mImsCall (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java115 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, in testNullExtras()
126 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness()
160 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround()
163 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateForeGround()
174 assertTrue(mConnectionUT.updateMediaCapabilities(mImsCall)); in testUpdateCodec()
181 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround()
183 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround()
186 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateBackGround()
196 doReturn(true).when(mImsCall).isPendingHold(); in testImsUpdateStatePendingHold()
197 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
[all …]
DImsPhoneCallTest.java135 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testUpdateRingBackTone()
138 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone()
153 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testUpdateRingBackToneBetweenStateChange()
159 mImsCallUT.maybeChangeRingbackState(mImsCall); in testUpdateRingBackToneBetweenStateChange()
163 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackToneBetweenStateChange()
178 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testUpdateRingBackToneBetweenStateChangeTwo()
184 mImsCallUT.maybeChangeRingbackState(mImsCall); in testUpdateRingBackToneBetweenStateChangeTwo()
189 mImsCallUT.maybeChangeRingbackState(mImsCall); in testUpdateRingBackToneBetweenStateChangeTwo()
193 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackToneBetweenStateChangeTwo()
207 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testStopRingingOnHandover()
[all …]
DImsPhoneCallTrackerTest.java121 private ImsCall mImsCall; field in ImsPhoneCallTrackerTest
201 mImsCall = spy(new ImsCall(mContext, mImsCallProfile)); in setUp()
205 imsCallMocking(mImsCall); in setUp()
221 mImsCall.setListener(mImsCallListener); in setUp()
222 return mImsCall; in setUp()
383 verify(mImsCall, times(1)).accept(eq(ImsCallProfile in testImsMTCallAccept()
399 doReturn(false).when(mImsCall).isConferenceHost(); in testImsCepOnPeer()
400 doReturn(true).when(mImsCall).isMultiparty(); in testImsCepOnPeer()
413 doReturn(false).when(mImsCall).isConferenceHost(); in testImsNoCepOnPeer()
414 doReturn(true).when(mImsCall).isMultiparty(); in testImsNoCepOnPeer()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java82 private ImsCall mImsCall; field in ImsPhoneConnection
204 mImsCall = imsCall; in ImsPhoneConnection()
438 if (mImsCall != null) { in deflect()
439 mImsCall.deflect(number); in deflect()
454 if (mImsCall != null) { in transfer()
455 mImsCall.transfer(number, isConfirmationRequired); in transfer()
467 if (mImsCall != null) { in consultativeTransfer()
468 mImsCall.consultativeTransfer(((ImsPhoneConnection) other).getImsCall()); in consultativeTransfer()
575 if (mImsCall != null) mImsCall.close(); in onDisconnect()
576 mImsCall = null; in onDisconnect()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java204 protected ImsCall mImsCall; field in TelephonyTest
643 doReturn(mImsCallProfile).when(mImsCall).getCallProfile(); in setUp()