Add a utility class to install APK files

Previously we were using TradeFed test app installer preparer to install apks, which has a few drawbacks:
1) When the test module is being retried, the setup method is invoked on the same preparer object repeatedly, which is error-prone
2) Hard to set timeout
3) Does not grant app permissions under some circumstances
4) The installation part is separated from the test script which adds complexity to configuration.
5) Similar to 3), the test script has no access to the apks being installed.

This CL adds a utility to solve these issues.

Test: atest csuite-harness-tests
Change-Id: Idb4e593b5ff999048b2950f57e4de0a23a612c33
3 files changed
tree: 50b94944f53944298aec0407e6307de520f4203b
  1. config/
  2. harness/
  3. integration_tests/
  4. pylib/
  5. test_scripts/
  6. test_targets/
  7. tools/
  8. Android.bp
  9. OWNERS
  10. PREUPLOAD.cfg
  11. pylintrc
  12. README.md
  13. TEST_MAPPING
README.md

Android App Compatibility Test Suite (C-Suite)

C-Suite consists of the testing framework and test cases, designed to detect and report app compatibility issues.