Home
last modified time | relevance | path

Searched refs:PickerScreenState (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceConfig.kt55 suspend fun getPickerScreenState(): PickerScreenState = PickerScreenState.Default() in pickerName()
69 sealed class PickerScreenState { in pickerName() class
75 ) : PickerScreenState() in pickerName()
81 object UnavailableOnDevice : PickerScreenState() in pickerName()
102 ) : PickerScreenState() { in pickerName()
DQuickAccessWalletKeyguardQuickAffordanceConfig.kt128 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in <lambda>()
131 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in <lambda>()
133 KeyguardQuickAffordanceConfig.PickerScreenState.Disabled( in <lambda>()
140 KeyguardQuickAffordanceConfig.PickerScreenState.Disabled( in <lambda>()
146 else -> KeyguardQuickAffordanceConfig.PickerScreenState.Default() in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfig.kt72 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in <lambda>()
74 return KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in <lambda>()
122 return KeyguardQuickAffordanceConfig.PickerScreenState.Default() in <lambda>()
208 ): KeyguardQuickAffordanceConfig.PickerScreenState.Disabled { in <lambda>()
211 return KeyguardQuickAffordanceConfig.PickerScreenState.Disabled( in <lambda>()
DQrCodeScannerKeyguardQuickAffordanceConfig.kt79 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in getPickerScreenState()
82 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in getPickerScreenState()
83 else -> KeyguardQuickAffordanceConfig.PickerScreenState.Default() in getPickerScreenState()
DFlashlightQuickAffordanceConfig.kt135 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState = in getPickerScreenState()
137 KeyguardQuickAffordanceConfig.PickerScreenState.Default() in getPickerScreenState()
139 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice
DGlanceableHubQuickAffordanceConfig.kt56 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in getPickerScreenState()
57 return KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in getPickerScreenState()
DMuteQuickAffordanceConfig.kt123 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState = in <lambda>()
126 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in <lambda>()
128 KeyguardQuickAffordanceConfig.PickerScreenState.Default() in <lambda>()
DVideoCameraQuickAffordanceConfig.kt86 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in getPickerScreenState()
90 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in getPickerScreenState()
DCameraQuickAffordanceConfig.kt77 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in getPickerScreenState()
81 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in getPickerScreenState()
DDoNotDisturbQuickAffordanceConfig.kt141 override suspend fun getPickerScreenState(): KeyguardQuickAffordanceConfig.PickerScreenState { in <lambda>()
143 KeyguardQuickAffordanceConfig.PickerScreenState.Default( in <lambda>()
147 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DCameraQuickAffordanceConfigTest.kt93 .isInstanceOf(KeyguardQuickAffordanceConfig.PickerScreenState.Default::class.java) in getPickerScreenState_defaultWhenLaunchable()
102 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in getPickerScreenState_unavailableWhenCameraAppNotInstalled()
111 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in getPickerScreenState_unavailableWhenCameraDisabledByAdmin()
120 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in getPickerScreenState_unavailableWhenSecureCameraDisabledByAdmin()
DVideoCameraQuickAffordanceConfigTest.kt114 .isInstanceOf(KeyguardQuickAffordanceConfig.PickerScreenState.Default::class.java) in getPickerScreenState_defaultWhenLaunchable()
123 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in getPickerScreenState_unavailableWhenAppNotInstalledOnDevice()
132 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in getPickerScreenState_unavailableWhenCameraDisabledByAdmin()
DQuickAccessWalletKeyguardQuickAffordanceConfigTest.kt181 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.Default()) in <lambda>()
192 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in <lambda>()
203 .isInstanceOf(KeyguardQuickAffordanceConfig.PickerScreenState.Disabled::class.java) in <lambda>()
214 .isInstanceOf(KeyguardQuickAffordanceConfig.PickerScreenState.Disabled::class.java) in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt176 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice::class in <lambda>()
179 KeyguardQuickAffordanceConfig.PickerScreenState.Default::class.java in <lambda>()
180 else -> KeyguardQuickAffordanceConfig.PickerScreenState.Disabled::class.java in <lambda>()
DMuteQuickAffordanceConfigTest.kt96 assertEquals(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice, result) in <lambda>()
108 assertEquals(KeyguardQuickAffordanceConfig.PickerScreenState.Default(), result) in <lambda>()
DDoNotDisturbQuickAffordanceConfigTest.kt110 KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice, in dndNotAvailable_pickerStateHidden()
126 .isInstanceOf(KeyguardQuickAffordanceConfig.PickerScreenState.Default::class.java) in dndAvailable_pickerStateVisible()
128 result as KeyguardQuickAffordanceConfig.PickerScreenState.Default in dndAvailable_pickerStateVisible()
DQrCodeScannerKeyguardQuickAffordanceConfigTest.kt144 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.Default()) in <lambda>()
153 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in <lambda>()
DFlashlightQuickAffordanceConfigTest.kt202 assertTrue(result is KeyguardQuickAffordanceConfig.PickerScreenState.Default) in <lambda>()
214 assertTrue(result is KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfig.kt38 … com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.PickerScreenState in <lambda>()
116 override suspend fun getPickerScreenState(): PickerScreenState { in <lambda>()
123 isEnabled && isDefaultNotesAppSet -> PickerScreenState.Default() in <lambda>()
125 PickerScreenState.Disabled( in <lambda>()
140 else -> PickerScreenState.UnavailableOnDevice in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardQuickAffordanceRepository.kt165 pickerState is KeyguardQuickAffordanceConfig.PickerScreenState.UnavailableOnDevice in <lambda>()
169 pickerState as? KeyguardQuickAffordanceConfig.PickerScreenState.Default in <lambda>()
171 pickerState as? KeyguardQuickAffordanceConfig.PickerScreenState.Disabled in <lambda>()
177 pickerState is KeyguardQuickAffordanceConfig.PickerScreenState.Default, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt272 .isEqualTo(KeyguardQuickAffordanceConfig.PickerScreenState.Default()) in <lambda>()
287 assertThat(pickerScreenState is KeyguardQuickAffordanceConfig.PickerScreenState.Disabled) in <lambda>()
289 val disabled = pickerScreenState as KeyguardQuickAffordanceConfig.PickerScreenState.Disabled in <lambda>()