Home
last modified time | relevance | path

Searched refs:FlagsParameterization (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DSceneContainerFlagParameterization.kt20 import android.platform.test.flag.junit.FlagsParameterization
35 fun FlagsParameterization.andSceneContainer(): Sequence<FlagsParameterization> = sequence { in <lambda>() method
39 yield(FlagsParameterization(mOverrides + mapOf(flagNameToDisable to false))) in <lambda>()
43 yield(FlagsParameterization(mOverrides + flagNamesToEnable.associateWith { true })) in <lambda>()
59 fun List<FlagsParameterization>.andSceneContainer(): List<FlagsParameterization> = in andSceneContainer()
63 fun parameterizeSceneContainerFlag(): List<FlagsParameterization> { in parameterizeSceneContainerFlag()
64 return FlagsParameterization.allCombinationsOf().andSceneContainer() in parameterizeSceneContainerFlag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockTest.java24 import android.platform.test.flag.junit.FlagsParameterization;
50 public static List<FlagsParameterization> getFlags() { in getFlags()
51 return FlagsParameterization.allCombinationsOf( in getFlags()
57 public WakeLockTest(FlagsParameterization flags) { in WakeLockTest()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/shared/flag/
DSceneContainerFlagParameterizationTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
38 val result = FlagsParameterization.allCombinationsOf().andSceneContainer() in emptyAndSceneContainer()
55 val result = FlagsParameterization.allCombinationsOf(unrelatedFlag).andSceneContainer() in oneUnrelatedAndSceneContainer()
70 val result = FlagsParameterization.allCombinationsOf(dependentFlag).andSceneContainer() in oneDependencyAndSceneContainer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthDialogPanelInteractionDetectorTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
42 class AuthDialogPanelInteractionDetectorTest(flags: FlagsParameterization?) : SysuiTestCase() {
47 fun getParams(): List<FlagsParameterization> { in getParams()
48 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/ui/viewmodel/
DUdfpsAccessibilityOverlayViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
54 class UdfpsAccessibilityOverlayViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
75 fun getParams(): List<FlagsParameterization> { in getParams()
76 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAodToLockscreenTransitionViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
46 class AodToLockscreenTransitionViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
57 fun getParams(): List<FlagsParameterization> { in getParams()
58 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
DLockscreenToPrimaryBouncerTransitionViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
56 class LockscreenToPrimaryBouncerTransitionViewModelTest(flags: FlagsParameterization) :
76 fun getParams(): List<FlagsParameterization> { in getParams()
77 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
DLockscreenToDreamingTransitionViewModelTest.kt21 import android.platform.test.flag.junit.FlagsParameterization
54 class LockscreenToDreamingTransitionViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
70 fun getParams(): List<FlagsParameterization> { in getParams()
71 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
DLockscreenContentViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization in <lambda>()
50 class LockscreenContentViewModelTest(flags: FlagsParameterization) : SysuiTestCase() { in <lambda>()
59 fun getParams(): List<FlagsParameterization> { in <lambda>()
60 return FlagsParameterization.allCombinationsOf().andSceneContainer() in <lambda>()
DLockscreenToOccludedTransitionViewModelTest.kt21 import android.platform.test.flag.junit.FlagsParameterization
57 class LockscreenToOccludedTransitionViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
73 fun getParams(): List<FlagsParameterization> { in getParams()
74 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
DLockscreenToAodTransitionViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
52 class LockscreenToAodTransitionViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
70 fun getParams(): List<FlagsParameterization> { in getParams()
71 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
DBouncerToGoneFlowsTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
54 class BouncerToGoneFlowsTest(flags: FlagsParameterization) : SysuiTestCase() {
72 fun getParams(): List<FlagsParameterization> { in getParams()
73 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ui/viewmodel/
DKeyguardStatusBarViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
56 class KeyguardStatusBarViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
73 fun getParams(): List<FlagsParameterization> { in getParams()
74 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
DBrightnessPolicyRepositoryImplTest.kt23 import android.platform.test.flag.junit.FlagsParameterization
24 import android.platform.test.flag.junit.FlagsParameterization.allCombinationsOf
52 class BrightnessPolicyRepositoryImplTest(flags: FlagsParameterization) : SysuiTestCase() {
216 fun getParams(): List<FlagsParameterization> { in getParams()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java44 import android.platform.test.flag.junit.FlagsParameterization;
80 public static List<FlagsParameterization> getParams() { in getParams()
81 return FlagsParameterization.allCombinationsOf(FLAG_DISABLE_OBJECT_POOL); in getParams()
92 public ObjectPoolTests(FlagsParameterization flags) { in ObjectPoolTests()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DDefaultUdfpsTouchOverlayViewModelTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
52 class DefaultUdfpsTouchOverlayViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
72 fun getParams(): List<FlagsParameterization> { in getParams()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/
DTilesAvailabilityInteractorTest.kt21 import android.platform.test.flag.junit.FlagsParameterization in <lambda>()
51 class TilesAvailabilityInteractorTest(flags: FlagsParameterization) : SysuiTestCase() { in <lambda>()
224 fun getParams(): List<FlagsParameterization> { in <lambda>()
225 return FlagsParameterization.allCombinationsOf(FLAG_QS_NEW_TILES) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java36 import android.platform.test.flag.junit.FlagsParameterization;
60 public static List<FlagsParameterization> getFlags() { in getFlags()
61 return FlagsParameterization.allCombinationsOf( in getFlags()
74 public SliceBroadcastRelayHandlerTest(FlagsParameterization flags) { in SliceBroadcastRelayHandlerTest()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractorTest.kt19 import android.platform.test.flag.junit.FlagsParameterization
61 class UdfpsKeyguardInteractorTest(flags: FlagsParameterization) : SysuiTestCase() {
85 fun getParams(): List<FlagsParameterization> { in getParams()
86 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModelTest.kt22 import android.platform.test.flag.junit.FlagsParameterization
58 class FooterViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
76 fun getParams(): List<FlagsParameterization> { in getParams()
77 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerPhoneTest.java29 import android.platform.test.flag.junit.FlagsParameterization;
150 public static List<FlagsParameterization> getFlags() { in getFlags()
151 return FlagsParameterization.allCombinationsOf(NotificationThrottleHun.FLAG_NAME); in getFlags()
154 public HeadsUpManagerPhoneTest(FlagsParameterization flags) { in HeadsUpManagerPhoneTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServiceManagerTest.java18 import static android.platform.test.flag.junit.FlagsParameterization.allCombinationsOf;
44 import android.platform.test.flag.junit.FlagsParameterization;
73 public static List<FlagsParameterization> getParams() { in getParams()
95 public TileServiceManagerTest(FlagsParameterization flags) { in TileServiceManagerTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModelTest.kt21 import android.platform.test.flag.junit.FlagsParameterization
57 class KeyguardClockViewModelTest(flags: FlagsParameterization) : SysuiTestCase() {
293 fun getParams(): List<FlagsParameterization> { in getParams()
294 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBypassControllerTest.kt20 import android.platform.test.flag.junit.FlagsParameterization
69 class KeyguardBypassControllerTest(flags: FlagsParameterization) : SysuiTestCase() {
89 fun getParams(): List<FlagsParameterization> { in getParams()
90 return FlagsParameterization.allCombinationsOf().andSceneContainer() in getParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/footer/ui/view/
DFooterViewTest.java38 import android.platform.test.flag.junit.FlagsParameterization;
63 public static List<FlagsParameterization> getFlags() { in getFlags()
64 return FlagsParameterization.allCombinationsOf(FooterViewRefactor.FLAG_NAME); in getFlags()
67 public FooterViewTest(FlagsParameterization flags) { in FooterViewTest()

123