Home
last modified time | relevance | path

Searched refs:handleLifecycleEvent (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/
DMediatorLiveDataTest.java71 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); in setup()
72 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in setup()
86 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testSingleDelivery()
98 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testChangeWhileInactive()
101 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in testChangeWhileInactive()
117 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testAddSourceToInActive()
121 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in testAddSourceToInActive()
142 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testSourceInactive()
144 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in testSourceInactive()
157 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testNoLeakObserver()
[all …]
DTransformationsTest.java54 registry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); in setup()
55 registry.handleLifecycleEvent(Lifecycle.Event.ON_START); in setup()
DComputableLiveDataTest.java243 mLifecycle.handleLifecycleEvent(event); in handleEvent()
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
DLiveDataTest.java140 mRegistry.handleLifecycleEvent(ON_START); in testActiveObserverToggle()
145 mRegistry.handleLifecycleEvent(ON_STOP); in testActiveObserverToggle()
151 mRegistry.handleLifecycleEvent(ON_START); in testActiveObserverToggle()
182 mRegistry.handleLifecycleEvent(ON_START); in testAdd2ObserversWithSameOwnerAndRemove()
215 mRegistry.handleLifecycleEvent(ON_START); in testRemoveDestroyedObserver()
222 mRegistry.handleLifecycleEvent(ON_DESTROY); in testRemoveDestroyedObserver()
231 mRegistry.handleLifecycleEvent(ON_DESTROY); in testInactiveRegistry()
239 mRegistry.handleLifecycleEvent(ON_CREATE); in testNotifyActiveInactive()
243 mRegistry.handleLifecycleEvent(ON_START); in testNotifyActiveInactive()
249 mRegistry.handleLifecycleEvent(ON_STOP); in testNotifyActiveInactive()
[all …]
DThreadedLiveDataTest.java77 mRegistry.handleLifecycleEvent(ON_START); in testPostValue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableActivity.java48 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
57 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
63 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
69 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
75 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
81 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
87 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DObservableDialogFragment.java49 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
55 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
61 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
67 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
73 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
79 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DObservableFragment.java54 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
68 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
75 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
82 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
89 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
96 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DObservablePreferenceFragment.java59 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
79 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
86 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
93 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
100 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
107 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
/frameworks/support/lifecycle/process/src/main/java/androidx/lifecycle/
DProcessLifecycleOwner.java108 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in activityStarted()
117 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in activityResumed()
140 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE); in dispatchPauseIfNeeded()
146 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in dispatchStopIfNeeded()
156 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); in attach()
/frameworks/support/loader/src/androidTest/java/androidx/loader/app/
DLoaderInfoTest.java56 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE); in setup()
57 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in setup()
148 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testMarkForRedelivery()
154 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in testMarkForRedelivery()
171 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP); in testMarkForRedelivery_replace()
182 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); in testMarkForRedelivery_replace()
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/
DReportFragment.java115 ((LifecycleRegistryOwner) activity).getLifecycle().handleLifecycleEvent(event); in dispatch()
122 ((LifecycleRegistry) lifecycle).handleLifecycleEvent(event); in dispatch()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinTest.java75 mLifecycle.handleLifecycleEvent(ON_START); in goThroughLifecycle_onStartStop_shouldStartStopController()
78 mLifecycle.handleLifecycleEvent(ON_STOP); in goThroughLifecycle_onStartStop_shouldStartStopController()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragment.java1597 mViewLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE);
1708 mViewLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_DESTROY);
2406 mLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE);
2471 mLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START);
2473 mViewLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START);
2493 mLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME);
2495 mViewLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME);
2623 mViewLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE);
2625 mLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE);
2639 mLifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP);
[all …]
/frameworks/support/lifecycle/runtime/api/
Dcurrent.txt8 method public void handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event);
/frameworks/support/lifecycle/runtime/src/test/java/
DNoPackageTest.java51 mRegistry.handleLifecycleEvent(ON_CREATE); in testNoPackage()
/frameworks/support/lifecycle/runtime/api_legacy/
D1.0.0.txt8 method public void handleLifecycleEvent(android.arch.lifecycle.Lifecycle.Event);
D1.1.0.txt8 method public void handleLifecycleEvent(android.arch.lifecycle.Lifecycle.Event);
Dcurrent.txt8 method public void handleLifecycleEvent(android.arch.lifecycle.Lifecycle.Event);
/frameworks/support/lifecycle/service/src/main/java/androidx/lifecycle/
DServiceLifecycleDispatcher.java104 mRegistry.handleLifecycleEvent(mEvent); in run()
/frameworks/support/lifecycle/reactivestreams/ktx/src/test/java/androidx/lifecycle/
DLiveDataReactiveStreamsTest.kt37 registry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME) in init()
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DLivePagedListBuilderTest.kt48 lifecycle.handleLifecycleEvent(event) in <lambda>()
/frameworks/support/lifecycle/runtime/src/test/java/androidx/lifecycle/
DLifecycleRegistryTest.java444 mRegistry.handleLifecycleEvent(ON_RESUME); in changeStateDuringDescending()
450 mRegistry.handleLifecycleEvent(ON_PAUSE); in changeStateDuringDescending()
590 mRegistry.handleLifecycleEvent(event); in dispatchEvent()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java225 mLifecycle.handleLifecycleEvent(ON_START); in addObserverDuringObserve_shoudNotCrash()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/paging/
DDataSourceFactoryTest.java219 mLifecycle.handleLifecycleEvent(event); in handleEvent()

12