Refactor binary XML to not depend on ART.

We're willing to let the ArtFastDataInput/ArtFastDataOutput classes
allocate the newNonMovableArray() on our behalf, instead of assuming
the array must always be non-movable.

(Non-movable arrays are only needed for CharsetUtils, which is only
used in the ART-specific subclasses.)

Bug: 292141694
Test: atest-dev CtsOsTestCasesRavenwood CtsOsTestCases
Change-Id: I4e4f97f0e287a3cad1ccb2ec64e93a808ef3524f
2 files changed
tree: d44611ffc57a72ccf7414ca6aa843e544c979c7e
  1. build/
  2. java/
  3. javatests/
  4. jni/
  5. tools/
  6. .gitignore
  7. Android.bp
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. 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.