diff options
| author | 2023-09-12 12:07:42 +1000 | |
|---|---|---|
| committer | 2023-09-19 15:24:31 +1000 | |
| commit | df4cd065ababdf0dc95806cecae88a947210f98a (patch) | |
| tree | 8d6eb6f355747425c4a28452bef5b6d4e8946e72 /libs/androidfw/AssetManager.cpp | |
| parent | 2cdda47d27442eec9852482bab3a435abb5aa0eb (diff) | |
Add reporting tool for migration to @EnforcePermission
Add a tool "enforce_permission_counter" which leverages lint_fix and the
AndroidUtilsLintChecker linter to report on the number of AIDL methods
that have been migrated to use the @EnforcePermission annotation (or
@RequiresNoPermission).
Test: enforce_permission_counter
Test: lint_fix --print --no-fix --check AnnotatedAidlCounter \
--lint-module AndroidUtilsLintChecker services.autofill
Bug: 298285238
Change-Id: I521ab5358476f63387674e17c601da3b63cbc1d8
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions