Searched refs:mCallStateLiveData (Results 1 – 3 of 3) sorted by relevance
47 private CallStateLiveData mCallStateLiveData; field in CallStateLiveDataTest65 mCallStateLiveData = new CallStateLiveData(mMockCall); in setup()72 mCallStateLiveData.onActive(); in testOnActiveRegistry()79 mCallStateLiveData.observe(mMockLifecycleOwner, (value) -> mMockObserver.onChanged(value)); in testOnLifecycleStart()81 assertThat(mCallStateLiveData.hasObservers()).isTrue(); in testOnLifecycleStart()82 assertThat(mCallStateLiveData.hasActiveObservers()).isFalse(); in testOnLifecycleStart()86 assertThat(mCallStateLiveData.hasActiveObservers()).isTrue(); in testOnLifecycleStart()95 mCallStateLiveData.observe(mMockLifecycleOwner, (value) -> mMockObserver.onChanged(value)); in testOnStateChanged()105 mCallStateLiveData.observe(mMockLifecycleOwner, (value) -> mMockObserver.onChanged(value)); in testOnInactiveUnregister()111 assertThat(mCallStateLiveData.hasObservers()).isFalse(); in testOnInactiveUnregister()[all …]
65 private MutableLiveData<Integer> mCallStateLiveData; field in OnGoingCallControllerBarFragmentTest89 mCallStateLiveData = new MutableLiveData<>(); in setup()193 mCallStateLiveData.setValue(Call.STATE_HOLDING); in testClickPauseButton_activeCall()237 mCallStateLiveData.setValue(callState); in addFragment()240 when(mMockInCallViewModel.getPrimaryCallState()).thenReturn(mCallStateLiveData); in addFragment()
67 private final LiveData<Integer> mCallStateLiveData; field in InCallViewModel139 mCallStateLiveData = Transformations.switchMap(mPrimaryCallLiveData, in InCallViewModel()148 LiveDataFunctions.pair(mCallStateLiveData, mCallConnectTimeLiveData); in InCallViewModel()195 return mCallStateLiveData; in getPrimaryCallState()