Searched refs:mImsCall (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 99 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness() 133 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround() 136 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateForeGround() 144 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround() 146 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround() 149 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateBackGround() 159 doReturn(true).when(mImsCall).isPendingHold(); in testImsUpdateStatePendingHold() 160 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold() 161 verify(mForeGroundCall, times(0)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStatePendingHold() 169 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testUpdateAddressDisplay() [all …]
|
D | ImsPhoneCallTest.java | 134 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testUpdateRingBackTone() 137 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone() 149 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testStopRingingOnHandover() 179 doReturn(mImsCall).when(mConnection1).getImsCall(); in testMultiParty() 181 verify(mImsCall, times(0)).isMultiparty(); in testMultiParty() 186 verify(mImsCall, times(1)).isMultiparty(); in testMultiParty() 192 doReturn(mImsCall).when(mConnection1).getImsCall(); in testGetImsCall() 196 assertEquals(mImsCall, imsCall); in testGetImsCall() 202 doReturn(mImsCall).when(mConnection1).getImsCall(); in testSetMute() 207 verify(mImsCall).setMute(eq(true)); in testSetMute()
|
D | ImsPhoneCallTrackerTest.java | 113 private ImsCall mImsCall; field in ImsPhoneCallTrackerTest 187 mImsCall = spy(new ImsCall(mContext, mImsCallProfile)); in setUp() 191 imsCallMocking(mImsCall); in setUp() 208 mImsCall.setListener(mImsCallListener); in setUp() 209 return mImsCall; in setUp() 362 verify(mImsCall, times(1)).accept(eq(ImsCallProfile in testImsMTCallAccept() 378 doReturn(false).when(mImsCall).isConferenceHost(); in testImsCepOnPeer() 379 doReturn(true).when(mImsCall).isMultiparty(); in testImsCepOnPeer() 392 doReturn(false).when(mImsCall).isConferenceHost(); in testImsNoCepOnPeer() 393 doReturn(true).when(mImsCall).isMultiparty(); in testImsNoCepOnPeer() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 72 private ImsCall mImsCall; field in ImsPhoneConnection 188 mImsCall = imsCall; in ImsPhoneConnection() 416 if (mImsCall != null) { in deflect() 417 mImsCall.deflect(number); in deflect() 432 if (mImsCall != null) { in transfer() 433 mImsCall.transfer(number, isConfirmationRequired); in transfer() 445 if (mImsCall != null) { in consultativeTransfer() 446 mImsCall.consultativeTransfer(((ImsPhoneConnection) other).getImsCall()); in consultativeTransfer() 554 if (mImsCall != null) mImsCall.close(); in onDisconnect() 555 mImsCall = null; in onDisconnect() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 188 protected ImsCall mImsCall; field in TelephonyTest 588 doReturn(mImsCallProfile).when(mImsCall).getCallProfile(); in setUp()
|