diff options
author | lpeter <lpeter@google.com> | 2021-06-17 12:58:33 +0800 |
---|---|---|
committer | lpeter <lpeter@google.com> | 2021-06-22 19:46:24 +0800 |
commit | 461a62b31c191c67fb4d16fb77d4eb6da3dea7c9 (patch) | |
tree | dfaac2f7ee7a753c77a6a8ad33f0dd137c7bfde8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 1a49d4f799bbd0ada2da7de3ce1f2d36058d3892 (diff) |
Validate the HotwordDetectedResult
Implementation as below:
1.Implemet the getMaxBundleSize()
2.Validate if the bundle data of setExtras() is more than
getMaxBundleSize()
3.Validate if the value of setHotwordPhraseId() is between 0
and getMaxHotwordPhraseId()
3.Validate if the value of setScore() is between 0
and getMaxScore()
4.Validate if the value of setPersonalizedScore() is between 0
and getMaxScore()
5.Validate if the data of HotwordDetectedResult is more than 100 bytes
Bug: 190688148
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: Ie23e8a831053f14ff0ea795fef356508b9fe126e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions