/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttached.kt | 80 var lifecycleOwner: ViewLifecycleOwner? = null in <lambda>() variable 85 lifecycleOwner?.onDestroy() in <lambda>() 86 lifecycleOwner = in <lambda>() 96 lifecycleOwner?.onDestroy() in <lambda>() 97 lifecycleOwner = null in <lambda>() 103 lifecycleOwner = in <lambda>() 115 lifecycleOwner?.onDestroy() in <lambda>() 116 lifecycleOwner = null in <lambda>()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/ |
D | LifecycleEffect.kt | 30 val lifecycleOwner = LocalLifecycleOwner.current constant 31 DisposableEffect(lifecycleOwner) { in <lambda>() 40 lifecycleOwner.lifecycle.addObserver(observer) in <lambda>() 43 lifecycleOwner.lifecycle.removeObserver(observer) in <lambda>()
|
D | OnBackEffect.kt | 56 val lifecycleOwner = LocalLifecycleOwner.current in OnBackEffect() constant 57 DisposableEffect(lifecycleOwner, backDispatcher) { in OnBackEffect() 59 backDispatcher.addCallback(lifecycleOwner, backCallback) in OnBackEffect()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | DreamUniverse.kt | 36 private val lifecycleOwner = constant in com.android.egg.landroid.DreamUniverse 100 composeView.setViewTreeLifecycleOwner(lifecycleOwner) in onAttachedToWindow() 101 composeView.setViewTreeSavedStateRegistryOwner(lifecycleOwner) in onAttachedToWindow() 108 lifecycleOwner.onCreate() in onCreate() 113 lifecycleOwner.onStart() in onDreamingStarted() 118 lifecycleOwner.onStop() in onDreamingStopped()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/compose/ |
D | ComposeInitializer.kt | 67 val lifecycleOwner = ViewLifecycleOwner(root) in onAttachedToWindow() constant 80 get() = lifecycleOwner.lifecycle in onAttachedToWindow() 86 lifecycleOwner.onCreate() in onAttachedToWindow() 90 root.setViewTreeLifecycleOwner(lifecycleOwner) in onAttachedToWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | TileJavaAdapter.kt | 37 lifecycleOwner: LifecycleOwner, in bind() 41 lifecycleOwner.lifecycleScope.launch { in bind() 42 lifecycleOwner.repeatOnLifecycle(Lifecycle.State.RESUMED) { in bind()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/ |
D | Flows.kt | 62 lifecycleOwner: LifecycleOwner, in collectLatestWithLifecycle() 65 ): Job = lifecycleOwner.lifecycleScope.launch { in collectLatestWithLifecycle() 66 lifecycleOwner.repeatOnLifecycle(minActiveState) { in collectLatestWithLifecycle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/ |
D | TaskPreviewSizeProviderTest.kt | 45 private val lifecycleOwner = mock<LifecycleOwner>() constant in com.android.systemui.mediaprojection.appselector.view.TaskPreviewSizeProviderTest 82 createSizeProvider().also { it.onCreate(lifecycleOwner) } in size_phoneDisplayAndRotate_emitsSizeUpdate() 93 val sizeProvider = createSizeProvider().also { it.onCreate(lifecycleOwner) } in size_phoneDisplayAndRotateConfigurationChange_returnsUpdatedSize() 107 sizeProvider.onCreate(lifecycleOwner) in size_phoneDisplayAndRotateConfigurationChange_afterChooserDestroyed_doesNotUpdate() 108 sizeProvider.onDestroy(lifecycleOwner) in size_phoneDisplayAndRotateConfigurationChange_afterChooserDestroyed_doesNotUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/dagger/ |
D | AmbientTouchModule.kt | 32 fun providesLifecycle(lifecycleOwner: LifecycleOwner): Lifecycle { in providesLifecycle() 33 return lifecycleOwner.lifecycle in providesLifecycle()
|
D | AmbientTouchComponent.kt | 36 @BindsInstance lifecycleOwner: LifecycleOwner,
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/presenter/ |
D | Demo.kt | 32 val lifecycleOwner = LocalLifecycleOwner.current in <lambda>() constant 45 update = { view -> sliceData.observe(lifecycleOwner, view) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanelSlicesAdapter.java | 52 public VolumePanelSlicesAdapter(LifecycleOwner lifecycleOwner, in VolumePanelSlicesAdapter() argument 54 mLifecycleOwner = lifecycleOwner; in VolumePanelSlicesAdapter()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/satellite/ |
D | SatelliteDialogUtils.kt | 51 lifecycleOwner: LifecycleOwner, in <lambda>() 56 context, lifecycleOwner.lifecycleScope, type, allowClick) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayService.java | 245 DreamOverlayLifecycleOwner lifecycleOwner, in DreamOverlayService() argument 287 mComplicationComponent = complicationComponentFactory.create(lifecycleOwner, host, in DreamOverlayService() 291 mDreamOverlayComponent = dreamOverlayComponentFactory.create(lifecycleOwner, in DreamOverlayService() 293 mAmbientTouchComponent = ambientTouchComponentFactory.create(lifecycleOwner, in DreamOverlayService() 297 mLifecycleRegistry = lifecycleOwner.getRegistry(); in DreamOverlayService()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/ |
D | RepeatWhenAttachedTest.kt | 307 val lifecycleOwner: LifecycleOwner, constant in com.android.systemui.lifecycle.Invocation 310 get() = lifecycleOwner.lifecycle.currentState 320 override suspend fun invoke(lifecycleOwner: LifecycleOwner, view: View) { in invoke() 321 _invocations.add(Invocation(lifecycleOwner)) in invoke()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/ |
D | QuickSettingsScene.kt | 219 val lifecycleOwner = LocalLifecycleOwner.current in QuickSettingsScene() constant 221 remember(lifecycleOwner, viewModel) { in QuickSettingsScene() 222 viewModel.getFooterActionsViewModel(lifecycleOwner) in QuickSettingsScene() 392 lifecycleOwner = lifecycleOwner, in QuickSettingsScene()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/viewmodel/ |
D | QuickSettingsSceneViewModel.kt | 116 fun getFooterActionsViewModel(lifecycleOwner: LifecycleOwner): FooterActionsViewModel { in getFooterActionsViewModel() 120 return footerActionsViewModelFactory.create(lifecycleOwner) in getFooterActionsViewModel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/ |
D | DreamOverlayModule.java | 188 static Lifecycle providesLifecycle(LifecycleOwner lifecycleOwner) { in providesLifecycle() argument 189 return lifecycleOwner.getLifecycle(); in providesLifecycle()
|
D | DreamOverlayComponent.java | 50 @BindsInstance LifecycleOwner lifecycleOwner, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/ |
D | ComplicationComponent.kt | 19 @BindsInstance lifecycleOwner: LifecycleOwner,
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 50 lifecycle.addObserver((LifecycleEventObserver) (lifecycleOwner, event) -> { in observe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/ |
D | FooterActionsViewModel.kt | 117 fun create(lifecycleOwner: LifecycleOwner): FooterActionsViewModel { in <lambda>() 119 if (lifecycleOwner.lifecycle.currentState == Lifecycle.State.DESTROYED) { in <lambda>() 125 lifecycleOwner.lifecycle.addObserver( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationHostViewController.java | 69 LifecycleOwner lifecycleOwner, in ComplicationHostViewController() argument 74 mLifecycleOwner = lifecycleOwner; in ComplicationHostViewController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/ |
D | ShadeSceneViewModel.kt | 131 fun getFooterActionsViewModel(lifecycleOwner: LifecycleOwner): FooterActionsViewModel { in <lambda>() 135 return footerActionsViewModelFactory.create(lifecycleOwner) in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/ |
D | ShadeScene.kt | 375 val lifecycleOwner = LocalLifecycleOwner.current in SplitShade() constant 377 remember(lifecycleOwner, viewModel) { viewModel.getFooterActionsViewModel(lifecycleOwner) } in SplitShade() 517 lifecycleOwner = lifecycleOwner, in SplitShade()
|