summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Aleksandar Kiridzic <kiridza@google.com> 2022-09-28 14:43:08 +0100
committer Aleksandar Kiridžić <kiridza@google.com> 2022-12-17 00:01:05 +0000
commitec5a9ecb555a60461ee22eaea26c591c3e1af309 (patch)
tree852864c0a0a45f7c3edf9afd69ef845693eb89be /libs/androidfw/StringPool.cpp
parent9c1c17544b773850f6f992936260a2c6c5c11e47 (diff)
Speech: Concurrent recognition service
Currently, each recognition service implementation can run a single recognition session at one time. If another client tried to start a session, it would fail with SpeechRecognizer.ERROR_RECOGNIZER_BUSY. With these changes, each recognition service implementation can run multiple recognition sessions at one time. Service implementations can control the level of concurrency by overriding the newly added `getMaxConcurrentSessionsCount` method. The default value is 1, meaning no concurrency. A CTS testing these changes is in the same topic as this CL. Bug: 261895777 Test: Manual, using the intent-starter test app Change-Id: Ia64f4bb6aeff89942b3cfd2efb3520b5b3ac5ae7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions