Home
last modified time | relevance | path

Searched refs:viewLifecycleOwner (Results 1 – 25 of 95) sorted by relevance

1234

/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/fragment/
DRFPSEnrollFragment.kt120 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
127 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
131 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
140 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
157 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
163 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
167 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
184 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
187 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
193 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DDualPreviewPagerBinder.kt47 viewLifecycleOwner: LifecycleOwner, in <lambda>()
63 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
64 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
103 lifecycleOwner = viewLifecycleOwner, in <lambda>()
125 viewLifecycleOwner = viewLifecycleOwner, in <lambda>()
158 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
159 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in <lambda>()
DPreviewPagerBinder.kt44 viewLifecycleOwner: LifecycleOwner, in <lambda>()
59 lifecycleOwner = viewLifecycleOwner, in <lambda>()
69 viewLifecycleOwner = viewLifecycleOwner, in <lambda>()
105 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
106 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in <lambda>()
DSmallPreviewBinder.kt49 viewLifecycleOwner: LifecycleOwner, in <lambda>()
100 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
101 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
192 viewLifecycleOwner, in <lambda>()
200 viewLifecycleOwner = viewLifecycleOwner, in <lambda>()
DSmallWallpaperPreviewBinder.kt56 viewLifecycleOwner: LifecycleOwner, in <lambda>()
61 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
62 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
70 lifecycleOwner = viewLifecycleOwner, in <lambda>()
157 viewLifecycleOwner = lifecycleOwner, in <lambda>()
DPreviewSelectorBinder.kt37 viewLifecycleOwner: LifecycleOwner, in bind()
47 viewLifecycleOwner, in bind()
58 TabsBinder.bind(tabs, wallpaperPreviewViewModel, viewLifecycleOwner) in bind()
DDualPreviewSelectorBinder.kt38 viewLifecycleOwner: LifecycleOwner, in bind()
49 viewLifecycleOwner, in bind()
57 TabsBinder.bind(tabs, wallpaperPreviewViewModel, viewLifecycleOwner) in bind()
DTabsBinder.kt33 viewLifecycleOwner: LifecycleOwner, in bind()
47 viewLifecycleOwner.lifecycleScope.launch { in bind()
48 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in bind()
DPreviewEffectsLoadingBinder.kt44 viewLifecycleOwner: LifecycleOwner, in <lambda>()
48 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
49 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DSettingsManageAppPermissionsFragment.kt140 viewModel.appPermissions.observe(viewLifecycleOwner) { permissions -> in <lambda>()
143 viewModel.grantedPermissions.observe(viewLifecycleOwner) { granted -> in <lambda>()
148 viewModel.lastReadPermissionDisconnected.observe(viewLifecycleOwner) { lastRead -> in <lambda>()
159 viewModel.revokeAllPermissionsState.observe(viewLifecycleOwner) { state -> in <lambda>()
170 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()
184 viewModel.showDisableExerciseRouteEvent.observe(viewLifecycleOwner) { event -> in <lambda>()
214 viewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>()
228 viewModel.atLeastOnePermissionGranted.observe(viewLifecycleOwner) { isAtLeastOneGranted in <lambda>()
238 additionalAccessViewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
263 viewModel.allAppPermissionsGranted.observe(viewLifecycleOwner) { isAllGranted -> in <lambda>()
DConnectedAppFragment.kt149 appPermissionViewModel.appPermissions.observe(viewLifecycleOwner) { permissions -> in <lambda>()
152 appPermissionViewModel.grantedPermissions.observe(viewLifecycleOwner) { granted -> in <lambda>()
157 appPermissionViewModel.lastReadPermissionDisconnected.observe(viewLifecycleOwner) { lastRead in <lambda>()
169 deletionViewModel.appPermissionReloadNeeded.observe(viewLifecycleOwner) { isReloadNeeded -> in <lambda>()
173 appPermissionViewModel.revokeAllPermissionsState.observe(viewLifecycleOwner) { state -> in <lambda>()
184 appPermissionViewModel.showDisableExerciseRouteEvent.observe(viewLifecycleOwner) { event -> in <lambda>()
212 appPermissionViewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>()
249 additionalAccessViewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
290 appPermissionViewModel.allAppPermissionsGranted.observe(viewLifecycleOwner) { isAllGranted in <lambda>()
355 appPermissionViewModel.atLeastOnePermissionGranted.observe(viewLifecycleOwner) { in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/fragment/
DSmallPreviewFragment.kt109 lifecycleOwner = viewLifecycleOwner, in <lambda>()
117 lifecycleOwner = viewLifecycleOwner, in <lambda>()
198 viewLifecycleOwner, in <lambda>()
223 viewLifecycleOwner, in <lambda>()
243 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
244 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in <lambda>()
260 lifecycleOwner = viewLifecycleOwner, in <lambda>()
DFullPreviewFragment.kt79 lifecycleOwner = viewLifecycleOwner, in <lambda>()
87 lifecycleOwner = viewLifecycleOwner, in <lambda>()
93 lifecycleOwner = viewLifecycleOwner, in <lambda>()
112 lifecycleOwner = viewLifecycleOwner, in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/
DTetherPreferenceController.kt57 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in onViewCreated()
58 viewLifecycleOwner.lifecycleScope.launch { in onViewCreated()
59 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in onViewCreated()
64 tetheredRepository.tetheredTypesFlow().collectLatestWithLifecycle(viewLifecycleOwner) { in onViewCreated()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/
DAllDataFragment.kt137 viewModel.allData.observe(viewLifecycleOwner) { state -> in <lambda>()
157 deletionViewModel.permissionTypesReloadNeeded.observe(viewLifecycleOwner) { isReloadNeeded in <lambda>()
217 R.menu.all_data_empty_state_menu, viewLifecycleOwner, logger, onDataSourcesClick) in <lambda>()
222 setupMenu(R.menu.all_data_menu, viewLifecycleOwner, logger, onMenuSetup) in <lambda>()
228 R.menu.all_data_delete_menu, viewLifecycleOwner, logger, onEmptyDeleteSetSetup) in <lambda>()
232 setupMenu(R.menu.deletion_state_menu, viewLifecycleOwner, logger, onEnterDeletionState) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DFragmentUtils.kt47 viewLifecycleOwner: LifecycleOwner, in setupMenu()
86 menuProvider, viewLifecycleOwner, Lifecycle.State.RESUMED) in setupMenu()
90 viewLifecycleOwner: LifecycleOwner, in setupSharedMenu()
95 setupMenu(menuRes, viewLifecycleOwner, logger, onMenuItemSelected)
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsageListController.kt54 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in onViewCreated()
55 viewLifecycleOwner.lifecycleScope.launch { in onViewCreated()
56 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in onViewCreated()
DAppDataUsageAppSettingsController.kt58 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in <lambda>()
59 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
60 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in <lambda>()
DAppDataUsageCycleController.kt75 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in onViewCreated()
76 viewLifecycleOwner.lifecycleScope.launch { in onViewCreated()
77 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in onViewCreated()
DDataUsageList.kt117 .collectLatestWithLifecycle(viewLifecycleOwner, action = ::updatePolicy) in <lambda>()
125 viewLifecycleOwner, in <lambda>()
129 viewModel.cyclesFlow.collectLatestWithLifecycle(viewLifecycleOwner) { cycles -> in <lambda>()
132 viewModel.chartDataFlow.collectLatestWithLifecycle(viewLifecycleOwner) { chartData -> in <lambda>()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/
DDataSaverController.kt54 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in <lambda>()
55 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
56 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.kt74 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in <lambda>()
75 allowedNetworkTypesFlowFactory(mSubId).collectLatestWithLifecycle(viewLifecycleOwner) { in <lambda>()
82 .collectLatestWithLifecycle(viewLifecycleOwner) { serviceState -> in <lambda>()
/packages/apps/Settings/src/com/android/settings/system/
DSystemUpdatePreferenceController.kt68 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in onViewCreated()
69 viewLifecycleOwner.lifecycleScope.launch { in onViewCreated()
70 viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) { in onViewCreated()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkPhoneNumberPreferenceController.kt69 override fun onViewCreated(viewLifecycleOwner: LifecycleOwner) { in <lambda>()
78 val coroutineScope = viewLifecycleOwner.lifecycleScope in <lambda>()
86 .collectLatestWithLifecycle(viewLifecycleOwner) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/fragment/
DUdfpsEnrollFragment.kt84 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
181 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
185 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
192 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
200 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
207 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()

1234