Add easy utilities for set/get priority

Cleans up some tests by templatizing the get/set priority
functions. Also adds some "sleeps" which avoid race conditions
which happen when we do an operation immediately after bonding
when the rest of the bluetooth stack has not caught up.

Bug: b/31021525
Change-Id: I0e27d9b84e0b23f7ea99eb1ea534c5c849ffca6b
9 files changed
tree: 9c50f4583d4c0ef60d55502c60be0d0c9fca3b23
  1. acts/
  2. Android.mk