Bluetooth: use audio test data from the cloud

Instead of using audio test data deployed with chameleon, which often
times have permission inconsistency, use files downloaded from the
cloudand update their permission proactively.

BUG=b:182616589
TEST=bluetooth_AdapterAUHealth

Change-Id: I89cfe79867ffe8787f577124724cb5746ba1ddf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/chameleon/+/2785582
Tested-by: Michael Sun <michaelfsun@google.com>
Auto-Submit: Michael Sun <michaelfsun@google.com>
Commit-Queue: Shyh-In Hwang <josephsih@chromium.org>
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
diff --git a/chameleond/utils/bluetooth_audio.py b/chameleond/utils/bluetooth_audio.py
index ec13263..dc2a984 100644
--- a/chameleond/utils/bluetooth_audio.py
+++ b/chameleond/utils/bluetooth_audio.py
@@ -34,7 +34,6 @@
 
 
 # The audio test data for various profiles.
-audio_test_dir = os.path.join(os.path.dirname(__file__), 'data/audio')
 audio_record_dir = '/tmp/audio'
 audio_data_dir = '/usr/share/autotest/audio-test-data'
 audio_test_data = {
@@ -43,7 +42,7 @@
         'format': 's16le',
         'rate': 8000,
         'channels': 1,
-        'file': os.path.join(audio_test_dir,
+        'file': os.path.join(audio_data_dir,
                              'sine_3500hz_rate8000_ch1_5secs.wav'),
         'recorded_file': os.path.join(audio_record_dir,
                                       'hfp_nbs_recorded_by_peer.wav'),
@@ -54,7 +53,7 @@
         'format': 's16le',
         'rate': 16000,
         'channels': 1,
-        'file': os.path.join(audio_test_dir,
+        'file': os.path.join(audio_data_dir,
                              'sine_7000hz_rate16000_ch1_5secs.wav'),
         'recorded_file': os.path.join(audio_record_dir,
                                       'hfp_wbs_recorded_by_peer.wav'),
diff --git a/chameleond/utils/data/audio/sine_3500hz_rate8000_ch1_5secs.wav b/chameleond/utils/data/audio/sine_3500hz_rate8000_ch1_5secs.wav
deleted file mode 100755
index 8f94c03..0000000
--- a/chameleond/utils/data/audio/sine_3500hz_rate8000_ch1_5secs.wav
+++ /dev/null
Binary files differ
diff --git a/chameleond/utils/data/audio/sine_7000hz_rate16000_ch1_5secs.wav b/chameleond/utils/data/audio/sine_7000hz_rate16000_ch1_5secs.wav
deleted file mode 100755
index 52cedad..0000000
--- a/chameleond/utils/data/audio/sine_7000hz_rate16000_ch1_5secs.wav
+++ /dev/null
Binary files differ