Fix capabilities check in vibrator benchmarks

Bug: 159799891
Change-Id: Ieea33d5b451f7aa24e71950652f8fa964899ebcc
Test: atest libvibratorservice_benchmarks
diff --git a/services/vibratorservice/benchmarks/VibratorHalControllerBenchmarks.cpp b/services/vibratorservice/benchmarks/VibratorHalControllerBenchmarks.cpp
index 2bf9360..0d4c55e 100644
--- a/services/vibratorservice/benchmarks/VibratorHalControllerBenchmarks.cpp
+++ b/services/vibratorservice/benchmarks/VibratorHalControllerBenchmarks.cpp
@@ -51,7 +51,7 @@
         if (!result.isOk()) {
             return false;
         }
-        return (result.value() | query) == query;
+        return (result.value() & query) == query;
     }
 };