Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 5 of 5) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py417 start_index, end_index = length - 1, 0
423 start_index = min(start_index, left_border)
425 return (start_index, end_index)
428 def noise_detection(start_index, end_index, block_amplitude, average_amplitude, argument
466 if ((start_index - rate * NEAR_SINE_START_OR_END_SECS) <= index and
496 if noise_time_point[i] < float(start_index) / rate - APPEND_ZEROS_SECS:
504 def delay_detection(start_index, end_index, block_amplitude, average_amplitude, argument
549 start_time = float(start_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
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/
Daudio_quality_measurement_integrationtest.py102 start_index = int(self.delay_start_time[i] * self.rate)
104 for j in range(start_index, end_index):
135 start_index = int(self.burst_start_time[i] * self.rate)
137 for j in range(start_index, end_index):
145 start_index = int(start_time[i] * self.rate)
147 for j in range(start_index, end_index):
/tools/asuite/atest-py2/test_finders/
Dtest_finder_utils.py327 start_index = min(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)])
/tools/acloud/internal/lib/
Dutils.py1025 start_index = 1
1028 for num, item in enumerate(answer_list, start_index):
1051 return [answer_list[choice-start_index]]
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py444 start_index = min(int(indices[0]), int(indices[len_indices-1]))
447 if count in (start_index, end_index):
449 mtests.update(tests[start_index:(end_index+1)])