Fix parameter generation

The bitfield was not being operated correctly and we were repeating the
parameters. Do the right thing now.

Test: atest QSFragmentComposeViewModelForceQSTest, check that the
parameters are all different
Fixes: 370457898
Flag: EXEMPT bugfix test

Change-Id: I21ce0bde64d5a47a62720bdbd9d52d4d15cb71e1
diff --git a/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/composefragment/viewmodel/QSFragmentComposeViewModelForceQSTest.kt b/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/composefragment/viewmodel/QSFragmentComposeViewModelForceQSTest.kt
index 57a9377..acd69af 100644
--- a/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/composefragment/viewmodel/QSFragmentComposeViewModelForceQSTest.kt
+++ b/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/composefragment/viewmodel/QSFragmentComposeViewModelForceQSTest.kt
@@ -82,11 +82,11 @@
                 (0u..31u).map { bitfield ->
                     TestData(
                         statusBarState,
-                        expanded = (bitfield or 1u) == 1u,
-                        stackScrollerOverScrolling = (bitfield or 2u) == 1u,
-                        bypassEnabled = (bitfield or 4u) == 1u,
-                        transitioningToFullShade = (bitfield or 8u) == 1u,
-                        inSplitShade = (bitfield or 16u) == 1u,
+                        expanded = (bitfield and 1u) == 1u,
+                        stackScrollerOverScrolling = (bitfield and 2u) == 2u,
+                        bypassEnabled = (bitfield and 4u) == 4u,
+                        transitioningToFullShade = (bitfield and 8u) == 8u,
+                        inSplitShade = (bitfield and 16u) == 16u,
                     )
                 }
             }