Searched refs:FeatureFlags (Results 1 – 6 of 6) sorted by relevance
27 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()
45 public static void setFeatureFlags(FeatureFlags featureFlagsImpl) { in setFeatureFlags()49 private static FeatureFlags FEATURE_FLAGS = new FeatureFlagsImpl();
26 private final FeatureFlags mDefaults;32 public FakeFeatureFlagsImpl(FeatureFlags defaults) { in FakeFeatureFlagsImpl()42 protected boolean getValue(String flagName, Predicate<FeatureFlags> getter) { in getValue()
20 public interface FeatureFlags { interface
19 class FeatureFlagsImpl implements FeatureFlags {
5 per-file junit/test/src/android/platform/test/flag/junit/FeatureFlags.java = wenshan@google.com, op…