Home
last modified time | relevance | path

Searched defs:lifecycleOwner (Results 1 – 17 of 17) sorted by relevance

/lifecycle/lifecycle-runtime-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/compose/
DCollectAsStateWithLifecycleTests.kt94 val lifecycleOwner = TestLifecycleOwner(Lifecycle.State.CREATED) in <lambda>() constant
116 val lifecycleOwner = TestLifecycleOwner(Lifecycle.State.CREATED) in <lambda>() constant
133 val lifecycleOwner = TestLifecycleOwner(Lifecycle.State.CREATED) in <lambda>() constant
158 val lifecycleOwner = TestLifecycleOwner(Lifecycle.State.RESUMED) in <lambda>() constant
177 val lifecycleOwner = TestLifecycleOwner(Lifecycle.State.CREATED) in <lambda>() constant
200 val lifecycleOwner = TestLifecycleOwner(state) in withLifecycleOwner() constant
DDropUnlessLifecycleTest.kt58 val lifecycleOwner = in testDropUnlessStarted() constant
103 val lifecycleOwner = in testDropUnlessResumed() constant
DLifecycleExtTest.kt31 private val lifecycleOwner = constant in androidx.lifecycle.compose.LifecycleExtTest
DLifecycleEffectTest.kt37 private lateinit var lifecycleOwner: TestLifecycleOwner variable in androidx.lifecycle.compose.LifecycleEffectTest
/lifecycle/lifecycle-runtime/src/androidMain/kotlin/androidx/lifecycle/
DViewTreeLifecycleOwner.android.kt53 val lifecycleOwner = currentView.getTag(R.id.view_tree_lifecycle_owner) as? LifecycleOwner in findViewTreeLifecycleOwner() constant
/lifecycle/lifecycle-runtime/src/jvmCommonMain/kotlin/androidx/lifecycle/
DLifecycleRegistry.jvm.kt52 private val lifecycleOwner: WeakReference<LifecycleOwner> constant
179 val lifecycleOwner = in addObserver() constant
275 val lifecycleOwner = in sync() constant
/lifecycle/lifecycle-runtime/src/nonJvmCommonMain/kotlin/androidx/lifecycle/
DLifecycleRegistry.nonJvm.kt48 private val lifecycleOwner: WeakReference<LifecycleOwner> in <lambda>() constant
166 val lifecycleOwner = in <lambda>() constant
289 val lifecycleOwner = in <lambda>() constant
/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DLiveDataOnSaveInstanceStateTest.java113 private void liveData_partiallyObscuredLifecycleOwner_maxSdkM(LifecycleOwner lifecycleOwner) in liveData_partiallyObscuredLifecycleOwner_maxSdkM()
139 private void liveData_partiallyObscuredLifecycleOwner_minSdkN(LifecycleOwner lifecycleOwner) in liveData_partiallyObscuredLifecycleOwner_minSdkN()
DSynchronousActivityLifecycleTest.java186 public void onStateChanged(@NonNull LifecycleOwner lifecycleOwner, @NonNull Event event) { in onStateChanged()
/lifecycle/lifecycle-runtime/src/androidUnitTest/kotlin/
DNoPackageTest.kt31 private lateinit var lifecycleOwner: LifecycleOwner variable in NoPackageTest
/lifecycle/lifecycle-runtime-testing/src/commonTest/kotlin/androidx/lifecycle/testing/
DLifecycleRegistryTest.kt37 private val lifecycleOwner = TestLifecycleOwner(Lifecycle.State.INITIALIZED, dispatcher) in <lambda>() constant
/lifecycle/lifecycle-reactivestreams/src/test/java/androidx/lifecycle/
DLiveDataReactiveStreamsExtensionTest.kt33 private lateinit var lifecycleOwner: LifecycleOwner variable in androidx.lifecycle.LiveDataReactiveStreamsExtensionTest
DLiveDataReactiveStreamsTest.kt44 private lateinit var lifecycleOwner: TestLifecycleOwner in <lambda>() variable in androidx.lifecycle.LiveDataReactiveStreamsTest
/lifecycle/lifecycle-livedata-core/src/test/java/androidx/lifecycle/
DThreadedLiveDataTest.kt37 private lateinit var lifecycleOwner: TestLifecycleOwner in <lambda>() variable in androidx.lifecycle.ThreadedLiveDataTest
DLiveDataTest.kt99 val lifecycleOwner = TestLifecycleOwner(coroutineDispatcher = UnconfinedTestDispatcher()) in <lambda>() constant
/lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/
DViewModelTest.android.kt55 val lifecycleOwner = LocalLifecycleOwner.current in nullViewModelStoreOwner() constant
/lifecycle/lifecycle-livedata/src/test/java/androidx/lifecycle/
DComputableLiveDataTest.kt50 private lateinit var lifecycleOwner: TestLifecycleOwner in <lambda>() variable in androidx.lifecycle.ComputableLiveDataTest