Add max device state enum for validation Device state is a bit field data, and we need to define a max value for data validation. Bug: 284098431 Test: build pass, basic functionality tests Change-Id: I54e97d087b6b899d87a75d4fb2841c5d52f5801c Merged-In: I54e97d087b6b899d87a75d4fb2841c5d52f5801c