Home
last modified time | relevance | path

Searched refs:GenericLifecycleObserver (Results 1 – 16 of 16) sorted by relevance

/frameworks/support/lifecycle/common/src/test/java/androidx/lifecycle/
DLifecyclingTest.java40 GenericLifecycleObserver callback = Lifecycling.getCallback(new DerivedWithNewMethods()); in testDerivedWithNewLfMethodsNoGeneratedAdapter()
46 GenericLifecycleObserver callback = Lifecycling.getCallback(new DerivedWithNoNewMethods()); in testDerivedWithNoNewLfMethodsNoGeneratedAdapter()
52 GenericLifecycleObserver callback = Lifecycling.getCallback( in testDerivedWithOverridenMethodsNoGeneratedAdapter()
60 GenericLifecycleObserver callback = Lifecycling.getCallback(new InterfaceImpl1()); in testInterfaceImpl1NoGeneratedAdapter()
66 GenericLifecycleObserver callback = Lifecycling.getCallback(new InterfaceImpl2()); in testInterfaceImpl2NoGeneratedAdapter()
72 GenericLifecycleObserver callback = Lifecycling.getCallback(new InterfaceImpl3()); in testInterfaceImpl3NoGeneratedAdapter()
78 GenericLifecycleObserver callback2 = Lifecycling.getCallback(new DerivedSequence2()); in testDerivedSequence()
80 GenericLifecycleObserver callback1 = Lifecycling.getCallback(new DerivedSequence1()); in testDerivedSequence()
/frameworks/support/lifecycle/compiler/src/tests/test-data/lib/src/test/library/
DLibraryBaseObserver_LifecycleAdapter.java19 import androidx.lifecycle.GenericLifecycleObserver;
26 public class LibraryBaseObserver_LifecycleAdapter implements GenericLifecycleObserver {
/frameworks/support/lifecycle/integration-tests/testapp/src/test/java/androidx/lifecycle/
DGeneratedAdaptersTest.java69 GenericLifecycleObserver callback = Lifecycling.getCallback(new SimpleObserver(actual)); in testSimpleSingleGeneratedAdapter()
96 GenericLifecycleObserver callback = Lifecycling.getCallback(new TestObserver(actual)); in testOnAny()
145 GenericLifecycleObserver callback = Lifecycling.getCallback(new Impl1(actual)); in testClashingInterfaces()
206 GenericLifecycleObserver callback = Lifecycling.getCallback(new Derived(actual)); in testClashingClassAndInterface()
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/
DLifecycling.java47 static GenericLifecycleObserver getCallback(Object object) { in getCallback()
52 if (object instanceof GenericLifecycleObserver) { in getCallback()
53 return (GenericLifecycleObserver) object; in getCallback()
DGenericLifecycleObserver.java27 public interface GenericLifecycleObserver extends LifecycleObserver { interface
DSingleGeneratedAdapterObserver.java25 public class SingleGeneratedAdapterObserver implements GenericLifecycleObserver {
DReflectiveGenericLifecycleObserver.java25 class ReflectiveGenericLifecycleObserver implements GenericLifecycleObserver {
DFullLifecycleObserverAdapter.java19 class FullLifecycleObserverAdapter implements GenericLifecycleObserver {
DCompositeGeneratedAdaptersObserver.java26 public class CompositeGeneratedAdaptersObserver implements GenericLifecycleObserver {
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
DLiveDataTest.java606 GenericLifecycleObserver lifecycleObserver = getGenericLifecycleObserver(mLifecycle3); in setValue_lifecycleIsCreatedNoEvent_liveDataBecomesInactiveAndObserverNotCalled()
639 GenericLifecycleObserver lifecycleObserver = getGenericLifecycleObserver(mLifecycle3); in test_liveDataInactiveViaSetValueThenLifecycleResumes()
675 GenericLifecycleObserver lifecycleObserver3 = getGenericLifecycleObserver(mLifecycle3); in setValue_oneOfTwoLifecyclesAreCreatedNoEvent()
676 GenericLifecycleObserver lifecycleObserver4 = getGenericLifecycleObserver(mLifecycle4); in setValue_oneOfTwoLifecyclesAreCreatedNoEvent()
713 GenericLifecycleObserver lifecycleObserver3 = getGenericLifecycleObserver(mLifecycle3); in setValue_twoLifecyclesAreCreatedNoEvent()
714 GenericLifecycleObserver lifecycleObserver4 = getGenericLifecycleObserver(mLifecycle4); in setValue_twoLifecyclesAreCreatedNoEvent()
754 GenericLifecycleObserver lifecycleObserver3 = getGenericLifecycleObserver(mLifecycle3); in test_liveDataInactiveViaSetValueThenOneLifecycleResumes()
755 GenericLifecycleObserver lifecycleObserver4 = getGenericLifecycleObserver(mLifecycle4); in test_liveDataInactiveViaSetValueThenOneLifecycleResumes()
805 private GenericLifecycleObserver getGenericLifecycleObserver(Lifecycle lifecycle) { in getGenericLifecycleObserver()
806 ArgumentCaptor<GenericLifecycleObserver> captor = in getGenericLifecycleObserver()
[all …]
/frameworks/support/lifecycle/compiler/src/tests/test-data/lib/
Dtest-library.jarMETA-INF/ META-INF/MANIFEST.MF test/ test/library/ test/ ...
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DSynchronousActivityLifecycleTest.java168 private static class TestObserver implements GenericLifecycleObserver {
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/
DLiveData.java351 class LifecycleBoundObserver extends ObserverWrapper implements GenericLifecycleObserver {
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/
DLifecycleRegistry.java345 GenericLifecycleObserver mLifecycleObserver;
/frameworks/support/lifecycle/runtime/src/test/java/androidx/lifecycle/
DLifecycleRegistryTest.java68 GenericLifecycleObserver generic = mock(GenericLifecycleObserver.class); in addGenericAndObserve()
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config2208 … "android/arch/lifecycle/GenericLifecycleObserver": "androidx/lifecycle/GenericLifecycleObserver",