Refactor the SADeviceState to AdiDeviceState

The idea is to have a device state catalog for all the known devices.
Also refactored the name of the Settings.Secure key entry for
persistence. The current code will check the legacy key first, erase
it and update the new key.

Test: atest SpatializerHelperTest & AudioDeviceBrokerTest
Bug: 278265907
Change-Id: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3
9 files changed