emitEnumBitwiseOperator takes operator parameter.

We now generate a bitwise and operator in addition
to the bitwise or operator for enums.

Test: make hardware/interfaces/tests/foo/1.0 and
      inspect output header.

Bug: 32800038

Change-Id: I6b0018317dc2bc6e20b28f5909b7091b4f57f9b7
diff --git a/EnumType.h b/EnumType.h
index 8cb7e54..36ac968 100644
--- a/EnumType.h
+++ b/EnumType.h
@@ -90,7 +90,10 @@
     void getTypeChain(std::vector<const EnumType *> *out) const;
     const Annotation *findExportAnnotation() const;
 
-    void emitEnumBitwiseOrOperator(Formatter &out, bool mutating) const;
+    void emitEnumBitwiseOperator(
+            Formatter &out,
+            bool mutating,
+            const std::string &op) const;
 
     std::vector<EnumValue *> mValues;
     Type *mStorageType;