commit | eeab0a7d0898e77342f4caa400598dc83793869e | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Thu Dec 15 09:32:51 2022 -0800 |
committer | Atneya Nair <atneya@google.com> | Thu Dec 22 20:29:14 2022 +0000 |
tree | 1e4e95adbef20cbccc3cfb8bd1762a761a4a3db6 | |
parent | f6135d75db79b1d48fad3a3b3080d37be20a2313 [diff] |
Add query API for hotword flag support - Add API to query for device support for hotword record flags. - Call through AudioService to enforce permissions. - Clean up dependency injection, mocking in AudioService. - Directly call APM from AudioService using AIDL, instead of JNI. Test: atest AudioManagerTest, atest AudioRecordTest Test: AudioService unit tests Bug: 237449755 Change-Id: I42178b3895e4eb76dcabfc7b0259fc545223dcb6