Searched refs:mCallDetailLiveData (Results 1 – 3 of 3) sorted by relevance
52 private CallDetailLiveData mCallDetailLiveData; field in CallDetailLiveDataTest69 mCallDetailLiveData = new CallDetailLiveData(mMockCall); in setup()76 mCallDetailLiveData.onActive(); in testOnActiveRegistry()83 mCallDetailLiveData.observe(mMockLifecycleOwner, (value) -> mMockObserver.onChanged(value)); in testOnLifecycleStart()85 assertThat(mCallDetailLiveData.hasObservers()).isTrue(); in testOnLifecycleStart()86 assertThat(mCallDetailLiveData.hasActiveObservers()).isFalse(); in testOnLifecycleStart()89 assertThat(mCallDetailLiveData.hasActiveObservers()).isTrue(); in testOnLifecycleStart()129 assertThat(mCallDetailLiveData.hasObservers()).isFalse(); in testOnInactiveUnregister()130 assertThat(mCallDetailLiveData.hasActiveObservers()).isFalse(); in testOnInactiveUnregister()134 mCallDetailLiveData.observe(mMockLifecycleOwner, (value) -> mMockObserver.onChanged(value)); in startObserving()
64 private final LiveData<CallDetail> mCallDetailLiveData; field in InCallViewModel122 mCallDetailLiveData = Transformations.switchMap(mPrimaryCallLiveData, in InCallViewModel()126 mCallConnectTimeLiveData = Transformations.map(mCallDetailLiveData, (details) -> { in InCallViewModel()162 return mCallDetailLiveData; in getPrimaryCallDetail()
67 private MutableLiveData<CallDetail> mCallDetailLiveData; field in OnGoingCallControllerBarFragmentTest87 mCallDetailLiveData = new MutableLiveData<>(); in setup()207 when(mMockInCallViewModel.getPrimaryCallDetail()).thenReturn(mCallDetailLiveData); in addFragment()