diff options
| author | 2023-02-10 09:46:35 -0800 | |
|---|---|---|
| committer | 2023-02-15 16:35:40 -0800 | |
| commit | 1cfbb3b4059fa50f0d6a974dc094de41b7c53fcc (patch) | |
| tree | 85923550f25d4b0ee8fd75a9251270216abecee0 /libs/androidfw/StringPool.cpp | |
| parent | 4c2b1952a3159226509f99ff05ea59e1c80981d2 (diff) | |
Add module selection APIs to ST
Configure underlying ST module selection when connecting to STService.
This enables connection to a test HAL implementation.
1. Add listModuleProperties to STService interface.
2. Add ModuleProp argument to STService session attach methods.
3. Existing STService clients select the first module, to retain
existing behavior.
4. Remove module props cacheing in STHelper.
5. Remove module re-attach on prepareForRec in STHelper, detach is now
final. Module now re-attaches immediately on HAL death.
6. Explicitly error when no ST module is available in STManager.
Test: Manual verification of assistant/aiai phrase reco
Test: ST clients gracefully reconnect after HAL restart
Test: Manual verification of getModuleProp result
Bug: 269165331
Bug: 269166643
Change-Id: I1be9773aa20d68562154eb9fb9ec9e46583231c9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions