Eliminate code duplication from hwcomposer

Move all common code to guest/hals/hwcomposer/common, which includes
the implementation of cpu-based compositions (vsoc_composer.* files
are renamed to cpu_composer.*).
Encapsulate the differences in classes implementing the contract
defined in the ScreenView abstract class (VsocketScreenView for crosvm
and VSoCScreenView for qemu).
Fix formatting of some files.

Bug: 135628605
Test: run locally with qemu & crosvm
Change-Id: Iae3c8a31155f935a4ee60ef1e16c934ad4878587
34 files changed
tree: 9d19e2e7303cfdd6485a0f4ed08bdf01af9aab2d
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS
  9. TEST_MAPPING