Home
last modified time | relevance | path

Searched refs:disable2Flags (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/
DDisableFlagsLoggerTest.kt32 private val disable2Flags = listOf( constant
37 private val disableFlagsLogger = DisableFlagsLogger(disable1Flags, disable2Flags)
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java1001 int disable2Flags = DISABLE2_MASK & DISABLE2_QUICK_SETTINGS & DISABLE2_ROTATE_SUGGESTIONS; in testDisableBothFlags() local
1014 mStatusBarManagerService.disable2(disable2Flags, mMockStatusBar, pkg); in testDisableBothFlags()
1018 assertEquals(disable2Flags, in testDisableBothFlags()
1025 int disable2Flags = DISABLE2_MASK & DISABLE2_QUICK_SETTINGS & DISABLE2_ROTATE_SUGGESTIONS; in testDisableBothFlagsEnable1Flags() local
1038 mStatusBarManagerService.disable2(disable2Flags, mMockStatusBar, pkg); in testDisableBothFlagsEnable1Flags()
1044 assertEquals(disable2Flags, in testDisableBothFlagsEnable1Flags()
1051 int disable2Flags = DISABLE2_MASK & DISABLE2_QUICK_SETTINGS & DISABLE2_ROTATE_SUGGESTIONS; in testDisableBothFlagsEnable2Flags() local
1064 mStatusBarManagerService.disable2(disable2Flags, mMockStatusBar, pkg); in testDisableBothFlagsEnable2Flags()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DRotationButtonController.java161 public static boolean hasDisable2RotateSuggestionFlag(int disable2Flags) { in hasDisable2RotateSuggestionFlag() argument
162 return (disable2Flags & StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS) != 0; in hasDisable2RotateSuggestionFlag()