Searched refs:ControlsComponent (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/ |
D | ControlsComponentTest.kt | 104 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/ |
D | DreamHomeControlsComplication.java | 22 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/ |
D | HomeControlsKeyguardQuickAffordanceConfigTest.kt | 26 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>()
|
D | HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt | 24 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/ |
D | DeviceControlsTileTest.kt | 38 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/ |
D | HomeControlsComponentInteractorKosmos.kt | 21 import com.android.systemui.controls.dagger.ControlsComponent 47 val Kosmos.controlsComponent by Kosmos.Fixture<ControlsComponent> { mock() } in <lambda>()
|
D | HomeControlsDreamStartableTest.kt | 31 import com.android.systemui.controls.dagger.ControlsComponent 67 private lateinit var controlsComponent: ControlsComponent
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | HomeControlsKeyguardQuickAffordanceConfig.kt | 32 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/ |
D | DeviceControlsTile.kt | 31 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/ |
D | DeviceControlsControllerImpl.kt | 26 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/ |
D | DreamHomeControlsComplicationTest.java | 20 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/ |
D | ControlsStartable.kt | 32 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/ |
D | HomeControlsComponentInteractor.kt | 27 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/ |
D | DeviceControlsControllerImplTest.kt | 30 import com.android.systemui.controls.dagger.ControlsComponent 67 private lateinit var controlsComponent: ControlsComponent
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/ |
D | ControlsComponent.kt | 42 class ControlsComponent class
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/ |
D | ControlsStartableTest.kt | 38 import com.android.systemui.controls.dagger.ControlsComponent 427 val component: ControlsComponent = in createStartable()
|