Home
last modified time | relevance | path

Searched refs:FlagState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DAbstractFlagsRouletteRunner.java161 protected @Nullable FlagState[] getRequiredFlagStates(FrameworkMethod method) { in getRequiredFlagStates()
165 return new FlagState[] {new FlagState(singleAnnotation)}; in getRequiredFlagStates()
171 .map((annotation -> new FlagState(annotation))) in getRequiredFlagStates()
172 .toArray(FlagState[]::new); in getRequiredFlagStates()
245 List<List<FlagState>> flagsSnapshots = getFlagsSnapshots(); in computeTestMethods()
251 FlagState[] requiredFlagStates = getRequiredFlagStates(method); in computeTestMethods()
252 for (List<FlagState> snapshot : flagsSnapshots) { in computeTestMethods()
334 List<FlagState> snapshots1 = method1.getFlagsSnapshot(); in sortMethodsByFlagSnapshotsAndName()
335 List<FlagState> snapshots2 = method2.getFlagsSnapshot(); in sortMethodsByFlagSnapshotsAndName()
375 private ImmutableList<List<FlagState>> getFlagsSnapshots() { in getFlagsSnapshots()
[all …]
DAbstractGlobalKillSwitchFlipper.java62 protected FlagState[] getRequiredFlagStates(FrameworkMethod method) { in getRequiredFlagStates()
63 FlagState requiredFlag = null; in getRequiredFlagStates()
67 requiredFlag = new FlagState(FLAG, true); in getRequiredFlagStates()
72 requiredFlag = new FlagState(FLAG, false); in getRequiredFlagStates()
79 return new FlagState[] {requiredFlag}; in getRequiredFlagStates()
DDeviceConfigFlagsManager.java25 import com.android.adservices.experimental.AbstractFlagsRouletteRunner.FlagState;
74 public void setFlags(Collection<FlagState> flags) { in setFlags()
78 for (FlagState flag : flags) { in setFlags()
85 for (FlagState flag : flags) { in setFlags()