Home
last modified time | relevance | path

Searched refs:embeddedLifecycle (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/inject/
DObtainViewModel.kt53 val embeddedLifecycle = LocalEmbeddedLifecycle.current in obtainViewModel() constant
54 checkNotNull(embeddedLifecycle) { in obtainViewModel()
60 LocalViewModelStoreOwner provides embeddedLifecycle, in obtainViewModel()
61 LocalLifecycleOwner provides embeddedLifecycle, in obtainViewModel()
62 LocalSavedStateRegistryOwner provides embeddedLifecycle, in obtainViewModel()
66 embeddedLifecycle, in obtainViewModel()
67 factory = embeddedLifecycle.defaultViewModelProviderFactory in obtainViewModel()
DEmbeddedServiceModule.kt76 private lateinit var embeddedLifecycle: EmbeddedLifecycle in <lambda>() variable in com.android.photopicker.core.EmbeddedServiceModule
86 if (::embeddedLifecycle.isInitialized) { in <lambda>()
87 return embeddedLifecycle in <lambda>()
90 embeddedLifecycle = EmbeddedLifecycle(viewModelFactory) in <lambda>()
91 return embeddedLifecycle in <lambda>()
128 embeddedLifecycle: EmbeddedLifecycle, in <lambda>()
135 embeddedLifecycle.lifecycle.addObserver( in <lambda>()
255 embeddedLifecycle: EmbeddedLifecycle, in <lambda>()
263 embeddedLifecycle.lifecycle.addObserver( in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/inject/
DPhotopickerTestModule.kt79 val embeddedLifecycle = EmbeddedLifecycle(viewModelFactory) in provideEmbeddedLifecycle() constant
80 return embeddedLifecycle in provideEmbeddedLifecycle()