Home
last modified time | relevance | path

Searched refs:KeyguardQuickAffordanceModel (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorTest.kt44 import com.android.systemui.keyguard.domain.model.KeyguardQuickAffordanceModel
226 .isInstanceOf(KeyguardQuickAffordanceModel.Visible::class.java) in quickAffordance_bottomStartAffordanceIsVisible()
227 val visibleModel = collectedValue() as KeyguardQuickAffordanceModel.Visible in quickAffordance_bottomStartAffordanceIsVisible()
252 .isInstanceOf(KeyguardQuickAffordanceModel.Visible::class.java) in quickAffordance_bottomEndAffordanceIsVisible()
253 val visibleModel = collectedValue() as KeyguardQuickAffordanceModel.Visible in quickAffordance_bottomEndAffordanceIsVisible()
278 assertThat(collectedValue).isInstanceOf(KeyguardQuickAffordanceModel.Hidden::class.java) in quickAffordance_hiddenWhenAllFeaturesAreDisabledByDevicePolicy()
297 assertThat(collectedValue).isInstanceOf(KeyguardQuickAffordanceModel.Hidden::class.java) in quickAffordance_hiddenWhenShortcutsFeatureIsDisabledByDevicePolicy()
315 assertThat(collectedValue).isEqualTo(KeyguardQuickAffordanceModel.Hidden) in quickAffordance_hiddenWhenUserIsInLockdownMode()
332 assertThat(collectedValue()).isEqualTo(KeyguardQuickAffordanceModel.Hidden) in quickAffordance_bottomStartAffordanceHiddenWhileDozing()
349 assertThat(collectedValue()).isEqualTo(KeyguardQuickAffordanceModel.Hidden) in quickAffordance_bottomStartAffordanceHiddenWhenLockscreenIsNotShowing()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/model/
DKeyguardQuickAffordanceModel.kt27 sealed class KeyguardQuickAffordanceModel { class
29 object Hidden : KeyguardQuickAffordanceModel()
39 ) : KeyguardQuickAffordanceModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt41 import com.android.systemui.keyguard.domain.model.KeyguardQuickAffordanceModel in <lambda>()
102 ): Flow<KeyguardQuickAffordanceModel> { in <lambda>()
104 return flowOf(KeyguardQuickAffordanceModel.Hidden) in <lambda>()
132 KeyguardQuickAffordanceModel.Hidden in <lambda>()
146 ): Flow<KeyguardQuickAffordanceModel> { in <lambda>()
148 flowOf(KeyguardQuickAffordanceModel.Hidden) in <lambda>()
299 ): Flow<KeyguardQuickAffordanceModel> = in <lambda>()
309 ): Flow<KeyguardQuickAffordanceModel> { in <lambda>()
311 return flowOf(KeyguardQuickAffordanceModel.Hidden) in <lambda>()
333 KeyguardQuickAffordanceModel.Visible( in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModel.kt24 import com.android.systemui.keyguard.domain.model.KeyguardQuickAffordanceModel in <lambda>()
205 private fun KeyguardQuickAffordanceModel.toViewModel( in <lambda>() method
215 is KeyguardQuickAffordanceModel.Visible -> in <lambda>()
235 is KeyguardQuickAffordanceModel.Hidden -> in <lambda>()
DKeyguardQuickAffordancesCombinedViewModel.kt24 import com.android.systemui.keyguard.domain.model.KeyguardQuickAffordanceModel in <lambda>()
235 private fun KeyguardQuickAffordanceModel.toViewModel( in <lambda>() method
245 is KeyguardQuickAffordanceModel.Visible -> in <lambda>()
265 is KeyguardQuickAffordanceModel.Hidden -> in <lambda>()