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
Loading
Please register or sign in to comment