Adding error raising and handling for exit_status2

when adb command throws stderr with exit status 2, we need
to raise it. Previously, it used to return stdout which was empty

Test: Yes, locally
Bug: 145814149
Change-Id: If8f73ad4aa28fdcb347ff5f26a0c646061172ac9
2 files changed
tree: 6e02608a7afc7b616f0cc620c9e07c1a4b530df4
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. OWNERS
  6. PREUPLOAD.cfg