Copy DeviceConfig mock from FrameworksMockingServicesTests to moduleutils

This infra is needed for module tests that need a TestableDeviceConfig.

The old location will be cleaned up in a separate CL.

Bug: 192108282
Test: ModulesUtilsTestingTests
Merged-In: I3d883f49d3f0db92e71f42b4717b8b5b7cc15fec
Change-Id: I3d883f49d3f0db92e71f42b4717b8b5b7cc15fec
10 files changed
tree: 4c9540b8e3f0470aab8dfc82caa6da0143fd3361
  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.