summaryrefslogtreecommitdiff
path: root/core/java/android/annotation/UiThread.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove annotations that have been relocatedChris Wailes2021-04-261-51/+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
* Enable thread annotations for parametersMatthew Gharrity2017-07-241-1/+2
| | | | | | | | | This allows us to indicate that an argument (especially a lambda or method reference) will be invoked on a separate thread. This will be used to improve interprocedural thread annotation checks. Test: n/a Change-Id: I035733f8bfb1ba47f0995f38783681d105661dc5
* More auto-doc work.Jeff Sharkey2017-04-211-10/+18
| | | | | | | | | | | | | | Add support for AnyThread, CallSuper, and UiThread. Another related CL started documenting @RequiresPermission, so remove duplicated information in existing APIs. Suppress auto-doc on a handful of classes that are already well-documented. Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
* Fix @code escapesNeil Fuller2015-12-021-3/+3
| | | | | | | | | The body of {@code} must not be HTML escaped. This is one of several changes that fix the source in conjunction with a doclava fix. Bug: 25757239 Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
* Add threading annotationsTor Norbye2015-04-201-0/+42
These describe threading requirements for a given method, or threading promises made to a callback. Change-Id: If496067b12df3a0adedc32e4b4005cd1c2d400f3