/tools/test/connectivity/acts/framework/tests/ |
D | audio_quality_measurement_unittest.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_unittest.py | 103 rate = 48000 109 samples = length_in_secs * rate 111 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 114 results = audio_analysis.spectral_analysis(y, rate) 147 rate = 48000 149 samples = length_in_secs * rate 152 results = audio_analysis.spectral_analysis(noise, rate) 177 self.rate = 48000 180 self.samples = length_in_secs * self.rate 181 x = numpy.linspace(0.0, (self.samples - 1) * 1.0 / self.rate, [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 71 rate, argument 124 x_f = _rfft_freq(length, rate) 150 def _rfft_freq(length, rate): argument 164 val = rate / float(length) 267 rate, argument 300 golden_y = _generate_golden_pattern(rate, freq, block_size) 311 results = [float(x) / rate for x in results] 316 def _generate_golden_pattern(rate, freq, block_size): argument 340 samples_in_a_period = int(rate / freq) + 1 343 rate, samples_in_golden_pattern)
|
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 535 raw_data, rate = read_audio_file(filename, channel, bit_width, rate) [all …]
|
/tools/test/connectivity/acts/tests/google/bt/audio_lab/ |
D | BtChameleonTest.py | 62 bits_per_sample, rate, record_seconds, 92 rate=rate, 150 rate = audio_sample_rate_48000 160 rate=rate, 211 rate = audio_sample_rate_48000 220 rate=rate,
|
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/ |
D | iperf_server.py | 185 sqd_deviations = [(rate - avg_rate)**2 for rate in instantaneous_rates]
|
/tools/test/connectivity/acts/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 | 197 sqd_deviations = [(rate - avg_rate)**2 for rate in instantaneous_rates]
|
/tools/test/connectivity/acts/tests/google/net/arduino/connect_wifi/ |
D | connect_wifi.ino | 17 Serial.println("connect: setup(): INFO: Setting baud rate to 9600");
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AdbScreenrecordTest.java | 212 long rate = Long.parseLong(m.group(1)); in convertBitrateToKilobits() local 214 return rate * factor; in convertBitrateToKilobits()
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiPowerTest.py | 173 rate = "%.2fMB/s" % iperf_result.avg_rate 174 result_extra["Average Rate"] = rate
|
D | WifiThroughputStabilityTest.py | 177 rate * 8 * (1.024**2) for rate in test_result["iperf_result"]
|