Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 13 of 13) sorted by relevance

/tools/repohooks/rh/
Dsignals.py21 import signal
37 if handler in (None, signal.SIG_IGN):
39 elif handler == signal.SIG_DFL:
47 def signal_module_usable(_signal=signal.signal, _SIGUSR1=signal.SIGUSR1):
Dutils.py23 import signal
179 signal.signal(signum, signal.SIG_IGN)
399 old_sigint = signal.getsignal(signal.SIGINT)
401 handler = signal.SIG_IGN
406 signal.signal(signal.SIGINT, handler)
408 old_sigterm = signal.getsignal(signal.SIGTERM)
411 signal.signal(signal.SIGTERM, handler)
417 signal.signal(signal.SIGINT, old_sigint)
418 signal.signal(signal.SIGTERM, old_sigterm)
/tools/test/connectivity/tools/lab/utils/
Dtime_limit.py18 import signal
44 signal.signal(signal.SIGALRM, self.handle_timeout)
45 signal.alarm(self.seconds)
Dshell.py16 import signal
86 self.signal(identifier, 0)
233 signal_queue = [signal.SIGINT, signal.SIGTERM, signal.SIGKILL]
239 self.signal(pid, sig)
251 def signal(self, pid, sig): member in ShellCommand
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_analysis.py54 def normalize_signal(signal, saturate_value): argument
66 signal = numpy.array(signal)
67 return signal / float(saturate_value)
70 def spectral_analysis(signal, argument
103 if len(signal) == 0:
106 signal_rms = numpy.linalg.norm(signal) / numpy.sqrt(len(signal))
119 y_conv_w = signal * numpy.hanning(len(signal))
266 def anomaly_detection(signal, argument
297 if len(signal) == 0:
304 for start in range(0, len(signal), int(block_size / 2)):
[all …]
Dcheck_quality.py219 signal = self._raw_data.channel_data[channel_idx]
220 max_abs = max(numpy.abs(signal))
231 signal, saturate_value)
251 signal=normalized_signal,
/tools/test/connectivity/acts/framework/acts/bin/
Dact.py21 import signal
82 signal.signal(signal.SIGTERM, handler)
83 signal.signal(signal.SIGINT, handler)
/tools/tradefederation/core/tests/res/testtype/
Dgtest_output8.txt22 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/sniffer_lib/local/
Dlocal_base.py26 import signal
140 utils.stop_standing_subprocess(self._process, kill_signal=signal.SIGINT)
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py99 except signals.TestSignal as signal:
100 new_signal = signal
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py139 except (TestSignal, TestAbortClass, TestAbortAll) as signal:
141 signal.details = self.result_detail
379 signal = TestBlocked("Failed class setup")
383 record.test_fail(signal)
/tools/tradefederation/core/src/com/android/tradefed/util/
DConditionPriorityBlockingQueue.java294 matcherPair.mCondition.signal(); in add()
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_sender.py104 def __init__(self, signal, packet, interval, interface, log): argument
106 self.stop_signal = signal