commit | 173871c17e833d0792728721d4508e81f0ea2a6f | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Tue Sep 08 09:55:14 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Thu Oct 01 14:35:07 2020 -0700 |
tree | 1c151721fefd700b3c66355ddcae23718fa7e8f0 | |
parent | e68afb4c1f03a7507853c357204a823d107232af [diff] |
Introducing NamedEnum to parse enum value as string names. Add support for parsing enum definition from enum value to string as per the enum class definition. Including the parsing for enum value zero, to be able to use enum name parsing for all enum class include value of 0. Bug: 160010896 Test: atest inputflinger, atest libinput_tests Change-Id: I717fefd46eddf49cea1ba69429bdd6c856e6bc45