Merge "Convert mask types from uint32_t to enum type" am: df5a00d27b

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1510516

Change-Id: I1cc5c8b2b2285d5fc6d804e3fe40f47d3c65a91b