Searched refs:getCurrentServices (Results 1 – 14 of 14) sorted by relevance
283 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 …]
134 it.onServicesUpdated(getCurrentServices()) in updateServices()170 val services = getCurrentServices() in addCallback()194 override fun getCurrentServices(): List<ControlsServiceInfo> = in getCurrentServices() method
35 fun getCurrentServices(): List<ControlsServiceInfo> in getCurrentServices() method
137 val availableServices = controlsListingController.getCurrentServices() in <lambda>()178 controlsListingController.getCurrentServices().filter { it.panelActivity != null } in <lambda>()
99 whenever(controlsListingController.getCurrentServices()) in testPanelComponentReturnsComponentNameAsInitialValueWithoutServiceUpdate()182 whenever(controlsListingController.getCurrentServices()) in testMonitoringUpdatesAndRestart()226 whenever(controlsListingController.getCurrentServices()) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
90 whenever(controlsListingController.getCurrentServices()) in setUp()
268 when(mControlsListingController.getCurrentServices()).thenReturn(serviceInfos); in setServiceAvailable()278 when(mControlsListingController.getCurrentServices()).thenReturn(serviceInfos); in setServiceWithPanel()
108 whenever(controlsListingController.getCurrentServices()) in <lambda>()
106 .onStart { emit(controlsListingController.getCurrentServices()) } in <lambda>()
78 component.getControlsListingController().getOrNull()?.getCurrentServices() in <lambda>()
319 `when`(controlsListingController.getCurrentServices()).thenReturn(listings) in testAlreadyAddedPanel_noNewSelection()421 doAnswer { doReturn(listings).`when`(controlsListingController).getCurrentServices() } in setUpControlsListingControls()
139 if (isHomeControlsAvailable(c.getCurrentServices())) { in updateHomeControlsComplication()
208 val anyPanels = controlsListingController.get().getCurrentServices() in <lambda>()462 .getCurrentServices().map { it.componentName }.toSet() in <lambda>()
438 whenever(controlsListingController.getCurrentServices()).thenReturn(listOf(csi)) in testResolveActivityNotSeedingNoDefaultNoFavoritesPanel_ControlsActivity()