diff options
author | 2022-11-14 16:01:29 +0000 | |
---|---|---|
committer | 2022-11-28 09:58:15 +0000 | |
commit | 19ef1c3a101683f1dface57ed8cf0934ea7a1f94 (patch) | |
tree | 7111a1450e59fdc003756cd82aeefb0b74661cd0 /libs/androidfw/ResourceUtils.cpp | |
parent | c8b05529fe876123cf84dd8021a6d0650387a792 (diff) |
Unifies constants accross hearing aid related profiles (1/2)
Hearing aid constants defined differently accross different hearing aid
related profiles. For hearing aid device mode, HearingAidProfile and
HapClientProfile have different value for mode definition and there is also a new BANDED hearing aid type in HapClientProfile spec. For hearing aid device side, HearingAidProfile has only 2 kinds of side which is left and right whereas BLE hearing aid can retrieve 27 different kinds of audio location.
We therefore introduce a new class HearingAidInfo for mapping these
different constants accross these profiles into a single unified set of
constants.
Bug: 253192350
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceTest
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=HearingAidDeviceManagerTest
Change-Id: I769e94c13b56f457b5ebee38b1ed168e3981ad34
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions