Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src-release/com/android/systemui/flags/
DFlagsFactory.kt22 private val flagMap = mutableMapOf<String, Flag<*>>() constant
27 assert(flagMap.contains(Flags.NULL_FLAG.name)) { "Where is the null flag?" } in <lambda>()
28 return flagMap
46 flagMap[name] = flag in releasedFlag()
61 flagMap[name] = flag in resourceBooleanFlag()
71 flagMap[name] = flag in sysPropBooleanFlag()
/frameworks/base/packages/SystemUI/src-debug/com/android/systemui/flags/
DFlagsFactory.kt22 private val flagMap = mutableMapOf<String, Flag<*>>() constant
27 assert(flagMap.contains(Flags.NULL_FLAG.name)) { "Where is the null flag?" } in <lambda>()
28 return flagMap
76 if (flagMap.containsKey(flag.name)) { in checkForDupesAndAdd()
79 flagMap[flag.name] = flag in checkForDupesAndAdd()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFlagCommandTest.kt35 private val flagMap = mutableMapOf<String, Flag<*>>() in <lambda>() constant
56 flagMap.put(flagA.name, flagA) in <lambda>()
57 flagMap.put(flagB.name, flagB) in <lambda>()
58 flagMap.put(stringFlag.name, stringFlag) in <lambda>()
59 flagMap.put(intFlag.name, intFlag) in <lambda>()
61 cmd = FlagCommand(featureFlags, flagMap) in <lambda>()
DFeatureFlagsClassicReleaseTest.kt43 private val flagMap = mutableMapOf<String, Flag<*>>() constant in com.android.systemui.flags.FeatureFlagsClassicReleaseTest
51 flagMap.put(flagA.name, flagA) in setup()
57 flagMap, in setup()
DFeatureFlagsClassicDebugTest.kt67 private val flagMap = mutableMapOf<String, Flag<*>>() constant
79 flagMap.put(teamfoodableFlagA.name, teamfoodableFlagA) in setup()
80 flagMap.put(releasedFlagB.name, releasedFlagB) in setup()
89 flagMap, in setup()
498 val old = flagMap.put(flag.name, flag) in addFlag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DServerFlagReader.kt129 private val flagMap: MutableMap<String, Boolean> = mutableMapOf() constant in com.android.systemui.flags.ServerFlagReaderFake
134 return flagMap.containsKey(name) in hasOverride()
138 return flagMap.getOrDefault(name, default) in readServerOverride()
142 flagMap.put(name, value) in setFlagValue()
155 flagMap.remove(name) in eraseFlag()