Added a common polling method for device-side tests

Bug: 268193777
Bug: 276748580
Test: Ran the new testcase on android-11.0.0_r46 with/without patch

Change-Id: I6a6c0bbc22d0147d0dd6b472ecdc3db5f91c30b4
Merged-In: I6a6c0bbc22d0147d0dd6b472ecdc3db5f91c30b4
1 file changed
tree: 7a03618fcba8125af61dda022f1cf4f28ba8ad3e
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg