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 | 91 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsConnectionSanity() 123 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround() 126 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateForeGround() 134 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround() 136 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround() 139 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateBackGround() 149 doReturn(true).when(mImsCall).isPendingHold(); in testImsUpdateStatePendingHold() 150 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold() 151 verify(mForeGroundCall, times(0)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStatePendingHold() 159 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testUpdateAddressDisplay() [all …]
|
D | ImsPhoneCallTrackerTest.java | 90 private ImsCall mImsCall; field in ImsPhoneCallTrackerTest 123 private void imsCallMocking(final ImsCall mImsCall) throws Exception { in imsCallMocking() argument 130 mImsCallListener.onCallStarted(mImsCall); in imsCallMocking() 134 }).when(mImsCall).accept(anyInt()); in imsCallMocking() 142 mImsCallListener.onCallStartFailed(mImsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 143 mImsCallListener.onCallTerminated(mImsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 147 }).when(mImsCall).reject(anyInt()); in imsCallMocking() 155 mImsCallListener.onCallTerminated(mImsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 159 }).when(mImsCall).terminate(anyInt()); in imsCallMocking() 165 mImsCallListener.onCallHeld(mImsCall); in imsCallMocking() [all …]
|
D | ImsPhoneCallTest.java | 130 mImsCallUT.update(null, mImsCall, Call.State.ALERTING); in testUpdateRingBackTone() 133 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone() 159 doReturn(mImsCall).when(mConnection1).getImsCall(); in testMultiParty() 161 verify(mImsCall, times(0)).isMultiparty(); in testMultiParty() 166 verify(mImsCall, times(1)).isMultiparty(); in testMultiParty()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 65 private ImsCall mImsCall; field in ImsPhoneConnection 177 mImsCall = imsCall; in ImsPhoneConnection() 354 if (mImsCall != null) { in deflect() 355 mImsCall.deflect(number); in deflect() 461 if (mImsCall != null) mImsCall.close(); in onDisconnect() 462 mImsCall = null; in onDisconnect() 663 return mImsCall != null && mImsCall.isMultiparty(); in isMultiparty() 676 return mImsCall != null && mImsCall.isConferenceHost(); in isConferenceHost() 685 return mImsCall; in getImsCall() 689 mImsCall = imsCall; in setImsCall() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 132 protected ImsCall mImsCall; field in TelephonyTest 454 doReturn(mImsCallProfile).when(mImsCall).getCallProfile(); in setUp()
|