summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-06-25 02:32:52 -0700
committerAhaan Ugale <augale@google.com>2021-06-29 19:13:13 -0700
commitba966c1461929d61f47eac560ee76413dd1a5b54 (patch)
tree6c2bf7269f0ee38157158ec3a76531d5877cf1f0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentba23b84687d4bbaada0a8084dabaafb59f27a233 (diff)
HotwordDetectionSrvc: Handle SoundTrigger permissions in VIMS
This allows properly checking/noting against the voice interactor or HotwordDetectionService as needed. Otherwise, SoundTriggerMiddlewarePermission notes ops for data delivery to the interactor, even if the data only reaches the HotwordDetectionService. This is accomplished with a decorator for permission checks, that wraps the real implementation. A proxy that serves as the remote Binder object is also needed, to allow this decoration pattern. The list of sessions stored in VIMS is removed for simplicity. It currently serves no purpose (used only in dump() but doesn't implement it so it's a no-op there). DataDelivery checks will be addressed in a followup change. Bug: 186164881 Test: manual - permissions are checked appropriately Test: atest CtsVoiceInteractionTestCases Change-Id: I80dabaf6ae0e781028dde16ead3321fbff319542
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions