Reduce result lock scope

Result lock is used to protect pending results. Reduce the scope to
prevent potential deadlock.

Bug: 211162732
Test: GCA, CTS
Change-Id: I19204b9f685c940887bdae9172eb892c69bf4441
1 file changed
tree: 580d558d50500db40c78d522be22609fa03f47a9
  1. common/
  2. devices/
  3. .clang-format
  4. Android.bp
  5. METADATA
  6. OWNERS
  7. PREUPLOAD.cfg