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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneConnectionTest.java91 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false);
123 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE));
126 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall),
134 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false);
136 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE));
139 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall),
149 doReturn(true).when(mImsCall).isPendingHold();
150 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE));
151 verify(mForeGroundCall, times(0)).update(eq(mConnectionUT), eq(mImsCall),
159 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsC
[all...]
H A DImsPhoneCallTest.java130 mImsCallUT.update(null, mImsCall, Call.State.ALERTING);
133 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE);
159 doReturn(mImsCall).when(mConnection1).getImsCall();
161 verify(mImsCall, times(0)).isMultiparty();
166 verify(mImsCall, times(1)).isMultiparty();
H A DImsPhoneCallTrackerTest.java90 private ImsCall mImsCall; field in class:ImsPhoneCallTrackerTest
123 private void imsCallMocking(final ImsCall mImsCall) throws Exception { argument
130 mImsCallListener.onCallStarted(mImsCall);
134 }).when(mImsCall).accept(anyInt());
142 mImsCallListener.onCallStartFailed(mImsCall, new ImsReasonInfo(reasonCode, -1));
143 mImsCallListener.onCallTerminated(mImsCall, new ImsReasonInfo(reasonCode, -1));
147 }).when(mImsCall).reject(anyInt());
155 mImsCallListener.onCallTerminated(mImsCall, new ImsReasonInfo(reasonCode, -1));
159 }).when(mImsCall).terminate(anyInt());
165 mImsCallListener.onCallHeld(mImsCall);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneConnection.java65 private ImsCall mImsCall; field in class:ImsPhoneConnection
177 mImsCall = imsCall;
354 if (mImsCall != null) {
355 mImsCall.deflect(number);
461 if (mImsCall != null) mImsCall.close();
462 mImsCall = null;
663 return mImsCall != null && mImsCall.isMultiparty();
676 return mImsCall !
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTelephonyTest.java132 protected ImsCall mImsCall; field in class:TelephonyTest
454 doReturn(mImsCallProfile).when(mImsCall).getCallProfile();

Completed in 11 milliseconds