/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 21 from scipy.signal import blackmanharris 22 from scipy.signal import iirnotch 23 from scipy.signal import lfilter 61 def normalize_signal(signal, saturate_value): argument 73 signal = numpy.array(signal) 74 return signal / float(saturate_value) 77 def spectral_analysis(signal, argument 110 if len(signal) == 0: 113 signal_rms = numpy.linalg.norm(signal) / numpy.sqrt(len(signal)) 126 y_conv_w = signal * numpy.hanning(len(signal)) [all …]
|
D | audio_quality_measurement.py | 280 def hilbert_analysis(signal, rate, block_size): argument 312 length = len(signal) 318 temp = hilbert(signal[temp_left_border:temp_right_border]) 763 signal, argument 845 signal = numpy.concatenate( 846 (numpy.zeros(int(rate * APPEND_ZEROS_SECS)), signal, 848 signal = numpy.array(signal, dtype=float) 849 length = len(signal) 852 amplitude, frequency = hilbert_analysis(signal, rate, block_size) 856 dominant_frequency = audio_analysis.spectral_analysis(signal, [all …]
|
D | check_quality.py | 219 signal = self._raw_data.channel_data[channel_idx] 220 max_abs = max(numpy.abs(signal)) 231 signal, saturate_value) 251 signal=normalized_signal,
|
/tools/repohooks/rh/ |
D | utils.py | 23 import signal 168 signal.signal(signum, signal.SIG_IGN) 385 old_sigint = signal.getsignal(signal.SIGINT) 388 signal.signal(signal.SIGINT, handler) 390 old_sigterm = signal.getsignal(signal.SIGTERM) 393 signal.signal(signal.SIGTERM, handler) 398 signal.signal(signal.SIGINT, old_sigint) 399 signal.signal(signal.SIGTERM, old_sigterm)
|
D | signals.py | 21 import signal 37 if handler in (None, signal.SIG_IGN): 39 if handler == signal.SIG_DFL:
|
/tools/asuite/atest/test_runners/ |
D | test_runner_base.py | 25 import signal 99 signal.signal(signal.SIGINT, self._signal_passer(subproc)) 107 os.killpg(os.getpgid(subproc.pid), signal.SIGINT) 135 signal.signal(signal.SIGINT, self._signal_passer(proc)) 140 os.killpg(os.getpgid(proc.pid), signal.SIGINT) 161 os.killpg(os.getpgid(proc.pid), signal.SIGINT)
|
/tools/tradefederation/core/atest/test_runners/ |
D | test_runner_base.py | 24 import signal 101 signal.signal(signal.SIGINT, self._signal_passer(subproc)) 115 os.killpg(os.getpgid(subproc.pid), signal.SIGINT) 142 signal.signal(signal.SIGINT, self._signal_passer(proc)) 147 os.killpg(os.getpgid(proc.pid), signal.SIGINT) 168 os.killpg(os.getpgid(proc.pid), signal.SIGINT)
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 89 AssertionError) as signal: 90 test_signals_received.append(signal) 92 except signals.TestPass as signal: 93 test_signals_received.append(signal) 97 except Exception as signal: 98 test_signals_received.append(signal) 176 except signals.TestSignal as signal: 177 new_signal = signal
|
D | utils.py | 29 import signal 472 def stop_standing_subprocess(proc, kill_signal=signal.SIGTERM): 564 signal.signal(signal.SIGALRM, _timeout_handler) 565 signal.alarm(sec) 572 signal.alarm(0)
|
D | base_test.py | 732 signal = signals.TestError(reason) 736 signal.extras = test_func.gather() 737 record.test_error(signal)
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | shell.py | 16 import signal 84 self.signal(identifier, 0) 207 signal_queue = [signal.SIGINT, signal.SIGTERM, signal.SIGKILL] 213 self.signal(pid, sig) 225 def signal(self, pid, sig): member in ShellCommand
|
/tools/test/connectivity/acts/framework/acts/bin/ |
D | act.py | 20 import signal 86 signal.signal(signal.SIGTERM, handler) 87 signal.signal(signal.SIGINT, handler)
|
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/ |
D | binding_test.py | 98 except signals.TestPass as signal: 99 self.assertEqual(signal.details, 'DETAILS') 168 def signal_modifier(_, signal, *__, **___): argument 169 raise signals.TestFailure(signal.details) 175 except signals.TestFailure as signal: 176 self.assertEqual(signal.details, 'DETAILS')
|
/tools/acloud/internal/lib/ |
D | utils.py | 29 import signal 1286 signal.signal(signal.SIGALRM, _HandleTimeout) 1287 signal.alarm(timeout_secs) 1291 signal.alarm(0)
|
/tools/test/openhst/ |
D | stress_test.py | 37 import signal 300 self.process.send_signal(signal.SIGTERM) 324 self.process.kill(signal.SIGHUP) 325 self.process.kill(signal.SIGINT) 327 self.process.send_signal(signal.SIGTERM)
|
/tools/tradefederation/core/tests/res/testtype/ |
D | gtest_output8.txt | 22 stack_unwinding.easy terminated by signal: Segmentation fault. 24 stack_unwinding.unwind_through_signal_frame terminated by signal: Segmentation 27 stack_unwinding.unwind_through_signal_frame_SA_SIGINFO terminated by signal:
|
/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | GTWGnssPowerTest.py | 37 def start_gnss_tracking_with_power_data(self, signal=True): argument 47 if signal: 97 self.start_gnss_tracking_with_power_data(signal=False)
|
/tools/test/connectivity/acts/framework/acts/libs/test_binding/ |
D | binding.py | 82 except signals.TestSignal as signal: 83 new_signal = signal
|
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/ |
D | local_base.py | 26 import signal 140 utils.stop_standing_subprocess(self._process, kill_signal=signal.SIGINT)
|
/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | process.py | 20 import signal 163 os.killpg(pgid, signal.SIGKILL)
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | WifiBaseTest.py | 635 signal.details = self.result_detail 639 signal.details = self.result_detail
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | packet_sender.py | 112 def __init__(self, signal, packet, interval, interface, log): argument 114 self.stop_signal = signal
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | TelephonyBaseTest.py | 563 signal = signals.TestFailure(reason) 567 record.test_fail(signal)
|
/tools/repohooks/tools/ |
D | spelling.txt | 1039 signabl||signal 1046 singal||signal
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ConditionPriorityBlockingQueue.java | 294 matcherPair.mCondition.signal(); in add()
|