/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | FlashlightQuickAffordanceConfigTest.kt | 68 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>() 76 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>() 79 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>() 91 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in flashlightIsOn_triggered_iconIsOffAndInactive() 99 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in flashlightIsOn_triggered_iconIsOffAndInactive() 102 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in flashlightIsOn_triggered_iconIsOffAndInactive() 114 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>() 122 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>() 125 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>() 137 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>() [all …]
|
D | FakeKeyguardQuickAffordanceConfig.kt | 36 MutableStateFlow<KeyguardQuickAffordanceConfig.LockScreenState>( 37 KeyguardQuickAffordanceConfig.LockScreenState.Hidden 39 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = 50 suspend fun setState(lockScreenState: KeyguardQuickAffordanceConfig.LockScreenState) { in setState()
|
D | QrCodeScannerKeyguardQuickAffordanceConfigTest.kt | 61 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>() 81 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>() 97 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>() 113 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>() 121 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 156 private fun assertVisibleState(latest: KeyguardQuickAffordanceConfig.LockScreenState?) { in assertVisibleState() 158 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Visible::class.java) in assertVisibleState() 159 val visibleState = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in assertVisibleState()
|
D | QuickAccessWalletKeyguardQuickAffordanceConfigTest.kt | 85 val visibleModel = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>() 105 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 115 val visibleModel = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>() 135 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 145 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 155 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
|
D | HomeControlsKeyguardQuickAffordanceConfigTest.kt | 75 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>() 79 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java) in <lambda>() 94 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>() 98 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java) in <lambda>()
|
D | VideoCameraQuickAffordanceConfigTest.kt | 83 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Visible::class.java) in lockScreenState_visibleWhenLaunchable() 94 .isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState_hiddenWhenAppNotInstalledOnDevice() 105 .isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState_hiddenWhenCameraDisabledByAdmin()
|
D | HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt | 145 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>() 167 KeyguardQuickAffordanceConfig.LockScreenState.Visible::class.java in <lambda>() 169 KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java in <lambda>()
|
D | DoNotDisturbQuickAffordanceConfigTest.kt | 247 assertTrue(secondLastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in lockScreenState_dndAvailableStartsAsTrue_changeToFalse_StateIsHidden() 248 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState_dndAvailableStartsAsTrue_changeToFalse_StateIsHidden() 268 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible() 278 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | FlashlightQuickAffordanceConfig.kt | 45 abstract fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState in toLockScreenState() 48 override fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState = in toLockScreenState() 49 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in toLockScreenState() 59 override fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState = in toLockScreenState() 60 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in toLockScreenState() 70 override fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState = in toLockScreenState() 71 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in toLockScreenState() 83 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in pickerName()
|
D | KeyguardQuickAffordanceConfig.kt | 43 val lockScreenState: Flow<LockScreenState> 123 sealed class LockScreenState { class 126 object Hidden : LockScreenState() 134 ) : LockScreenState()
|
D | HomeControlsKeyguardQuickAffordanceConfig.kt | 63 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() 68 flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 142 ): Flow<KeyguardQuickAffordanceConfig.LockScreenState> { in <lambda>() 144 return flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 181 ): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>() 189 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>() 200 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>()
|
D | QrCodeScannerKeyguardQuickAffordanceConfig.kt | 49 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in pickerName() 96 private fun state(): KeyguardQuickAffordanceConfig.LockScreenState { in state() 98 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in state() 109 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in state()
|
D | GlanceableHubQuickAffordanceConfig.kt | 46 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> by lazy { in pickerName() 50 flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Visible(icon)) in pickerName() 52 flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in pickerName()
|
D | QuickAccessWalletKeyguardQuickAffordanceConfig.kt | 67 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() 117 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>() 194 ): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>() 196 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>() 207 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>()
|
D | DoNotDisturbQuickAffordanceConfig.kt | 106 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() 176 private fun updateState(): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>() 178 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>() 180 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>() 188 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
|
D | VideoCameraQuickAffordanceConfig.kt | 69 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> in pickerName() 73 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in pickerName() 81 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in pickerName()
|
D | CameraQuickAffordanceConfig.kt | 60 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> in pickerName() 64 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in pickerName() 72 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in pickerName()
|
D | MuteQuickAffordanceConfig.kt | 72 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() 93 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/ |
D | NoteTaskQuickAffordanceConfigTest.kt | 36 …rt com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.LockScreenState 124 private fun createLockScreenStateVisible(): LockScreenState = in createLockScreenStateVisible() 125 LockScreenState.Visible( in createLockScreenStateVisible() 163 assertThat(actual).isEqualTo(LockScreenState.Hidden) in lockScreenState_stylusUsed_userUnlocked_isSelected_noDefaultNotesAppSet_shouldEmitHidden() 173 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>() 183 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>() 193 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>() 203 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>() 213 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>() 223 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardQuickAffordanceInteractorTest.kt | 214 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomStartAffordanceIsVisible() 241 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomEndAffordanceIsVisible() 268 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_hiddenWhenAllFeaturesAreDisabledByDevicePolicy() 287 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_hiddenWhenShortcutsFeatureIsDisabledByDevicePolicy() 305 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_hiddenWhenUserIsInLockdownMode() 323 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomStartAffordanceHiddenWhileDozing() 340 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomStartAffordanceHiddenWhenLockscreenIsNotShowing() 380 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordanceAlwaysVisible_notVisible_restrictedByPolicyManager() 403 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordanceAlwaysVisible_evenWhenLockScreenNotShowingAndDozing() 434 KeyguardQuickAffordanceConfig.LockScreenState.Visible(icon = ICON) in select() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/ |
D | NoteTaskQuickAffordanceConfig.kt | 36 …rt com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.LockScreenState in <lambda>() 108 LockScreenState.Visible(icon) in <lambda>() 110 LockScreenState.Hidden in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardQuickAffordanceInteractor.kt | 321 emit(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>() 327 state is KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>() 331 states[index] as KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardBottomAreaViewModelTest.kt | 695 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in setUpQuickAffordanceModel() 704 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in setUpQuickAffordanceModel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardQuickAffordanceInteractorSceneContainerTest.kt | 351 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in onQuickAffordanceTriggered()
|
D | KeyguardQuickAffordanceInteractorParameterizedTest.kt | 351 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in onQuickAffordanceTriggered()
|