Home
last modified time | relevance | path

Searched refs:UnreleasedFlag (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFlagDependenciesBase.kt96 protected infix fun UnreleasedFlag.dependsOn(other: UnreleasedFlag) = in shortUnmetString()
98 protected infix fun ReleasedFlag.dependsOn(other: UnreleasedFlag) = in shortUnmetString()
102 protected infix fun FlagToken.dependsOn(other: UnreleasedFlag) = in shortUnmetString()
107 private val UnreleasedFlag.token in shortUnmetString() constant
DRefactorFlag.kt43 flag: UnreleasedFlag
91 fun forView(flag: UnreleasedFlag, flags: FeatureFlags? = null) = in assertInLegacyMode()
DFeatureFlags.kt43 fun isEnabled(flag: UnreleasedFlag): Boolean
DFlagCommand.java190 } else if (flag instanceof UnreleasedFlag) { in isBooleanFlagEnabled()
191 return mFeatureFlags.isEnabled((UnreleasedFlag) flag); in isBooleanFlagEnabled()
DFeatureFlagsClassicDebug.java153 public boolean isEnabled(@NonNull UnreleasedFlag flag) { in isEnabled()
504 } else if (f instanceof UnreleasedFlag) {
505 enabled = isEnabled((UnreleasedFlag) f);
522 return new UnreleasedFlag(f.getName(), f.getNamespace(), teamfood, overridden);
DFeatureFlagsClassicRelease.java119 public boolean isEnabled(@NotNull UnreleasedFlag flag) { in isEnabled()
/frameworks/base/packages/SystemUI/src-release/com/android/systemui/flags/
DFlagsFactory.kt35 ): UnreleasedFlag { in unreleasedFlag()
37 val flag = UnreleasedFlag(name = name, namespace = namespace, teamfood = false) in unreleasedFlag()
/frameworks/base/packages/SystemUI/src-debug/com/android/systemui/flags/
DFlagsFactory.kt35 ): UnreleasedFlag { in unreleasedFlag()
36 val flag = UnreleasedFlag(name = name, namespace = namespace, teamfood = teamfood) in unreleasedFlag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFeatureFlagsClassicDebugTest.kt72 private val teamfoodableFlagA = UnreleasedFlag(name = "a", namespace = "test", teamfood = true)
111 mFeatureFlagsClassicDebug.isEnabled(UnreleasedFlag(name = "3", namespace = "test")) in readBooleanFlag()
119 mFeatureFlagsClassicDebug.isEnabled(UnreleasedFlag(name = "5", namespace = "test")) in readBooleanFlag()
296 addFlag(UnreleasedFlag("1", "test")) in broadcastReceiver_IgnoresInvalidData()
315 addFlag(UnreleasedFlag(name = "1", namespace = "test")) in intentWithId_NoValueKeyClears()
334 addFlag(UnreleasedFlag("1", "test")) in setBooleanFlag()
335 addFlag(UnreleasedFlag("2", "test")) in setBooleanFlag()
397 val flag = UnreleasedFlag(name = "100", namespace = "test") in serverSide_Overrides_MakesTrue()
445 val flag3 = UnreleasedFlag("3", "test") in dumpFormat()
DFlagCommandTest.kt36 private val flagA = UnreleasedFlag("500", "test") in <lambda>()
47 whenever(featureFlags.isEnabled(any(UnreleasedFlag::class.java))).thenReturn(false) in <lambda>()
DFlagDependenciesTest.kt67 override fun isEnabled(flag: UnreleasedFlag): Boolean = teamfood && flag.teamfood
DFeatureFlagsClassicReleaseTest.kt116 val flag = UnreleasedFlag("100", "test") in serverSide_OverridesUnreleased_Ignored()
DFakeFeatureFlagsTest.kt31 private val unreleasedFlag = UnreleasedFlag("-1000", "test")
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DFakeFeatureFlags.kt115 override fun isEnabled(flag: UnreleasedFlag): Boolean = requireBooleanValue(flag.name) in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlag.kt107 data class UnreleasedFlag constructor( class