Home
last modified time | relevance | path

Searched refs:fakeFeatureFlagsClassic (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DFeatureFlagsClassicKosmos.kt27 var Kosmos.featureFlagsClassic: FeatureFlagsClassic by Kosmos.Fixture { fakeFeatureFlagsClassic } in <lambda>()
33 val Kosmos.fakeFeatureFlagsClassic by constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardClockRepositoryTest.kt55 private val fakeFeatureFlagsClassic = FakeFeatureFlagsClassic() constant
72 fakeFeatureFlagsClassic, in setup()
96 fakeFeatureFlagsClassic.set(Flags.LOCKSCREEN_ENABLE_LANDSCAPE, true) in testShouldForceSmallClock()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAlternateBouncerToOccludedTransitionViewModelTest.kt24 import com.android.systemui.flags.fakeFeatureFlagsClassic
44 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
DAlternateBouncerToPrimaryBouncerTransitionViewModelTest.kt24 import com.android.systemui.flags.fakeFeatureFlagsClassic
44 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
DAlternateBouncerToGoneTransitionViewModelTest.kt25 import com.android.systemui.flags.fakeFeatureFlagsClassic
48 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
DPrimaryBouncerToGoneTransitionViewModelTest.kt25 import com.android.systemui.flags.fakeFeatureFlagsClassic
47 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
DLockscreenToPrimaryBouncerTransitionViewModelTest.kt27 import com.android.systemui.flags.fakeFeatureFlagsClassic
60 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
DLockscreenToDreamingTransitionViewModelTest.kt28 import com.android.systemui.flags.fakeFeatureFlagsClassic
58 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
DLockscreenContentViewModelTest.kt28 import com.android.systemui.flags.fakeFeatureFlagsClassic in <lambda>()
71 fakeFeatureFlagsClassic.set(Flags.LOCK_SCREEN_LONG_PRESS_ENABLED, true) in <lambda>()
DLockscreenToOccludedTransitionViewModelTest.kt30 import com.android.systemui.flags.fakeFeatureFlagsClassic
60 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorKosmos.kt26 import com.android.systemui.flags.fakeFeatureFlagsClassic
69 fakeFeatureFlagsClassic.set(Flags.COMMUNAL_SERVICE_ENABLED, available) in setCommunalAvailable()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaCarouselInteractorTest.kt27 import com.android.systemui.flags.fakeFeatureFlagsClassic
130 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in addActiveRecommendation_inactiveMedia()
165 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in addActiveRecommendation_thenInactive()
185 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in addActiveRecommendation_thenInvalid()
DMediaRecommendationsInteractorTest.kt32 import com.android.systemui.flags.fakeFeatureFlagsClassic
108 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, true) in setRecommendationInactive_isActiveUpdate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DDeviceEntryUdfpsTouchOverlayViewModelTest.kt25 import com.android.systemui.flags.fakeFeatureFlagsClassic
49 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, true) } in <lambda>()
DDefaultUdfpsTouchOverlayViewModelTest.kt25 import com.android.systemui.flags.fakeFeatureFlagsClassic
56 fakeFeatureFlagsClassic.apply { set(Flags.FULL_SCREEN_USER_SWITCHER, true) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaDataRepositoryTest.kt26 import com.android.systemui.flags.fakeFeatureFlagsClassic
84 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, true) in setRecommendationInactive()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModelTest.kt33 import com.android.systemui.flags.fakeFeatureFlagsClassic
88 kosmos.fakeFeatureFlagsClassic.set(Flags.NEW_NETWORK_SLICE_UI, false) in setUp()
247 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in addAndRemoveMedia_mediaVisibilityIsUpdated()
265 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in addInactiveMedia_mediaVisibilityIsUpdated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/composable/
DBouncerContentTest.kt38 import com.android.systemui.flags.fakeFeatureFlagsClassic
76 kosmos.fakeFeatureFlagsClassic.set(Flags.FULL_SCREEN_USER_SWITCHER, true) in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModelTest.kt29 import com.android.systemui.flags.fakeFeatureFlagsClassic
124 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in loadMediaControlsAndRecommendations_mediaItemsAreUpdated()
145 kosmos.fakeFeatureFlagsClassic.set(Flags.MEDIA_RETAIN_RECOMMENDATIONS, false) in recommendationClicked_switchToPlayer()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalSettingsRepositoryImplTest.kt41 import com.android.systemui.flags.fakeFeatureFlagsClassic
64 kosmos.fakeFeatureFlagsClassic.set(COMMUNAL_SERVICE_ENABLED, true) in setUp()
85 kosmos.fakeFeatureFlagsClassic.set(COMMUNAL_SERVICE_ENABLED, false) in classicFlagIsDisabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModelTest.kt39 import com.android.systemui.flags.fakeFeatureFlagsClassic in <lambda>()
177 kosmos.fakeFeatureFlagsClassic.set(Flags.FULL_SCREEN_USER_SWITCHER, true) in <lambda>()
183 kosmos.fakeFeatureFlagsClassic.set(Flags.FULL_SCREEN_USER_SWITCHER, false) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/ui/viewmodel/
DUdfpsAccessibilityOverlayViewModelTest.kt30 import com.android.systemui.flags.fakeFeatureFlagsClassic
57 fakeFeatureFlagsClassic.apply { set(FULL_SCREEN_USER_SWITCHER, false) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DResourceTrimmerTest.kt10 import com.android.systemui.flags.fakeFeatureFlagsClassic
47 private val featureFlags = kosmos.fakeFeatureFlagsClassic
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalTutorialInteractorTest.kt31 import com.android.systemui.flags.fakeFeatureFlagsClassic
63 kosmos.fakeFeatureFlagsClassic.set(Flags.COMMUNAL_SERVICE_ENABLED, true) in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DShadeControllerSceneImplTest.kt27 import com.android.systemui.flags.fakeFeatureFlagsClassic
68 kosmos.fakeFeatureFlagsClassic.apply { in setup()

12