Searched refs:GenericLifecycleObserver (Results 1 – 16 of 16) sorted by relevance
40 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()
19 import androidx.lifecycle.GenericLifecycleObserver;26 public class LibraryBaseObserver_LifecycleAdapter implements GenericLifecycleObserver {
69 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()
47 static GenericLifecycleObserver getCallback(Object object) { in getCallback()52 if (object instanceof GenericLifecycleObserver) { in getCallback()53 return (GenericLifecycleObserver) object; in getCallback()
27 public interface GenericLifecycleObserver extends LifecycleObserver { interface
25 public class SingleGeneratedAdapterObserver implements GenericLifecycleObserver {
25 class ReflectiveGenericLifecycleObserver implements GenericLifecycleObserver {
19 class FullLifecycleObserverAdapter implements GenericLifecycleObserver {
26 public class CompositeGeneratedAdaptersObserver implements GenericLifecycleObserver {
606 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 …]
META-INF/ META-INF/MANIFEST.MF test/ test/library/ test/ ...
168 private static class TestObserver implements GenericLifecycleObserver {
351 class LifecycleBoundObserver extends ObserverWrapper implements GenericLifecycleObserver {
345 GenericLifecycleObserver mLifecycleObserver;
68 GenericLifecycleObserver generic = mock(GenericLifecycleObserver.class); in addGenericAndObserve()
2208 … "android/arch/lifecycle/GenericLifecycleObserver": "androidx/lifecycle/GenericLifecycleObserver",