Home
last modified time | relevance | path

Searched refs:getControlsController (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt83 assertTrue(component.getControlsController().isPresent) in testFeatureEnabled()
84 assertEquals(controller, component.getControlsController().get()) in testFeatureEnabled()
95 assertFalse(component.getControlsController().isPresent) in testFeatureDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImpl.kt74 controlsComponent.getControlsController().ifPresent { in <lambda>()
134 val controlsController = controlsComponent.getControlsController().get() in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfigTest.kt70 whenever(component.getControlsController()).thenReturn(Optional.of(controlsController)) in <lambda>()
89 whenever(component.getControlsController()).thenReturn(Optional.of(controlsController)) in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt100 whenever(component.getControlsController()).thenReturn(Optional.of(controlsController)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDeviceControlsTile.kt93 return controlsComponent.getControlsController().isPresent in isAvailable()
137 .getControlsController().get().getPreferredSelection() in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt80 component.getControlsController().getOrNull()?.getFavorites()?.isNotEmpty() == true in <lambda>()
152 component.getControlsController().getOrNull()?.getFavorites() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt69 fun getControlsController(): Optional<ControlsController> = controlsController in getControlsController() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/
DControlsStartable.kt82 get() = controlsComponent.getControlsController().get() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImplTest.kt101 `when`(controlsComponent.getControlsController()) in capture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/
DControlsStartableTest.kt431 `when`(getControlsController()).thenReturn(Optional.of(controlsController)) in createStartable()
435 `when`(getControlsController()).thenReturn(Optional.empty()) in createStartable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamHomeControlsComplicationTest.java114 when(mControlsComponent.getControlsController()).thenReturn( in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DDreamHomeControlsComplication.java152 final boolean hasFavorites = mControlsComponent.getControlsController() in isHomeControlsAvailable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDeviceControlsTileTest.kt139 `when`(controlsComponent.getControlsController()).thenAnswer { in setupControlsComponent()