commit | c23be5049d6eeac40f6c586ed4ae6dc3b5ddde55 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Mon May 13 10:28:07 2024 -0700 |
committer | Atneya Nair <atneya@google.com> | Fri May 24 11:48:59 2024 -0700 |
tree | ee50cae386a46b13fa3d4f6a98681e301029ba51 | |
parent | 85a07e23543a3171394b878307d6d8dd89f8ca32 [diff] |
Add permission caching to PermissionController Audioserver currently calls upwards to system_server for all permission checks. Invert the call direction, and maintain mapping of uids which hold a particular permission. Add AIDL interface for system_server and enum representing relevant permissions. Test: atest audiopermissioncontroller_test Bug: 338089555 Flag: com.android.media.audio.audioserver_permissions Change-Id: I45be63217fa58544e6dd9530a5d9e29b99f31ade