summaryrefslogtreecommitdiff
path: root/core/java/android/annotation/SystemService.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove annotations that have been relocatedChris Wailes2021-04-261-42/+0
| | | | | | | | | These annotations have been relocated to frameworks/libs/modules-utils. This CL removes the files and updates necessary build rules. Bug: 183133670 Test: m Change-Id: I834b9f5320e0b6fe8cb9feb7194c82085b805e07
* SystemService annotation: Remove import of ContextDavid Su2020-01-121-5/+3
| | | | | | | | | Remove import of Context to allow this annotation to be statically linked easily. Bug: 142886292 Test: compiles Change-Id: I74b02d562a9df1729e4046c7a1e6d5d8033f21e2
* Add RequiresFeature annotation.Jeff Sharkey2018-02-161-1/+8
| | | | | | | | | | Certain APIs require that a device have a specific feature to operate correctly, so start annotating them. Test: builds, boots Bug: 72284763 Change-Id: Ie2f30284bdfdb6acc4067f434eba3b5433837606 Exempt-From-Owner-Approval: simple annotations
* Annotate @SystemApi with required permissions.Jeff Sharkey2017-06-051-0/+37
Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651