Home
last modified time | relevance | path

Searched refs:Flags (Results 1 – 25 of 31) sorted by relevance

12

/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DSetFlagsRuleTestCommon.java45 @EnableFlags(Flags.FLAG_FLAG_NAME4)
50 @EnableFlags({Flags.FLAG_FLAG_NAME3, Flags.FLAG_FLAG_NAME4})
95 assertFalse(Flags.flagName3()); in unsetFlagsWithNullDefaultPassIfNoFlagsInPackageAreSet()
104 .addEnableFlags(Flags.FLAG_FLAG_NAME3) in setFlagsWithNullDefaultCanBeRead()
107 assertTrue(Flags.flagName3()); in setFlagsWithNullDefaultCanBeRead()
116 .addEnableFlags(Flags.FLAG_FLAG_NAME4) in unsetFlagsWithNullDefaultFailToRead()
119 Flags.flagName3(); in unsetFlagsWithNullDefaultFailToRead()
127 @EnableFlags(Flags.FLAG_FLAG_NAME3) in classAnnotationsAreHandled()
133 assertTrue(Flags.flagName3()); in classAnnotationsAreHandled()
141 @EnableFlags(Flags.FLAG_FLAG_NAME3) in allowMultipleAnnotations()
[all …]
DSetFlagsRuleTest.java53 mSetFlagsRule.enableFlags(Flags.FLAG_FLAG_NAME3); in setFlagValues()
54 mSetFlagsRule.disableFlags(Flags.FLAG_FLAG_NAME4); in setFlagValues()
55 assertTrue(Flags.flagName3()); in setFlagValues()
56 assertFalse(Flags.flagName4()); in setFlagValues()
61 mSetFlagsRule.enableFlags(Flags.FLAG_FLAG_NAME3); in setFlagValuesMultipleTimes()
62 assertTrue(Flags.flagName3()); in setFlagValuesMultipleTimes()
65 assertFalse(Flags.flagName3()); in setFlagValuesMultipleTimes()
68 assertTrue(Flags.flagName3()); in setFlagValuesMultipleTimes()
71 assertFalse(Flags.flagName3()); in setFlagValuesMultipleTimes()
76 assertFalse(Flags.flagName3()); in flagsShouldResetAfterOneTest()
[all …]
DSetFlagsRuleClassRuleTest.java49 watchFlags ? new SetFlagsRule.ClassRule(Flags.class) : new SetFlagsRule.ClassRule(); in makeClassRuleHelper()
62 setFlagsRule.enableFlags(Flags.FLAG_FLAG_NAME3); in setFlagsFailsIfNotWatched()
70 @UsesFlags(Flags.class) in setFlagsCanBeMarkedAsWatchedWithUsesFlags()
77 setFlagsRule.enableFlags(Flags.FLAG_FLAG_NAME3); in setFlagsCanBeMarkedAsWatchedWithUsesFlags()
78 assertTrue(Flags.flagName3()); in setFlagsCanBeMarkedAsWatchedWithUsesFlags()
87 .addEnableFlags(Flags.FLAG_FLAG_NAME3) in methodAnnotatedFlagsDoNotNeedToBeWatched()
90 assertTrue(Flags.flagName3()); in methodAnnotatedFlagsDoNotNeedToBeWatched()
98 @EnableFlags(Flags.FLAG_FLAG_NAME3) in classAnnotatedFlagsDoNotNeedToBeWatched()
104 assertTrue(Flags.flagName3()); in classAnnotatedFlagsDoNotNeedToBeWatched()
113 new FlagsParameterization(Map.of(Flags.FLAG_FLAG_NAME3, true)); in parameterizedFlagsMustBeWatched()
[all …]
DCustomFeatureFlags.java37 return getValue(Flags.FLAG_FLAG_NAME3, FeatureFlags::flagName3); in flagName3()
42 return getValue(Flags.FLAG_FLAG_NAME4, FeatureFlags::flagName4); in flagName4()
47 return getValue(Flags.FLAG_RO_ENABLED, FeatureFlags::roEnabled); in roEnabled()
52 return getValue(Flags.FLAG_RO_DISABLED, FeatureFlags::roDisabled); in roDisabled()
61 Flags.FLAG_FLAG_NAME3, in getFlagNames()
62 Flags.FLAG_FLAG_NAME4, in getFlagNames()
63 Flags.FLAG_RO_ENABLED, in getFlagNames()
64 Flags.FLAG_RO_DISABLED in getFlagNames()
74 Flags.FLAG_RO_ENABLED,
75 Flags.FLAG_RO_DISABLED,
DFlags.java20 public class Flags { class
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/example/
DExampleSetFlagsRuleTest.java24 import android.platform.test.flag.junit.Flags;
50 assertFalse(Flags.flagName3()); in runTestWithDefaults()
51 assertTrue(Flags.flagName4()); in runTestWithDefaults()
55 @EnableFlags(Flags.FLAG_FLAG_NAME3)
57 assertTrue(Flags.flagName3()); in runTestWithFlag3Enabled()
58 assertTrue(Flags.flagName4()); in runTestWithFlag3Enabled()
62 @DisableFlags(Flags.FLAG_FLAG_NAME4)
64 assertFalse(Flags.flagName3()); in runTestWithFlag4Disabled()
65 assertFalse(Flags.flagName4()); in runTestWithFlag4Disabled()
69 @EnableFlags(Flags.FLAG_FLAG_NAME3)
[all …]
DExampleFlagsParameterizedTest.java27 import android.platform.test.flag.junit.Flags;
57 Flags.FLAG_FLAG_NAME3, Flags.FLAG_FLAG_NAME4); in getFlags()
74 assertNotNull(Flags.flagName3()); in runTestWithAllFlagCombinations()
75 assertNotNull(Flags.flagName4()); in runTestWithAllFlagCombinations()
79 @EnableFlags(Flags.FLAG_FLAG_NAME3)
81 assertTrue(Flags.flagName3()); in runTestWithFlag3Enabled()
82 assertNotNull(Flags.flagName4()); in runTestWithFlag3Enabled()
86 @DisableFlags(Flags.FLAG_FLAG_NAME4)
88 assertNotNull(Flags.flagName3()); in runTestWithFlag4Disabled()
89 assertFalse(Flags.flagName4()); in runTestWithFlag4Disabled()
[all …]
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/common/
DHomeLockscreenPage.java21 import static com.android.systemui.Flags.migrateClocksToBlueprint;
22 import static com.android.systemui.Flags.sceneContainer;
55 com.android.systemui.Flags.sceneContainer()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DUtils.kt51 if (android.tracing.Flags.perfettoViewCaptureTracing()) { in <lambda>()
57 if (android.tracing.Flags.perfettoTransitionTracing()) { in <lambda>()
64 if (android.tracing.Flags.perfettoProtologTracing()) { in <lambda>()
68 if (android.tracing.Flags.perfettoIme()) { in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/
DLegacyWmLegacyTransitionTraceParserTest.kt26 import android.tracing.Flags
39 assumeFalse(Flags.perfettoTransitionTracing()) in before()
DLegacyShellLegacyTransitionTraceParserTest.kt26 import android.tracing.Flags
40 assumeFalse(Flags.perfettoTransitionTracing()) in before()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Darm64_libdl.txt14 Flags: 0x0
24 Size EntSize Flags Link Info Align
63 Key to Flags:
73 FileSiz MemSiz Flags Align
116 0x000000006ffffffb (FLAGS_1) Flags: NOW
215 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: libdl.so
216 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: LIBC
217 0x0038: Rev: 1 Flags: none Index: 3 Cnt: 2 Name: LIBC_N
219 0x005c: Rev: 1 Flags: none Index: 4 Cnt: 2 Name: LIBC_OMR1
221 0x0080: Rev: 1 Flags: none Index: 5 Cnt: 2 Name: LIBC_PLATFORM
Darm32_libdl.txt14 Flags: 0x5000200, Version5 EABI, soft-float ABI
43 Key to Flags:
88 0x6ffffffb (FLAGS_1) Flags: NOW
230 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: libdl.so
231 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: LIBC
232 0x0038: Rev: 1 Flags: none Index: 3 Cnt: 2 Name: LIBC_N
234 0x005c: Rev: 1 Flags: none Index: 4 Cnt: 2 Name: LIBC_OMR1
236 0x0080: Rev: 1 Flags: none Index: 5 Cnt: 2 Name: LIBC_PLATFORM
Dx86app_process64.txt14 Flags: 0x0
24 Size EntSize Flags Link Info Align
79 Key to Flags:
89 FileSiz MemSiz Flags Align
157 0x000000006ffffffb (FLAGS_1) Flags: NOW
356 0x0010: Name: LIBC Flags: none Version: 2
357 0x0020: Name: LIBC_P Flags: none Version: 3
359 0x0040: Name: LIBC Flags: none Version: 4
Dx86app_process32.txt14 Flags: 0x0
51 Key to Flags:
119 0x6ffffffb (FLAGS_1) Flags: NOW
327 0x0010: Name: LIBC Flags: none Version: 2
328 0x0020: Name: LIBC_P Flags: none Version: 3
330 0x0040: Name: LIBC Flags: none Version: 4
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFlickerServiceTracesCollectorTest.kt32 import com.android.systemui.Flags.enableViewCaptureTracing
118 if (android.tracing.Flags.perfettoTransitionTracing()) {
139 if (android.tracing.Flags.perfettoTransitionTracing()) {
162 if (android.tracing.Flags.perfettoTransitionTracing()) {
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DPerfettoTraceMonitorTest.kt92 android.tracing.Flags.perfettoTransitionTracing() in <lambda>()
115 assumeTrue("PerfettoIme flag should be enabled", android.tracing.Flags.perfettoIme()) in <lambda>()
160 android.tracing.Flags.perfettoViewCaptureTracing() in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DResultReaderTestParseTransitions.kt38 assumeTrue(android.tracing.Flags.perfettoTransitionTracing()) in before()
DResultReaderTestParseProtoLog.kt40 assumeTrue(android.tracing.Flags.perfettoProtologTracing()) in before()
DResultReaderTestParseLegacyTransitions.kt44 assumeFalse(android.tracing.Flags.perfettoTransitionTracing()) in before()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DUnlockScreenRule.java20 import static com.android.systemui.Flags.keyguardBottomAreaRefactor;
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DSysuiRestarter.kt27 import com.android.systemui.Flags.migrateClocksToBlueprint
/platform_testing/libraries/flag-helpers/
DOWNERS4 per-file junit/test/src/android/platform/test/flag/junit/Flags.java = wenshan@google.com, opg@googl…
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/view/
DViewTraceMonitorTest.kt29 import com.android.systemui.Flags.enableViewCaptureTracing
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DUnlockScreenRuleTest.java18 import static com.android.systemui.Flags.keyguardBottomAreaRefactor;

12