Home
last modified time | relevance | path

Searched refs:hasActiveObservers (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
DLiveDataTest.java123 assertThat(mLiveData.hasActiveObservers(), is(false)); in testObserverToggle()
128 assertThat(mLiveData.hasActiveObservers(), is(false)); in testObserverToggle()
138 assertThat(mLiveData.hasActiveObservers(), is(false)); in testActiveObserverToggle()
142 assertThat(mLiveData.hasActiveObservers(), is(true)); in testActiveObserverToggle()
147 assertThat(mLiveData.hasActiveObservers(), is(false)); in testActiveObserverToggle()
153 assertThat(mLiveData.hasActiveObservers(), is(true)); in testActiveObserverToggle()
159 assertThat(mLiveData.hasActiveObservers(), is(false)); in testActiveObserverToggle()
218 assertThat(mLiveData.hasActiveObservers(), is(true)); in testRemoveDestroyedObserver()
224 assertThat(mLiveData.hasActiveObservers(), is(false)); in testRemoveDestroyedObserver()
291 assertThat(mLiveData.hasActiveObservers(), is(false)); in testActiveChangeInCallback()
[all …]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DFragmentViewLifecycleTest.java172 fragment.mLiveData.hasActiveObservers()); in testFragmentViewLifecycleDetach()
178 fragment.mLiveData.hasActiveObservers()); in testFragmentViewLifecycleDetach()
200 fragment.mLiveData.hasActiveObservers()); in testFragmentViewLifecycleReattach()
207 fragment.mLiveData.hasActiveObservers()); in testFragmentViewLifecycleReattach()
215 fragment.mLiveData.hasActiveObservers()); in testFragmentViewLifecycleReattach()
/frameworks/support/lifecycle/livedata-core/api/
Dcurrent.txt6 method public boolean hasActiveObservers();
/frameworks/support/lifecycle/livedata-core/api_legacy/
Dcurrent.txt6 method public boolean hasActiveObservers();
D1.1.0.txt6 method public boolean hasActiveObservers();
/frameworks/support/lifecycle/livedata/src/main/java/androidx/lifecycle/
DComputableLiveData.java127 boolean isActive = mLiveData.hasActiveObservers();
DMediatorLiveData.java95 if (hasActiveObservers()) { in addSource()
/frameworks/support/loader/src/main/java/androidx/loader/app/
DLoaderManagerImpl.java125 if (!hasActiveObservers()) { in isCallbackWaitingForData()
223 hasActiveObservers()); in dump()
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/
DLiveData.java347 public boolean hasActiveObservers() { in hasActiveObservers() method in LiveData
/frameworks/support/lifecycle/extensions/api_legacy/
D1.0.0.txt26 method public boolean hasActiveObservers();
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java355 if (mLiveData != null && mLiveData.hasActiveObservers()) { in setupUri()