Searched refs:end_index (Results 1 – 2 of 2) sorted by relevance
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 417 start_index, end_index = length - 1, 0 424 end_index = max(end_index, right_border + 1) 425 return (start_index, end_index) 428 def noise_detection(start_index, end_index, block_amplitude, average_amplitude, argument 467 (index < end_index + rate * NEAR_SINE_START_OR_END_SECS)): 504 def delay_detection(start_index, end_index, block_amplitude, average_amplitude, argument 550 end_time = float(end_index) / rate - APPEND_ZEROS_SECS 551 for index in range(int(start_index), int(end_index)): 597 def burst_detection(start_index, end_index, block_amplitude, average_amplitude, argument 638 for index in range(int(start_index), int(end_index)): [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | audio_quality_measurement_unittest.py | 103 end_index = int(self.delay_end_time[i] * self.rate) 104 for j in range(start_index, end_index): 110 end_index = int(silence_before_playback_end_time * self.rate) 111 for i in range(0, end_index): 136 end_index = int(self.burst_end_time[i] * self.rate) 137 for j in range(start_index, end_index): 146 end_index = int(end_time[i] * self.rate) 147 for j in range(start_index, end_index):
|