Home
last modified time | relevance | path

Searched refs:hasObservers (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
DLiveDataTest.java122 assertThat(mLiveData.hasObservers(), is(true)); in testObserverToggle()
127 assertThat(mLiveData.hasObservers(), is(false)); in testObserverToggle()
137 assertThat(mLiveData.hasObservers(), is(true)); in testActiveObserverToggle()
148 assertThat(mLiveData.hasObservers(), is(true)); in testActiveObserverToggle()
154 assertThat(mLiveData.hasObservers(), is(true)); in testActiveObserverToggle()
160 assertThat(mLiveData.hasObservers(), is(false)); in testActiveObserverToggle()
170 assertThat(mLiveData.hasObservers(), is(true)); in testReAddSameObserverTuple()
179 assertThat(mLiveData.hasObservers(), is(true)); in testAdd2ObserversWithSameOwnerAndRemove()
190 assertThat(mLiveData.hasObservers(), is(false)); in testAdd2ObserversWithSameOwnerAndRemove()
217 assertThat(mLiveData.hasObservers(), is(true)); in testRemoveDestroyedObserver()
[all …]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DFragmentViewLifecycleTest.java231 mLiveData.hasObservers()); in onCreateView()
261 mLiveData.hasObservers()); in onCreateView()
270 mLiveData.hasObservers()); in onViewCreated()
278 mLiveData.hasObservers()); in onViewStateRestored()
/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/
DMediatorLiveDataTest.java153 assertThat(mSource.hasObservers(), is(false)); in testNoLeakObserver()
156 assertThat(mSource.hasObservers(), is(true)); in testNoLeakObserver()
160 assertThat(mSource.hasObservers(), is(false)); in testNoLeakObserver()
DTransformationsTest.java193 assertThat(first.hasObservers(), is(false)); in testSwitchMapToNull()
/frameworks/base/libs/hwui/
DFrameMetricsReporter.h47 bool hasObservers() { return mObservers.size() > 0; } in hasObservers() function
/frameworks/support/lifecycle/livedata-core/api/
Dcurrent.txt7 method public boolean hasObservers();
/frameworks/support/lifecycle/livedata-core/api_legacy/
Dcurrent.txt7 method public boolean hasObservers();
D1.1.0.txt7 method public boolean hasObservers();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewBasicTest.java187 assertTrue("attached adapter should have observables", adapterOld.hasObservers()); in observingAdapters()
191 assertFalse("detached adapter should lose observable", adapterOld.hasObservers()); in observingAdapters()
192 assertTrue("new adapter should have observers", adapterNew.hasObservers()); in observingAdapters()
197 adapterNew.hasObservers()); in observingAdapters()
/frameworks/support/lifecycle/reactivestreams/src/test/java/androidx/lifecycle/
DLiveDataReactiveStreamsTest.java260 assertThat(liveData.hasObservers(), is(true)); in convertingToPublisherIsCancelable()
268 assertThat(liveData.hasObservers(), is(false)); in convertingToPublisherIsCancelable()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h178 if (!mFrameMetricsReporter->hasObservers()) { in removeFrameMetricsObserver()
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/
DLiveData.java337 public boolean hasObservers() { in hasObservers() method in LiveData
/frameworks/support/lifecycle/extensions/api_legacy/
D1.0.0.txt27 method public boolean hasObservers();
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java6370 if (hasObservers()) { in setHasStableIds()
6495 public final boolean hasObservers() { in hasObservers() method in RecyclerView.Adapter
6496 return mObservable.hasObservers(); in hasObservers()
11031 public boolean hasObservers() { in hasObservers() method in RecyclerView.AdapterDataObservable
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java6811 if (hasObservers()) { in setHasStableIds()
6936 public final boolean hasObservers() { in hasObservers() method in RecyclerView.Adapter
6937 return mObservable.hasObservers(); in hasObservers()
11941 public boolean hasObservers() { in hasObservers() method in RecyclerView.AdapterDataObservable
/frameworks/support/v7/recyclerview/api_legacy/
D27.0.0.txt380 method public final boolean hasObservers();
D26.1.0.txt378 method public final boolean hasObservers();
D26.0.0.txt378 method public final boolean hasObservers();
Dcurrent.txt431 method public final boolean hasObservers();
D28.0.0-alpha1.txt431 method public final boolean hasObservers();
D27.1.0.txt432 method public final boolean hasObservers();
/frameworks/support/v7/recyclerview/api/
Dcurrent.txt449 method public final boolean hasObservers();
/frameworks/support/api/
D22.0.0.txt5605 method public final boolean hasObservers();
D22.1.0.txt6241 method public final boolean hasObservers();
D22.2.0.txt7890 method public final boolean hasObservers();

12