Improve test reliability

Improve test reliability:

waitForCondition() would terminate after less than
30 iterations because the condition returned true but then
waitForCondition() could fail. This would occur when the
condition wasn't stable. The last result of the condition is
now cached to avoid this causing problems. Instability
isn't always a problem when there's effectively an "AND"
across multiple conditions.

Bug: 31008728
Test: Ran xTS tests
Change-Id: I73dc233451bd9ccf0385458588bae89087987fb4
1 file changed
tree: 149473c044c0bdd5b3e8445eafd5c9d09a2c7c43
  1. manifests/
  2. oem_template/
  3. src/
  4. testing/
  5. Android.mk
  6. proguard.cfg
  7. README