diff options
| author | 2023-03-14 02:13:31 +0000 | |
|---|---|---|
| committer | 2023-03-14 02:13:31 +0000 | |
| commit | 5407d0e88855553204f67417b21f393c384bc75f (patch) | |
| tree | 5185c2fea0e1ce4c8ff2320520e148f130d8fa53 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 13b99b754924f76464d43d974879b97588a90259 (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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b404eee1c159bd4bc2d5c0500a1996cfbceb2799)
Merged-In: I2d14f10333eabc385007216038dc487f83a4d21a
Change-Id: I446406aa0e7ce6de5745d870599d37706cc52cf9
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions