diff options
author | 2024-09-13 09:49:13 +0000 | |
---|---|---|
committer | 2024-09-13 09:49:13 +0000 | |
commit | 4f522ff2ff82e259580cd9c1299df90088ad5089 (patch) | |
tree | 5392fbd0137302a3ea6cc07d0f9aceadd8ac087a /cmds/bootanimation/BootAnimation.cpp | |
parent | c3d49d55358457091e90afd5fcb86ca3f7fc424b (diff) |
Add ExemptAidlInterfacesGenerator for PermissionAnnotationDetector
This CL is a prerequisite for migrating PermissionAnnotationDetector to
a global lint check. This will enforce newly added system services to
use @EnforcePermission annotations.
To determine the newly added system services, the global lint check will
use a pre-computed set of existing, i.e. exempt, AIDL interfaces in
AOSP. To compute the set, the CL introduces the following:
* ExemptAidlInterfacesGenerator, the Android Lint check that creates a
set of AIDL Interfaces for a build target.
* generate-exempt-aidl-interfaces.sh, a Bash script that runs the lint
check on the entire source tree and aggregates the results.
Bug: 363248121
Test: ExemptAidlInterfacesGeneratorTest
Flag: EXEMPT lint check
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9f5ec6218a11fcd9bc40e94c431338a9870a9e60)
Merged-In: Id700fb74485e63c76bbdb163079dd90b08c100dc
Change-Id: Id700fb74485e63c76bbdb163079dd90b08c100dc
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions