Home
last modified time | relevance | path

Searched refs:getCurrentServices (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt283 assertNull(controller.getCurrentServices()[0].panelActivity) in test_nullPanelActivity()
298 assertNull(controller.getCurrentServices()[0].panelActivity) in testNoActivity_nullPanel()
315 assertNull(controller.getCurrentServices()[0].panelActivity) in testActivityWithoutPermission_nullPanel()
334 assertNull(controller.getCurrentServices()[0].panelActivity) in testActivityPermissionNotExported_nullPanel()
357 assertNull(controller.getCurrentServices()[0].panelActivity) in testActivityDisabled_nullPanel()
383 assertEquals(activityName, controller.getCurrentServices()[0].panelActivity) in testActivityEnabled_correctPanel()
410 assertEquals(activityName, controller.getCurrentServices()[0].panelActivity) in testActivityDefaultEnabled_correctPanel()
437 assertNull(controller.getCurrentServices()[0].panelActivity) in testActivityDefaultDisabled_nullPanel()
464 assertNull(controller.getCurrentServices()[0].panelActivity) in testActivityDifferentPackage_nullPanel()
493 assertEquals(activityName, controller.getCurrentServices()[0].panelActivity) in testPackageNotPreferred_correctPanel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsListingControllerImpl.kt134 it.onServicesUpdated(getCurrentServices()) in updateServices()
170 val services = getCurrentServices() in addCallback()
194 override fun getCurrentServices(): List<ControlsServiceInfo> = in getCurrentServices() method
DControlsListingController.kt35 fun getCurrentServices(): List<ControlsServiceInfo> in getCurrentServices() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/
DControlsStartable.kt137 val availableServices = controlsListingController.getCurrentServices() in <lambda>()
178 controlsListingController.getCurrentServices().filter { it.panelActivity != null } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsComponentInteractorTest.kt99 whenever(controlsListingController.getCurrentServices()) in testPanelComponentReturnsComponentNameAsInitialValueWithoutServiceUpdate()
182 whenever(controlsListingController.getCurrentServices()) in testMonitoringUpdatesAndRestart()
226 whenever(controlsListingController.getCurrentServices()) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
DHomeControlsDreamStartableTest.kt90 whenever(controlsListingController.getCurrentServices()) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamHomeControlsComplicationTest.java268 when(mControlsListingController.getCurrentServices()).thenReturn(serviceInfos); in setServiceAvailable()
278 when(mControlsListingController.getCurrentServices()).thenReturn(serviceInfos); in setServiceWithPanel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt108 whenever(controlsListingController.getCurrentServices()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/
DHomeControlsComponentInteractor.kt106 .onStart { emit(controlsListingController.getCurrentServices()) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt78 component.getControlsListingController().getOrNull()?.getCurrentServices() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/
DControlsStartableTest.kt319 `when`(controlsListingController.getCurrentServices()).thenReturn(listings) in testAlreadyAddedPanel_noNewSelection()
421 doAnswer { doReturn(listings).`when`(controlsListingController).getCurrentServices() } in setUpControlsListingControls()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DDreamHomeControlsComplication.java139 if (isHomeControlsAvailable(c.getCurrentServices())) { in updateHomeControlsComplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt208 val anyPanels = controlsListingController.get().getCurrentServices() in <lambda>()
462 .getCurrentServices().map { it.componentName }.toSet() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsUiControllerImplTest.kt438 whenever(controlsListingController.getCurrentServices()).thenReturn(listOf(csi)) in testResolveActivityNotSeedingNoDefaultNoFavoritesPanel_ControlsActivity()