Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 2 of 2) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_analysis.py269 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument
300 golden_y = _generate_golden_pattern(rate, freq, block_size)
304 for start in range(0, len(signal), int(block_size / 2)):
305 end = start + block_size
316 def _generate_golden_pattern(rate, freq, block_size): argument
341 samples_in_golden_pattern = samples_in_a_period + block_size
/tools/test/connectivity/acts/framework/tests/
Daudio_analysis_unittest.py176 self.block_size = 120
227 self.y, self.rate, self.freq, self.block_size)
248 self.anomaly_start_secs - float(self.block_size) / self.rate,