Home
last modified time | relevance | path

Searched refs:end_index (Results 1 – 4 of 4) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py417 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/
Daudio_quality_measurement_integrationtest.py108 end_index = int(self.delay_end_time[i] * self.rate)
109 for j in range(start_index, end_index):
115 end_index = int(silence_before_playback_end_time * self.rate)
116 for i in range(0, end_index):
141 end_index = int(self.burst_end_time[i] * self.rate)
142 for j in range(start_index, end_index):
151 end_index = int(end_time[i] * self.rate)
152 for j in range(start_index, end_index):
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py334 end_index = max(int(indices[0]), int(indices[len_indices-1]))
336 if count in (start_index, end_index):
338 mtests.update(tests[start_index:(end_index+1)])
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py328 end_index = max(int(indices[0]), int(indices[len_indices-1]))
330 if start_index == count or end_index == count:
332 mtests.update(tests[start_index:(end_index+1)])