/frameworks/base/core/tests/coretests/src/android/flags/ |
D | FeatureFlagsTest.java | 36 FeatureFlags mFeatureFlags = new FeatureFlags(mIFeatureFlagsFake); 40 FeatureFlags.setInstance(mFeatureFlags); in setup() 45 FusedOffFlag flag = FeatureFlags.fusedOffFlag("test", "a"); in testFusedOff_Disabled() 51 FusedOnFlag flag = FeatureFlags.fusedOnFlag("test", "a"); in testFusedOn_Enabled() 57 BooleanFlag flag = FeatureFlags.booleanFlag("test", "a", false); in testBooleanFlag_DefaultDisabled() 63 BooleanFlag flag = FeatureFlags.booleanFlag("test", "a", true); in testBooleanFlag_DefaultEnabled() 69 DynamicBooleanFlag flag = FeatureFlags.dynamicBooleanFlag("test", "a", false); in testDynamicBooleanFlag_DefaultDisabled() 75 DynamicBooleanFlag flag = FeatureFlags.dynamicBooleanFlag("test", "a", true); in testDynamicBooleanFlag_DefaultEnabled() 81 BooleanFlag flag = FeatureFlags.booleanFlag("test", "a", false); in testBooleanFlag_OverrideBeforeRead() 92 FusedOffFlag flag = FeatureFlags.fusedOffFlag("test", "a"); in testFusedOffFlag_OverrideHasNoEffect() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | RefactorFlag.kt | 37 private val injectedFlags: FeatureFlags?, 39 private val readFlagValue: (FeatureFlags) -> Boolean 42 flags: FeatureFlags, 46 constructor(flags: FeatureFlags, flag: ReleasedFlag) : this(flags, flag, { it.isEnabled(flag) }) in <lambda>() 51 val featureFlags = injectedFlags ?: Dependency.get(FeatureFlags::class.java) in <lambda>() 91 fun forView(flag: UnreleasedFlag, flags: FeatureFlags? = null) = in assertInLegacyMode() 97 fun forView(flag: ReleasedFlag, flags: FeatureFlags? = null) = in assertInLegacyMode()
|
D | FeatureFlags.kt | 26 interface FeatureFlagsClassic : FeatureFlags 41 interface FeatureFlags : FlagListenable, Dumpable { interface
|
/frameworks/base/core/java/com/android/internal/flags/ |
D | CoreFlags.java | 21 import android.flags.FeatureFlags; 62 BooleanFlag f = FeatureFlags.booleanFlag(namespace, name, defaultValue); in booleanFlag() 70 FusedOffFlag f = FeatureFlags.fusedOffFlag(namespace, name); in fusedOffFlag() 78 FusedOnFlag f = FeatureFlags.fusedOnFlag(namespace, name); in fusedOnFlag() 87 DynamicBooleanFlag f = FeatureFlags.dynamicBooleanFlag(namespace, name, defaultValue); in dynamicBooleanFlag()
|
/frameworks/base/core/java/android/flags/ |
D | FeatureFlags.java | 45 public class FeatureFlags { class 47 private static FeatureFlags sInstance; 62 public static FeatureFlags getInstance() { in getInstance() 65 sInstance = new FeatureFlags(); in getInstance() 74 public static void setInstance(FeatureFlags instance) { in setInstance() 93 FeatureFlags.this.onFlagChange((DynamicFlag<?>) f); 101 private FeatureFlags() { in FeatureFlags() method in FeatureFlags 106 public FeatureFlags(IFeatureFlags iFeatureFlags) { in FeatureFlags() method in FeatureFlags 246 synchronized (FeatureFlags.class) { in addFlag() 260 synchronized (FeatureFlags.class) { in sync()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyComponentFactory.java | 43 import com.android.internal.telephony.flags.FeatureFlags; 288 @NonNull FeatureFlags featureFlags) { 301 @NonNull FeatureFlags featureFlags) { 309 @NonNull FeatureFlags featureFlags) { 346 @NonNull FeatureFlags featureFlags) { 355 @NonNull FeatureFlags flags) { 417 @NonNull FeatureFlags featureFlags) { 445 @NonNull FeatureFlags featureFlags) { 470 @NonNull FeatureFlags featureFlags) { 481 Looper looper, @NonNull FeatureFlags featureFlags) { [all …]
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | FeatureFlagsService.java | 23 import android.flags.FeatureFlags; 65 publishLocalService(FeatureFlags.class, new FeatureFlags(service)); in onStart() 75 FeatureFlags.getInstance().sync(); in onBootPhase()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutsReceiver.java | 24 import com.android.systemui.flags.FeatureFlags; 33 private final FeatureFlags mFeatureFlags; 36 public KeyboardShortcutsReceiver(FeatureFlags featureFlags) { in KeyboardShortcutsReceiver()
|
/frameworks/base/services/core/java/com/android/server/vcn/ |
D | VcnContext.java | 22 import android.net.vcn.FeatureFlags; 37 @NonNull private final FeatureFlags mFeatureFlags; 91 public FeatureFlags getFeatureFlags() { in getFeatureFlags()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VonrHelper.java | 28 import com.android.internal.telephony.flags.FeatureFlags; 39 private final @NonNull FeatureFlags mFlags; 44 public VonrHelper(@NonNull FeatureFlags featureFlags) { in VonrHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/config/ |
D | BcSmartspaceConfigProvider.kt | 19 import com.android.systemui.flags.FeatureFlags 22 class BcSmartspaceConfigProvider(private val featureFlags: FeatureFlags) :
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotifPipelineFlags.kt | 19 import com.android.systemui.flags.FeatureFlags 26 private val featureFlags: FeatureFlags
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/ |
D | MediaTttFlags.kt | 20 import com.android.systemui.flags.FeatureFlags 26 class MediaTttFlags @Inject constructor(private val featureFlags: FeatureFlags) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneFactoryTest.java | 32 import com.android.internal.telephony.flags.FeatureFlags; 47 private FeatureFlags mFeatureFlags; 68 mFeatureFlags = mock(FeatureFlags.class); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneFactory.java | 23 import com.android.internal.telephony.flags.FeatureFlags; 39 PhoneNotifier phoneNotifier, Phone defaultPhone, FeatureFlags featureFlags) { in makePhone()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | TestableControlsActivity.kt | 22 import com.android.systemui.flags.FeatureFlags 31 featureFlags: FeatureFlags,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SplitShadeStateControllerImpl.kt | 20 import com.android.systemui.flags.FeatureFlags 30 class SplitShadeStateControllerImpl @Inject constructor(private val featureFlags: FeatureFlags) :
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/ |
D | StatusBarPipelineFlags.kt | 21 import com.android.systemui.flags.FeatureFlags 32 private val featureFlags: FeatureFlags,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotifRemoteViewsFactoryContainer.kt | 20 import com.android.systemui.flags.FeatureFlags 33 featureFlags: FeatureFlags,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/ |
D | MediaDreamSentinel.java | 29 import com.android.systemui.flags.FeatureFlags; 112 private final FeatureFlags mFeatureFlags; 118 FeatureFlags featureFlags) { in MediaDreamSentinel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/ |
D | WalletContextualLocationsService.kt | 11 import com.android.systemui.flags.FeatureFlags in <lambda>() 29 private val featureFlags: FeatureFlags, in <lambda>() 38 featureFlags: FeatureFlags, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/ |
D | QSFlagsModule.java | 23 import com.android.systemui.flags.FeatureFlags; 51 static boolean isPMLiteEnabled(FeatureFlags featureFlags, GlobalSettings globalSettings) { in isPMLiteEnabled()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/ |
D | BcSmartspaceConfigProviderTest.kt | 22 import com.android.systemui.flags.FeatureFlags 35 @Mock private lateinit var featureFlags: FeatureFlags
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | PhysicalKeyboardCoreStartable.kt | 24 import com.android.systemui.flags.FeatureFlags 40 private val featureFlags: FeatureFlags,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterViewController.java | 35 import com.android.systemui.flags.FeatureFlags; 56 private final FeatureFlags mFeatureFlags; 143 FeatureFlags featureFlags, in BatteryMeterViewController() 253 private final FeatureFlags mFeatureFlags; 263 FeatureFlags featureFlags, in Factory()
|