Move Illustration widget to its own folder.
Move ChartTest to chart folder (to be aligned with the widget)
Bug: 244122804
Test: unit-test & local build gallery
Change-Id: Id6b8237ff37916724a5aaeb915c75400a9408113
Also add unit tests for AppOpPermissionAppList.
Also correct the test only resources R to
com.android.settingslib.spaprivileged.test.R
Bug: 260660819
Test: Unit test
Test: Manually with Settings
Change-Id: I732f777906c5ea4a79e876b982ba0ca28b39a0ee
To simply some simple usage case and unit test.
Also add Flow<List<T>>.mapItem(), we could use mapItem() instead of
asyncMapItem() when async is not need.
Bug: 260660819
Test: Make Settings
Change-Id: I958aeaeb8c0e98ee0873b39a958a5ef5158dd76a
Support Session Name in SpaIntent
Add tests for SpaIntent
Set proper Session Name in DebugActivity, SpaSearchProvider & SliceUtil
Bug: 244122804
Test: unit-test & local build gallery
Change-Id: Ia9c21e2f56dcf7b4437e5bb417bdfe05b7c85b77
Move SpaSearchProvider.kt to search/ folder
Deprecate setIsAllowSearch API in EntryBuilder
Bug: 256582545
Test: unit-test & local build gallery
Change-Id: I0fc9ef3e935e512f738cd07c9e3837a2ee1ad272
Move PageLogger to separate file
Add session source name in navController and read in PageLogger.
Next: set different session source name in DebugActivity for demo.
Bug: 244122804
Test: unit-test & local build gallery
Change-Id: Ia6b745588314a1dd451cba539d2b09dc7005ec8e
Update the bluetooth icon and summary text for BLE hearing aid shown in
Bluetooth device preference.
BLE hearing aid will connect to both LE audio and HAP client profile.
These two profiles which connect first will be displayed as the device
bluetooth icon, but is should be hearing aid icon for BLE hearing aid.
The solution is to check if the device connected to any of the hearing
aid related profiles first. If hearing aid related profiles found, it
should use hearing aid icon. Otherwise, it should check if any other
profile has specific icon to show.
Bug: 259904131
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceTest
Change-Id: I5dbe90814ce1199fae704833935dd897a36128f2
Retrives BLE hearing aid device type from
HapClientProfile#getHearingAidType() and audio location from
LeAudioProfile#getAudioLocation(). Sets these HearingAidInfo to
CachedBluetoothDevice when both profiles are connected.
Bug: 253192350
Test: m statsd_testdrive & statsd_testdrive 513
Change-Id: Ib50b2612903decf554f594335a56465fe4c47cfa
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