[ATFT] Add code to prevent interleaved operation.

Add lock to make sure that only one operation is allowed on
one device at one time.

Bug: b/77496482
Test: Unit tests, local test.
Change-Id: Ibbddcee9a5c7554212b33796e25e25382f29861a
3 files changed
tree: 1c413feae9e3cf4a7475d08fe13d81c62898ccc8
  1. at-factory-tool/
  2. atap/
  3. partner-tools/
  4. MODULE_LICENSE_APACHE2
  5. NOTICE