Moves the subprocess function to a library

Test: run on gce
Bug: 79170615
Change-Id: I83ef0092e1a74930d98b35c4a5b359fa98a7b14a
Merged-In: I83ef0092e1a74930d98b35c4a5b359fa98a7b14a
(cherry picked from commit 6a9d629814eef712ff00438cb0e9f139b5cc74e3)
7 files changed
tree: 0ddb9488fc04eac9dd3ad82d1b26df8d256f223a
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS