android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 71b5153898 Rename check*Permission* to has*Permission
The check*Permission methods are a bit error-prone because people
can forget to check the return value and expect that they behave
like the enforce* methods. This was pointed out before in some bugs.

This change adds @CheckResult annotation to enforce linter warning
and rename methods accordingly.

Test: TH
Fix: 279691948
Change-Id: Ibb0df6540fe0ed40289bb190b790130daaa2f763
2024-02-01 15:24:35 +08:00
..
internal/net Test VpnProfile is not modified in startLegacyVpn 2023-11-16 12:28:12 +08:00
metrics Revert "Implement NetworkRequestsState atom" 2023-12-28 18:19:20 +00:00
server Rename check*Permission* to has*Permission 2024-02-01 15:24:35 +08:00