Home
last modified time | relevance | path

Searched refs:foregroundServices (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt259 fun foregroundServices() = runTest { in <lambda>() method in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModelTest
290 val currentForegroundServices = collectLastValue(underTest.foregroundServices) in <lambda>()
299 val foregroundServices = currentForegroundServices() in <lambda>() constant
300 assertThat(foregroundServices).isNotNull() in <lambda>()
301 assertThat(foregroundServices!!.foregroundServicesCount).isEqualTo(1) in <lambda>()
302 assertThat(foregroundServices.text).isEqualTo("1 app is active") in <lambda>()
303 assertThat(foregroundServices.displayText).isTrue() in <lambda>()
304 assertThat(foregroundServices.onClick).isNotNull() in <lambda>()
311 assertThat(foregroundServices.hasNewChanges).isFalse() in <lambda>()
322 assertThat(foregroundServices.displayText).isTrue() in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt139 var foregroundServices by remember { in FooterActions() variable
149 viewModel.foregroundServices, in FooterActions()
160 launch { viewModel.foregroundServices.collect { foregroundServices = it } } in FooterActions()
217 if (security == null && foregroundServices == null) { in FooterActions()
222 foregroundServices?.let { ForegroundServicesButton(it) } in FooterActions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModel.kt60 val foregroundServices: Flow<FooterActionsForegroundServicesButtonViewModel?>, in <lambda>() constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModel
219 val foregroundServices = in FooterActionsViewModel() constant
274 foregroundServices = foregroundServices, in FooterActionsViewModel()
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java314 void setForegroundServices(boolean foregroundServices) { in setForegroundServices() argument
315 mForegroundServices = foregroundServices; in setForegroundServices()
DProcessList.java969 Pair<Integer, Integer> foregroundServices = in init()
972 foregroundServices.first, in init()
973 foregroundServices.second); in init()