Searched refs:audio_params (Results 1 – 8 of 8) sorted by relevance
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | audio_capture_device.py | 74 def write_record_file(self, audio_params, frames): argument 87 wf.setnchannels(audio_params['channel']) 88 wf.setsampwidth(audio_params['sample_width']) 89 wf.setframerate(audio_params['sample_rate']) 101 def __init__(self, ad, audio_params): argument 110 self.audio_params = audio_params 117 self.audio_params['duration'], self.adb_path, 142 file_path = self.write_record_file(self.audio_params, frames) 151 def __init__(self, audio_params): argument 158 self.audio_params = audio_params [all …]
|
D | audio_test_utils.py | 35 def get_audio_capture_device(ad, audio_params): argument 54 if audio_params['type'] == 'AndroidDevice': 55 return CaptureAudioOverAdb(ad, audio_params) 57 elif audio_params['type'] == 'Local': 58 return CaptureAudioOverLocal(audio_params) 62 '%s' % audio_params['type']) 70 def __init__(self, path, audio_params=None): argument 78 self.audio_params = audio_params 81 if self.audio_params: 163 rate=self.audio_params["sample_rate"], [all …]
|
D | CoexPerformanceBaseTest.py | 105 self.audio = get_audio_capture_device(self.sec_ad, self.audio_params) 242 self.path).audio_quality_analysis(self.audio_params)
|
D | coex_test_utils.py | 1039 def push_music_to_android_device(ad, audio_params): argument 1051 music_path = audio_params["music_file"] 1059 music_file_to_play = audio_params["music_file"]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | A2dpBaseTest.py | 90 self.bt_device_controller, self.audio_params) 97 vol = self.dut.droid.getMaxMediaVolume() * self.audio_params['volume'] 145 self.audio_params) 146 thdn = audio_result.THDN(**self.audio_params['thdn_params']) 167 **self.audio_params['anomaly_params'])
|
/tools/test/connectivity/acts/tests/google/coex/performance_tests/ |
D | WlanWithA2dpPerformanceTest.py | 71 self.audio_params["music_play_time"])), 92 self.audio_params["music_play_time"])),
|
/tools/test/connectivity/acts/tests/google/bt/headphone_automation/ |
D | SineWaveQualityTest.py | 13 **self.audio_params.get('anomaly_params', {}))
|
/tools/test/connectivity/acts/tests/google/bt/performance/ |
D | BtA2dpRangeTest.py | 143 self.audio_params['duration']) 158 if thdn >= self.audio_params['thdn_threshold']:
|