Remove ConfigParser

ConfigParser was introduced mostly for reading both legacy Settings
and DeviceConfig lazily. We no longer read legacy Settings, and thus we no
longer need this class. DeviceConfig invalidates cache whenenver any
config in the same namespace is changed, and thus we don't need a listener
or so.

There is a side-effect though. DeviceConfig supports caching, however, some
configs require further parsing, like parsing a comma separated string to
a float array or string list. And we'll lose caching for these.
No significant difference is observed from the perf result though.

Bug: 135110855
Test: atest TextClassifierServiceTest
Change-Id: I66012438512455be18213b53334f2cd8f2641376
3 files changed