Searched refs:hasActiveObservers (Results 1 – 11 of 11) sorted by relevance
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/ |
D | LiveDataTest.java | 123 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/ |
D | FragmentViewLifecycleTest.java | 172 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/ |
D | current.txt | 6 method public boolean hasActiveObservers();
|
/frameworks/support/lifecycle/livedata-core/api_legacy/ |
D | current.txt | 6 method public boolean hasActiveObservers();
|
D | 1.1.0.txt | 6 method public boolean hasActiveObservers();
|
/frameworks/support/lifecycle/livedata/src/main/java/androidx/lifecycle/ |
D | ComputableLiveData.java | 127 boolean isActive = mLiveData.hasActiveObservers();
|
D | MediatorLiveData.java | 95 if (hasActiveObservers()) { in addSource()
|
/frameworks/support/loader/src/main/java/androidx/loader/app/ |
D | LoaderManagerImpl.java | 125 if (!hasActiveObservers()) { in isCallbackWaitingForData() 223 hasActiveObservers()); in dump()
|
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/ |
D | LiveData.java | 347 public boolean hasActiveObservers() { in hasActiveObservers() method in LiveData
|
/frameworks/support/lifecycle/extensions/api_legacy/ |
D | 1.0.0.txt | 26 method public boolean hasActiveObservers();
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 355 if (mLiveData != null && mLiveData.hasActiveObservers()) { in setupUri()
|