Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 19ef1c3a authored by Angela Wang's avatar Angela Wang
Browse files

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
parent c8b05529
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment