commit | b05f2f13aaf1426e23051cdcbcb4181bf5f3caac | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Wed Jun 05 21:00:21 2024 -0700 |
committer | Atneya Nair <atneya@google.com> | Fri Jun 07 13:43:47 2024 -0700 |
tree | 0487d0e7ab7f655160d11bd5988095281c9336b8 | |
parent | 138ddb63f9c6a76cd6b192092b10deda0aba6381 [diff] |
Migrate Permission APIs to BinderResult Migrate to return Results with error type binder::Status instead of status_t for more descriptive failure messages and caller ease of use. Refactor tests to support the new API shape and migrate to use newly added unwrapping gtest matchers and BinderStatusMatcher. Test: atest audiopermissioncontroller_test Bug: 338089555 Flag: com.android.media.audio.audioserver_permissions Change-Id: I0d05bbfdd6a2eb545dedb3d2ed0df7aa12fb21b2