Searched refs:mCallList (Results 1 – 4 of 4) sorted by relevance
35 private MockCallListWrapper mCallList; field in InCallPresenterTest51 mCallList = new MockCallListWrapper(); in setUp()54 mInCallPresenter.setUp(mContext, mCallList.getCallList(), mAudioModeProvider, in setUp()79 mCallList.setHasCall(Call.State.INCOMING, true); in testOnCallListChange_sendsNotificationWhenInCall()81 mInCallPresenter.onCallListChange(mCallList.getCallList()); in testOnCallListChange_sendsNotificationWhenInCall()84 mCallList.getCallList()); in testOnCallListChange_sendsNotificationWhenInCall()93 mCallList.setHasCall(Call.State.ACTIVE, true); in testOnCallListChange_handlesCallWaitingWhenScreenOffShouldRestartActivity()95 mInCallPresenter.onCallListChange(mCallList.getCallList()); in testOnCallListChange_handlesCallWaitingWhenScreenOffShouldRestartActivity()102 mCallList.setHasCall(Call.State.INCOMING, true); in testOnCallListChange_handlesCallWaitingWhenScreenOffShouldRestartActivity()104 mInCallPresenter.onCallListChange(mCallList.getCallList()); in testOnCallListChange_handlesCallWaitingWhenScreenOffShouldRestartActivity()[all …]
36 private CallList mCallList; field in MockCallListWrapper40 mCallList = Mockito.mock(CallList.class); in MockCallListWrapper()41 mCallList = spy(new CallList()); in MockCallListWrapper()42 when(mCallList.getFirstCallWithState(anyInt())).thenAnswer(new Answer<Call>() { in MockCallListWrapper()57 return mCallList; in getCallList()
34 private MockCallListWrapper mCallList; field in ProximitySensorTest42 mCallList = new MockCallListWrapper(); in setUp()52 proximitySensor.onStateChange(null, InCallState.OUTGOING, mCallList.getCallList()); in testAccelerometerBehaviorOnDisplayChange()
95 private CallList mCallList; field in InCallPresenter125 final Call call = mCallList.getCallByTelecommCall(telecomCall);136 final Call call = mCallList.getCallByTelecommCall(telecomCall);197 return mCallList; in getCallList()210 Preconditions.checkState(callList == mCallList); in setUp()231 mCallList = callList; in setUp()238 mCallList.addListener(this); in setUp()333 if (mCallList != null && mCallList.getDisconnectedCall() != null) { in updateActivity()334 maybeShowErrorDialogOnDisconnect(mCallList.getDisconnectedCall()); in updateActivity()375 onCallListChange(mCallList); in updateActivity()[all …]