/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 187 def noised_sine_wave(frequency, rate, noise_level): argument 201 for index in range(0, rate * 2): 202 sample = 2.0 * math.pi * frequency * float(index) / float(rate) 232 def noise_level(amplitude, frequency, rate, teager_value_of_input): argument 258 standard_wave = noised_sine_wave(frequency, rate, standard_noise) 280 def hilbert_analysis(signal, rate, block_size): argument 324 frequency = numpy.diff(phase) / (2.0 * numpy.pi) * rate 429 rate, noise_amplitude_threshold): argument 456 same_event_samples = rate * DEFAULT_SAME_EVENT_SECS 466 if ((start_index - rate * NEAR_SINE_START_OR_END_SECS) <= index and [all …]
|
D | audio_analysis.py | 78 rate, argument 131 x_f = _rfft_freq(length, rate) 157 def _rfft_freq(length, rate): argument 171 val = rate / float(length) 274 rate, argument 308 golden_y = _generate_golden_pattern(rate, freq, block_size) 319 results = [float(x) / rate for x in results] 325 rate, argument 353 anoms = anomaly_detection(signal, rate, freq, block_size, threshold) 360 sample_diff = abs(anoms[i] - anoms[i+1]) * rate [all …]
|
D | check_quality.py | 76 self.rate = None 157 self.rate = header[2] 193 def __init__(self, raw_data, rate): argument 203 self._rate = rate 252 rate=self._rate, 429 def read_audio_file(filename, channel, bit_width, rate): argument 448 rate = wavefile.rate 459 return raw_data, rate 497 rate, argument 534 raw_data, rate = read_audio_file(filename, channel, bit_width, rate) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/ |
D | audio_quality_measurement_integrationtest.py | 35 rate = 48000 42 for index in range(0, rate * length_in_secs): 43 phase = 2.0 * math.pi * frequency * float(index) / float(rate) 58 amplitude, frequency, rate, teager_value_of_wave) 78 self.rate = 48000 82 self.samples = length_in_secs * self.rate 85 phase = 2.0 * math.pi * self.freq * float(index) / float(self.rate) 102 start_index = int(self.delay_start_time[i] * self.rate) 103 end_index = int(self.delay_end_time[i] * self.rate) 110 end_index = int(silence_before_playback_end_time * self.rate) [all …]
|
D | audio_analysis_integrationtest.py | 105 rate = 48000 111 samples = length_in_secs * rate 113 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 116 results = audio_analysis.spectral_analysis(y, rate) 149 rate = 48000 151 samples = length_in_secs * rate 154 results = audio_analysis.spectral_analysis(noise, rate) 179 self.rate = 48000 182 self.samples = length_in_secs * self.rate 183 x = numpy.linspace(0.0, (self.samples - 1) * 1.0 / self.rate, [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiSensitivityTest.py | 311 data_rate = next(rate.data_rate for rate in rate_list 312 if rate[:-1] == (test_id_dict['rate'], 617 for chain, rate in itertools.product(chain_mask, rates): 622 rate=rate.mcs, 623 num_streams=rate.streams, 626 if chain in ['0', '1'] and rate[1] == 2: 633 str(rate.mcs).replace('.', 'p'), 634 rate.streams, chain)) 638 channel, mode, rate.mcs, 639 rate.streams, chain)) [all …]
|
D | WifiTxPowerCheckTest.py | 452 [('CCK', rate, 1) 453 for rate in ['{}Mbps'.format(mbps) for mbps in [1, 2, 5.5, 11]]], 454 'OFDM_CDD1': [('LEGACY', rate, 1) for rate in [ 459 [(mode, rate, 1) 461 rate) in itertools.product(['HT' + str(bw), 'VHT' + 468 [(mode, rate - 8 * ('VHT' in mode), 2) 470 rate) in itertools.product(['HT' + str(bw), 'VHT' + 475 'HE_MCS0-11_CDD1': [('HE' + str(bw), rate, 1) 476 for rate in range(0, 12)], 477 'HE_MCS0_11SS2': [('HE' + str(bw), rate, 2) [all …]
|
D | WifiThroughputStabilityTest.py | 217 rate * 8 * (1.024**2) 218 for rate in test_result['iperf_result'].instantaneous_rates[
|
D | WifiRoamingPerformanceTest.py | 574 rate * 8 * (1.024**2) for rate in iperf_result.instantaneous_rates
|
/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/ |
D | BtChameleonTest.py | 60 bits_per_sample, rate, record_seconds, 90 rate=rate, 148 rate = audio_sample_rate_48000 158 rate=rate, 209 rate = audio_sample_rate_48000 218 rate=rate,
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/ |
D | google_wifi.py | 209 rate=self.ap_settings[interface]['rate'], 244 rate='auto', 263 self.ap_settings[interface]['rate'] = rate 266 if rate == 'auto': 270 interface_long, interface_short, rate) 273 interface_long, interface_short, num_streams, rate) 278 interface_long, interface_short, rate)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/ |
D | IperfHelper.py | 103 samples = [rate * 8 * (1.024**2) for rate in samples] 109 for rate in samples: 110 if abs(rate - mean) > max_dev: 111 max_dev = abs(rate - mean)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/ |
D | audio_capture_device.py | 68 rate = f.getframerate() 69 duration = (frames / float(rate)) * 1000 195 rate=self.sample_rate,
|
D | audio_test_utils.py | 163 rate=self.audio_params["sample_rate"],
|
/tools/test/connectivity/acts_tests/tests/google/usb/ |
D | UsbTetheringThroughputTest.py | 188 rate = re.findall('(\d+.\d+) (.)bits/sec.*receiver', result) 189 return True, rate[0][0], rate[0][1]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_server.py | 249 sqd_deviations = ([(rate - avg_rate)**2 250 for rate in instantaneous_rates])
|
/tools/test/connectivity/acts_tests/tests/google/net/arduino/disconnect_wifi/ |
D | disconnect_wifi.ino | 7 Serial.println("disconnect: setup(): INFO: Setting baud rate to 9600");
|
/tools/test/connectivity/acts_tests/tests/google/net/arduino/connect_wifi/ |
D | connect_wifi.ino | 17 Serial.println("connect: setup(): INFO: Setting baud rate to 9600");
|
/tools/test/openhst/ |
D | stress_test.proto | 110 // Sample rate of audio file.
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | qcom_utils.py | 387 mcs_id.rate)
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | command_input.py | 2319 rate=audio_sample_rate_48000,
|