| commit | 172d9a2aca15f1292302f7d21eba661a67bf5714 | [log] [tgz] |
|---|---|---|
| author | lpeter <lpeter@google.com> | Thu Jan 12 05:27:16 2023 +0800 |
| committer | Peter Li <lpeter@google.com> | Fri Feb 17 11:52:17 2023 +0000 |
| tree | 98b1fc76f10f9fd323f98dfab733d17b7c5356b6 | |
| parent | 7137d9165d25c7ddec6fe92e9d83a83ceceeafb0 [diff] |
Create the DetectorFailure class and its subclasses.
Add the DetectorFailure class and its subclasses to let the assistant
application know what went wrong during using the hotword detector.
Subclasses as below:
HotwordDetectionServiceFailure class
SoundTriggerFailure class
UnknownFailure class
VisualQueryDetectionServiceFailure class
Bug: 256780491
Bug: 261012843
Test: atest CtsVoiceInteractionTestCases
Change-Id: I5a35a0098afb77898e49f8c28b66ccf058e5e8dd