| commit | b404eee1c159bd4bc2d5c0500a1996cfbceb2799 | [log] [tgz] |
|---|---|---|
| author | ThiƩbaud Weksteen <tweek@google.com> | Tue Feb 21 14:29:50 2023 +1100 |
| committer | ThiƩbaud Weksteen <tweek@google.com> | Thu Mar 02 10:07:21 2023 +1100 |
| tree | 8bb555e998e5fb2816d4cb9e844964ab5a02c85f | |
| parent | 8fa88e4773f397543acf5df0a2d8a48958861714 [diff] |
Add end-to-end tests for @EnforcePermission The current integration tests under system/tools/aidl mock PermissionEnforcer and as such do not exercise the complete permission checks. Set up a service app (service-app) which relies on the annotation to protect its methods. A nested service is included to test that permission checks propagate to same-process calls. Bug: 269721152 Test: atest EnforcePermissionTests Change-Id: I2d14f10333eabc385007216038dc487f83a4d21a