statemachine migration from base to modules-utils

Changes needed in order to not have a hidden dependency used by
modules-utils.
We are replacing the os.test.TestLooper by os.TestLooperManger

Bug: 198418216
Tag: #refactor
Test: atest ModulesUtilsTests
Ignore-AOSP-First: avoid merge-conflict with frameworks/base
Change-Id: I50ef57bdb869f3e8da7235943f34a8c66ce4b498
1 file changed
tree: 5f7cbc584ab5b4bb0be797f4c555010dd2e42f26
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. Android.bp
  6. OWNERS
  7. PREUPLOAD.cfg
  8. README.md
  9. 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.