Add an exception class in the device utils class

Previously the launchPackage method returns false when the command failed, which means the caller does not have any more information about the failure other than the fact that the operation failed. Test failure message won't contain enough information about the failure and the users will need to look into the logs to find the cause.

Test: atest csuite-harness-tests
Fix: 205912019
Change-Id: I1d9a0b4ea03049e4ff88b983a508a41ce8a71a62
3 files changed
tree: 95c107a9245eb37628cd4ccff1bd40fd8c738259
  1. config/
  2. harness/
  3. instrumentation/
  4. integration_tests/
  5. pylib/
  6. test_targets/
  7. tools/
  8. Android.bp
  9. OWNERS
  10. PREUPLOAD.cfg
  11. pylintrc
  12. README.md
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.