Update A2dpCodecBaseTest and fix bug in audio_test_utils.

Updates to A2dpCodecBaseTest:
- Simplify test method logic
- Integrate with abstract device factory
- Add sine wave anomaly detection

Bug: None
Test: tested on Pixel1, with Earstudio bluetooth dongle and AudioBox 22
VSL soundcard.

Change-Id: I8d6c534a9b00684020343dac3307259ab7688297
2 files changed
tree: 1e1d81bb0839218196d07e37b454e1033b5a129c
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. PREUPLOAD.cfg