Home
last modified time | relevance | path

Searched refs:FeatureFlags (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DCustomFeatureFlags.java27 public class CustomFeatureFlags implements FeatureFlags {
29 private BiPredicate<String, Predicate<FeatureFlags>> mGetValueImpl;
31 public CustomFeatureFlags(BiPredicate<String, Predicate<FeatureFlags>> getValueImpl) { in CustomFeatureFlags()
37 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()
55 protected boolean getValue(String flagName, Predicate<FeatureFlags> getter) { in getValue()
DFlags.java45 public static void setFeatureFlags(FeatureFlags featureFlagsImpl) { in setFeatureFlags()
49 private static FeatureFlags FEATURE_FLAGS = new FeatureFlagsImpl();
DFakeFeatureFlagsImpl.java26 private final FeatureFlags mDefaults;
32 public FakeFeatureFlagsImpl(FeatureFlags defaults) { in FakeFeatureFlagsImpl()
42 protected boolean getValue(String flagName, Predicate<FeatureFlags> getter) { in getValue()
DFeatureFlags.java20 public interface FeatureFlags { interface
DFeatureFlagsImpl.java19 class FeatureFlagsImpl implements FeatureFlags {
/platform_testing/libraries/flag-helpers/
DOWNERS5 per-file junit/test/src/android/platform/test/flag/junit/FeatureFlags.java = wenshan@google.com, op…