Home
last modified time | relevance | path

Searched refs:flagManager (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFeatureFlagsClassicDebugTest.kt61 @Mock private lateinit var flagManager: FlagManager variable in com.android.systemui.flags.FeatureFlagsClassicDebugTest
83 flagManager, in setup()
93 verify(flagManager).onSettingsChangedAction = any() in setup()
97 clearCacheAction = withArgCaptor { verify(flagManager).clearCacheAction = capture() } in setup()
98 whenever(flagManager.nameToSettingsKey(any())).thenAnswer { "key-${it.arguments[0]}" } in setup()
103 whenever(flagManager.readFlagValue<Boolean>(eq("3"), any())).thenReturn(true) in readBooleanFlag()
104 whenever(flagManager.readFlagValue<Boolean>(eq("4"), any())).thenReturn(false) in readBooleanFlag()
149 whenever(flagManager.readFlagValue<Boolean>(eq(teamfoodableFlagA.name), any())) in teamFoodFlag_Overridden()
151 whenever(flagManager.readFlagValue<Boolean>(eq(releasedFlagB.name), any())) in teamFoodFlag_Overridden()
169 whenever(flagManager.readFlagValue<Boolean>(eq("3"), any())).thenReturn(true) in readResourceBooleanFlag()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFeatureFlagsClassicDebug.java121 FlagManager flagManager, in FeatureFlagsClassicDebug() argument
129 mFlagManager = flagManager; in FeatureFlagsClassicDebug()