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.java100 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, in testNullExtras()
111 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness()
145 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround()
148 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateForeGround()
156 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround()
158 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround()
161 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateBackGround()
171 doReturn(true).when(mImsCall).isPendingHold(); in testImsUpdateStatePendingHold()
172 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
173 verify(mForeGroundCall, times(0)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStatePendingHold()
[all …]
DImsPhoneCallTest.java132 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testUpdateRingBackTone()
135 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone()
147 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testStopRingingOnHandover()
177 doReturn(mImsCall).when(mConnection1).getImsCall(); in testMultiParty()
179 verify(mImsCall, times(0)).isMultiparty(); in testMultiParty()
184 verify(mImsCall, times(1)).isMultiparty(); in testMultiParty()
DImsPhoneCallTrackerTest.java112 private ImsCall mImsCall; field in ImsPhoneCallTrackerTest
186 mImsCall = spy(new ImsCall(mContext, mImsCallProfile)); in setUp()
190 imsCallMocking(mImsCall); in setUp()
207 mImsCall.setListener(mImsCallListener); in setUp()
208 return mImsCall; in setUp()
361 verify(mImsCall, times(1)).accept(eq(ImsCallProfile in testImsMTCallAccept()
377 doReturn(false).when(mImsCall).isConferenceHost(); in testImsCepOnPeer()
378 doReturn(true).when(mImsCall).isMultiparty(); in testImsCepOnPeer()
391 doReturn(false).when(mImsCall).isConferenceHost(); in testImsNoCepOnPeer()
392 doReturn(true).when(mImsCall).isMultiparty(); in testImsNoCepOnPeer()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java72 private ImsCall mImsCall; field in ImsPhoneConnection
188 mImsCall = imsCall; in ImsPhoneConnection()
405 if (mImsCall != null) { in deflect()
406 mImsCall.deflect(number); in deflect()
421 if (mImsCall != null) { in transfer()
422 mImsCall.transfer(number, isConfirmationRequired); in transfer()
434 if (mImsCall != null) { in consultativeTransfer()
435 mImsCall.consultativeTransfer(((ImsPhoneConnection) other).getImsCall()); in consultativeTransfer()
543 if (mImsCall != null) mImsCall.close(); in onDisconnect()
544 mImsCall = null; in onDisconnect()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java185 protected ImsCall mImsCall; field in TelephonyTest
581 doReturn(mImsCallProfile).when(mImsCall).getCallProfile(); in setUp()