/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 | 40 rate = 48000 47 for index in range(0, rate * length_in_secs): 48 phase = 2.0 * math.pi * frequency * float(index) / float(rate) 63 amplitude, frequency, rate, teager_value_of_wave) 83 self.rate = 48000 87 self.samples = length_in_secs * self.rate 90 phase = 2.0 * math.pi * self.freq * float(index) / float(self.rate) 107 start_index = int(self.delay_start_time[i] * self.rate) 108 end_index = int(self.delay_end_time[i] * self.rate) 115 end_index = int(silence_before_playback_end_time * self.rate) [all …]
|
D | audio_analysis_integrationtest.py | 110 rate = 48000 116 samples = length_in_secs * rate 118 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 121 results = audio_analysis.spectral_analysis(y, rate) 154 rate = 48000 156 samples = length_in_secs * rate 159 results = audio_analysis.spectral_analysis(noise, rate) 184 self.rate = 48000 187 self.samples = length_in_secs * self.rate 188 x = numpy.linspace(0.0, (self.samples - 1) * 1.0 / self.rate, [all …]
|
/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/tests/google/wifi/ |
D | WifiSensitivityTest.py | 266 data_rate = next(rate.data_rate for rate in rate_list 267 if rate[:-1] == (test_id_dict['rate'], 559 for chain, rate in itertools.product(chain_mask, rates): 564 rate=rate.mcs, 565 num_streams=rate.streams, 568 if chain in ['0', '1'] and rate[1] == 2: 575 str(rate.mcs).replace('.', 'p'), 576 rate.streams, chain)) 580 channel, mode, rate.mcs, 581 rate.streams, chain)) [all …]
|
D | WifiThroughputStabilityTest.py | 205 rate * 8 * (1.024**2) 206 for rate in test_result['iperf_result'].instantaneous_rates[
|
D | WifiRoamingPerformanceTest.py | 573 rate * 8 * (1.024**2) for rate in iperf_result.instantaneous_rates
|
/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/wifi/wifi_retail_ap/ |
D | google_wifi.py | 201 rate=self.ap_settings[interface]['rate'], 236 rate='auto', 255 self.ap_settings[interface]['rate'] = rate 258 if rate == 'auto': 262 interface_long, interface_short, rate) 265 interface_long, interface_short, num_streams, rate) 270 interface_long, interface_short, rate)
|
/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_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/framework/acts/controllers/ |
D | iperf_server.py | 249 sqd_deviations = ([(rate - avg_rate)**2 250 for rate in instantaneous_rates])
|
/tools/test/openhst/ |
D | stress_test.proto | 110 // Sample rate of audio file.
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 1605 mcs_id.rate)
|
/tools/asuite/atest/unittest_data/tradefed_prebuilt/prebuilts/filegroups/tradefed/ |
D | tradefed-contrib.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |
/tools/tradefederation/prebuilts/filegroups/tradefed/ |
D | tradefed-contrib.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |