Set of annotations for special UserHandle values

Introduces annotations to specify whether a given
UserHandle, UserIdInt, or UserHandleAware item can be a special
(negative) UserHandle value (such as ALL or CURRENT).

Test: Just an annotation
Bug: 373455030
Flag: EXEMPT documentation only
Ignore-AOSP-First: Internal to keep the topic. Can cherry-pick to AOSP after submission.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5c8865823ea81352b84e098aa863fbf54d39bdfd)
Merged-In: I579ea2dcf09fe4036b536f19deef8bc4056250d8
Change-Id: I579ea2dcf09fe4036b536f19deef8bc4056250d8
3 files changed
tree: 5ce8d69ee057c53d8e679ff391480d51fb3ba493
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. .gitignore
  6. Android.bp
  7. OWNERS
  8. PREUPLOAD.cfg
  9. README.md
  10. TEST_MAPPING
README.md

frameworks/libs/modules-utils/

Libraries and utilities intended for use by module and framework code.

Since modules use the code in this project, it must adhere to mainline requirements, for example, by setting min_sdk_version in Soong modules.

Java code

This project uses a single source path for Java code. All Java code should go in the java directory with subdirectories corresponding to the java package. Android.bp files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.

Tests for java code should go in the javatests directory and follow the same structure.