/tools/test/connectivity/acts_tests/acts_contrib/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 59 def normalize_signal(signal, saturate_value): argument 71 signal = numpy.array(signal) 72 return signal / float(saturate_value) 75 def spectral_analysis(signal, argument 108 if len(signal) == 0: 111 signal_rms = numpy.linalg.norm(signal) / numpy.sqrt(len(signal)) 124 y_conv_w = signal * numpy.hanning(len(signal)) [all …]
|
D | audio_quality_measurement.py | 279 def hilbert_analysis(signal, rate, block_size): argument 311 length = len(signal) 317 temp = hilbert(signal[temp_left_border:temp_right_border]) 760 signal, argument 842 signal = numpy.concatenate( 843 (numpy.zeros(int(rate * APPEND_ZEROS_SECS)), signal, 845 signal = numpy.array(signal, dtype=float) 846 length = len(signal) 849 amplitude, frequency = hilbert_analysis(signal, rate, block_size) 853 dominant_frequency = audio_analysis.spectral_analysis(signal, [all …]
|
D | check_quality.py | 210 signal = self._raw_data.channel_data[channel_idx] 211 max_abs = max(numpy.abs(signal)) 222 signal, saturate_value) 243 signal=normalized_signal,
|
/tools/repohooks/rh/ |
D | utils.py | 20 import signal 157 signal.signal(signum, signal.SIG_IGN) 369 old_sigint = signal.getsignal(signal.SIGINT) 374 signal.signal(signal.SIGINT, handler) 378 old_sigterm = signal.getsignal(signal.SIGTERM) 382 signal.signal(signal.SIGTERM, handler) 390 signal.signal(signal.SIGINT, old_sigint) 392 signal.signal(signal.SIGTERM, old_sigterm)
|
D | signals.py | 18 import signal 34 if handler in (None, signal.SIG_IGN): 36 if handler == signal.SIG_DFL:
|
/tools/asuite/atest/test_runners/ |
D | test_runner_base.py | 26 import signal 154 signal.signal(signal.SIGINT, self._signal_passer(subproc)) 162 os.killpg(os.getpgid(subproc.pid), signal.SIGINT) 190 signal.signal(signal.SIGINT, self._signal_passer(proc)) 195 os.killpg(os.getpgid(proc.pid), signal.SIGINT) 222 os.killpg(os.getpgid(proc.pid), signal.SIGINT)
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 98 AssertionError) as signal: 99 test_signals_received.append(signal) 101 except signals.TestPass as signal: 102 test_signals_received.append(signal) 106 except Exception as signal: 107 test_signals_received.append(signal) 195 except signals.TestSignal as signal: 196 new_signal = signal 282 def _write_to_testtracker(self, test_instance, signal): argument 317 signal, test_instance.begin_time)
|
D | utils.py | 30 import signal 480 def stop_standing_subprocess(proc, kill_signal=signal.SIGTERM): 572 signal.signal(signal.SIGALRM, _timeout_handler) 573 signal.alarm(sec) 580 signal.alarm(0)
|
/tools/netsim/rust/daemon/src/wifi/ |
D | hwsim_attr_set.rs | 62 signal: Option<u32>, field 77 pub signal: Option<u32>, field 147 pub fn signal(&mut self, signal: u32) -> &mut Self { in signal() method 148 self.extend_attributes(mac80211_hwsim::HwsimAttrSignal { signal, nla_m: 0, nla_o: 0 }); in signal() 149 self.signal = Some(signal); in signal() 192 signal: self.signal, in build() 210 self.signal.map(|v| write!(f, "signal: {}, ", v)); in fmt() 267 HwsimAttrSignal(child) => builder.signal(child.signal), 310 assert!(attrs.signal.is_none()); in test_attr_set_parse()
|
D | radiotap.rs | 33 signal: u8, field 64 signal: frame.signal.unwrap_or(0) as u8, in frame_into_pcap() 75 buffer.push(radiotap_hdr.signal); in frame_into_pcap()
|
D | frame.rs | 37 pub signal: Option<u32>, field 64 signal: attrs.signal, in parse()
|
D | medium.rs | 430 builder.signal(attrs.signal.unwrap_or(SIGNAL)); in create_hwsim_attr() 492 .signal(attrs.signal.unwrap_or(SIGNAL)) in build_tx_info() 641 assert_eq!(attrs.signal, attrs_expected.signal); in build_tx_info_and_compare()
|
/tools/test/connectivity/acts/framework/acts/libs/testtracker/ |
D | testtracker_results_writer.py | 79 def write_results_from_test_signal(self, signal, begin_time=None): argument 90 if isinstance(signal, signals.TestPass): 91 record.test_pass(signal) 92 elif isinstance(signal, signals.TestFail): 93 record.test_fail(signal) 94 elif isinstance(signal, signals.TestSkip): 95 record.test_skip(signal) 97 record.test_error(signal)
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | shell.py | 16 import signal 85 self.signal(identifier, 0) 215 signal_queue = [signal.SIGINT, signal.SIGTERM, signal.SIGKILL] 221 self.signal(pid, sig) 233 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/test/connectivity/acts/framework/acts/libs/proc/ |
D | process.py | 20 import signal 163 self.signal(signal.SIGKILL) 189 def signal(self, sig): member in Process
|
/tools/tradefederation/core/javatests/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/framework/acts/controllers/bits_lib/ |
D | bits_service.py | 22 import signal 112 self._process.signal(signal.SIGINT)
|
/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/acloud/internal/lib/ |
D | utils.py | 30 import signal 1447 signal.signal(signal.SIGALRM, _HandleTimeout) 1448 signal.alarm(timeout_secs) 1452 signal.alarm(0)
|
/tools/test/connectivity/acts/framework/acts/controllers/spirent_lib/ |
D | gss7000.py | 168 for signal in sig_cap_list: 169 value = str(signal.text).rstrip().lstrip()
|
/tools/test/openhst/ |
D | stress_test.py | 37 import signal 308 self.process.send_signal(signal.SIGTERM) 333 self.process.kill(signal.SIGHUP) 334 self.process.kill(signal.SIGINT) 336 self.process.send_signal(signal.SIGTERM)
|
/tools/netsim/pdl/ |
D | mac80211_hwsim.pdl | 91 * @HWSIM_ATTR_SIGNAL: estimated RX signal for this frame at user 191 signal : 32,
|