[automerger skipped] Partial cherry-pick from internal master am: 4e3fd68a63 -s ours am: 5f0e20de1b -s ours

am skip reason: skip tag Change-Id I879d2260c4779f4c88c26fe1c5b6b8a93c159e40 with SHA-1 059f1a2888 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/common/+/14124700

Change-Id: I0d5eb725d7befde87c6de6a3ac7d5da90dc2c40b
tree: f3823482c2a26671a2a1d270e22d4a2dbe88a787
  1. build/
  2. java/
  3. sdk/
  4. generate_ml_bundle.sh
  5. MODULES_OWNERS
  6. OWNERS
  7. PREUPLOAD.cfg
  8. README.md
README.md

packages/modules/common

This project includes mainline build and other utility code. Any library code intended for use by modules should go in frameworks/libs/modules-utils instead.

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.