Home
last modified time | relevance | path

Searched refs:ControlsComponent (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt104 assertEquals(ControlsComponent.Visibility.UNAVAILABLE, component.getVisibility()) in testFeatureDisabledVisibility()
113 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAfterBootVisibility()
123 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
133 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
143 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
172 private fun setupComponent(enabled: Boolean): ControlsComponent { in setupComponent()
173 return ControlsComponent( in setupComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DDreamHomeControlsComplication.java22 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.AVAILABLE;
23 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.AVAILABLE_AFTER_UNL…
24 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.UNAVAILABLE;
42 import com.android.systemui.controls.dagger.ControlsComponent;
92 private final ControlsComponent mControlsComponent;
120 ControlsComponent controlsComponent, in Registrant()
162 final ControlsComponent.Visibility visibility = mControlsComponent.getVisibility(); in isHomeControlsAvailable()
208 private final ControlsComponent mControlsComponent;
226 ControlsComponent controlsComponent, in DreamHomeControlsChipViewController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfigTest.kt26 import com.android.systemui.controls.dagger.ControlsComponent
46 @Mock private lateinit var component: ControlsComponent
72 whenever(component.getVisibility()).thenReturn(ControlsComponent.Visibility.AVAILABLE) in <lambda>()
91 whenever(component.getVisibility()).thenReturn(ControlsComponent.Visibility.AVAILABLE) in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt24 import com.android.systemui.controls.dagger.ControlsComponent in <lambda>()
76 @Mock private lateinit var component: ControlsComponent in <lambda>()
121 ControlsComponent.Visibility.AVAILABLE in <lambda>()
123 ControlsComponent.Visibility.UNAVAILABLE in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDeviceControlsTileTest.kt38 import com.android.systemui.controls.dagger.ControlsComponent
88 private lateinit var controlsComponent: ControlsComponent
239 `when`(controlsComponent.getVisibility()).thenReturn(ControlsComponent.Visibility.AVAILABLE) in testStateActiveIfListingsHasControlsFavorited()
260 `when`(controlsComponent.getVisibility()).thenReturn(ControlsComponent.Visibility.AVAILABLE) in testStateInactiveIfListingsHasNoControlsFavorited()
277 `when`(controlsComponent.getVisibility()).thenReturn(ControlsComponent.Visibility.AVAILABLE) in testStateActiveIfPreferredIsPanel()
294 .thenReturn(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK) in testStateInactiveIfLocked()
332 `when`(controlsComponent.getVisibility()).thenReturn(ControlsComponent.Visibility.AVAILABLE) in handleClick_available_shownOverLockscreenWhenLocked()
363 .thenReturn(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK) in handleClick_availableAfterUnlock_notShownOverLockscreenWhenLocked()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsComponentInteractorKosmos.kt21 import com.android.systemui.controls.dagger.ControlsComponent
47 val Kosmos.controlsComponent by Kosmos.Fixture<ControlsComponent> { mock() } in <lambda>()
DHomeControlsDreamStartableTest.kt31 import com.android.systemui.controls.dagger.ControlsComponent
67 private lateinit var controlsComponent: ControlsComponent
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt32 import com.android.systemui.controls.dagger.ControlsComponent in <lambda>()
52 private val component: ControlsComponent, in <lambda>()
179 visibility: ControlsComponent.Visibility, in <lambda>()
187 visibility == ControlsComponent.Visibility.AVAILABLE in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDeviceControlsTile.kt31 import com.android.systemui.controls.dagger.ControlsComponent
32 import com.android.systemui.controls.dagger.ControlsComponent.Visibility.AVAILABLE
59 private val controlsComponent: ControlsComponent
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImpl.kt26 import com.android.systemui.controls.dagger.ControlsComponent in <lambda>()
47 private val controlsComponent: ControlsComponent, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamHomeControlsComplicationTest.java20 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.AVAILABLE;
45 import com.android.systemui.controls.dagger.ControlsComponent;
77 private ControlsComponent mControlsComponent;
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/
DControlsStartable.kt32 import com.android.systemui.controls.dagger.ControlsComponent in <lambda>()
70 private val controlsComponent: ControlsComponent, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/
DHomeControlsComponentInteractor.kt27 import com.android.systemui.controls.dagger.ControlsComponent in <lambda>()
65 controlsComponent: ControlsComponent, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImplTest.kt30 import com.android.systemui.controls.dagger.ControlsComponent
67 private lateinit var controlsComponent: ControlsComponent
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt42 class ControlsComponent class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/
DControlsStartableTest.kt38 import com.android.systemui.controls.dagger.ControlsComponent
427 val component: ControlsComponent = in createStartable()