Searched refs:UnreleasedFlag (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | FlagDependenciesBase.kt | 96 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
|
D | RefactorFlag.kt | 43 flag: UnreleasedFlag 91 fun forView(flag: UnreleasedFlag, flags: FeatureFlags? = null) = in assertInLegacyMode()
|
D | FeatureFlags.kt | 43 fun isEnabled(flag: UnreleasedFlag): Boolean
|
D | FlagCommand.java | 190 } else if (flag instanceof UnreleasedFlag) { in isBooleanFlagEnabled() 191 return mFeatureFlags.isEnabled((UnreleasedFlag) flag); in isBooleanFlagEnabled()
|
D | FeatureFlagsClassicDebug.java | 153 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);
|
D | FeatureFlagsClassicRelease.java | 119 public boolean isEnabled(@NotNull UnreleasedFlag flag) { in isEnabled()
|
/frameworks/base/packages/SystemUI/src-release/com/android/systemui/flags/ |
D | FlagsFactory.kt | 35 ): 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/ |
D | FlagsFactory.kt | 35 ): 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/ |
D | FeatureFlagsClassicDebugTest.kt | 72 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()
|
D | FlagCommandTest.kt | 36 private val flagA = UnreleasedFlag("500", "test") in <lambda>() 47 whenever(featureFlags.isEnabled(any(UnreleasedFlag::class.java))).thenReturn(false) in <lambda>()
|
D | FlagDependenciesTest.kt | 67 override fun isEnabled(flag: UnreleasedFlag): Boolean = teamfood && flag.teamfood
|
D | FeatureFlagsClassicReleaseTest.kt | 116 val flag = UnreleasedFlag("100", "test") in serverSide_OverridesUnreleased_Ignored()
|
D | FakeFeatureFlagsTest.kt | 31 private val unreleasedFlag = UnreleasedFlag("-1000", "test")
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/ |
D | FakeFeatureFlags.kt | 115 override fun isEnabled(flag: UnreleasedFlag): Boolean = requireBooleanValue(flag.name) in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/ |
D | Flag.kt | 107 data class UnreleasedFlag constructor( class
|