Searched defs:signal (Results 1 - 25 of 245) sorted by path

12345678910

/external/autotest/client/bin/
H A Dautotestd_monitor4 import sys, os, signal, time, subprocess, fcntl namespace
15 os.kill(os.getpid(), signal.SIGTERM)
16 signal.signal(signal.SIGCHLD, kill_self)
51 exit_code = -signal.SIGKILL # autotestd was nuked
64 signal.signal(signal.SIGCHLD, signal
[all...]
H A Dutils.py23 import signal namespace
1245 utils.nuke_pid(pid, [signal.SIGKILL])
/external/autotest/client/common_lib/cros/
H A Dretry.py7 import signal namespace
22 even if we try to install a pacifying signal handler. To avoid this we
26 object, or signal.SIG_IGN/SIG_DFL which correspond to
30 # Installing signal handlers does not and is never expected to work if we're
37 new_handler != signal.SIG_IGN and
38 new_handler != signal.SIG_DFL)):
42 signal.signal(signal.SIGALRM, new_handler)
43 installed_handler = signal
[all...]
H A Dretry_unittest.py13 import signal namespace
108 previous signal being restored."""
119 # Wait for 1.5 second for previous signal to be raised
128 signal.signal(signal.SIGALRM, testHandler)
129 signal.alarm(1)
135 and no signal is leaked."""
151 # Set handler for signal.SIGALRM to catch any leaked alarm.
153 signal
[all...]
/external/autotest/client/common_lib/
H A Dlogging_manager.py43 import fcntl, logging, os, signal, sys, warnings namespace
623 signal.signal(signal.SIGTERM, signal.SIG_DFL) # clear handler
H A Dpexpect.py80 import signal namespace
368 close() method. The exit or signal status of the child will be stored
371 be None. If the child was terminated abnormally with a signal then
372 signalstatus will store the signal value and exitstatus will be None.
554 signal.signal(signal.SIGHUP, signal.SIG_IGN)
1054 self.kill(signal.SIGHUP)
1058 self.kill(signal
[all...]
H A Dutils.py26 import signal namespace
312 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
855 # signal was sent to the process. In the last case the select returns
856 # EINTR, and we continue waiting for the job if the signal handler for
857 # the signal that interrupted the call allows us to.
946 Sends a signal to a process id. Returns True if the process terminated
971 signal_queue = [signal
[all...]
/external/autotest/client/cros/cellular/mbim_compliance/
H A Dmbim_channel_endpoint.py7 import signal namespace
92 signal.signal(signal.SIGINT,
/external/autotest/client/cros/cellular/
H A Dpseudo_modem.py27 import signal namespace
410 DBUS signal.
443 'signal-quality': UInt32(99),
458 @dbus.service.signal(mm1.MODEM_INTERFACE, signature='iiu')
526 @dbus.service.signal(dbus.PROPERTIES_IFACE, signature='sa{sv}as')
549 @dbus.service.signal(mm1.MODEM_MESSAGING_INTERFACE, signature='ob')
625 @dbus.service.signal(mm1.OFDOM, signature='oa{sa{sv}}')
629 @dbus.service.signal(mm1.OFDOM, signature='oas')
724 logging.info('Signal handler called with signal: %s', signum)
727 signal
[all...]
/external/autotest/client/cros/cellular/pseudomodem/
H A Dpseudomodem.py20 import signal namespace
528 Top level signal handler to handle user interrupt.
530 @param signum: The signal received.
534 logging.debug('Signal handler called with signal %d', signum)
554 signal.signal(signal.SIGINT, sig_handler)
555 signal.signal(signal
[all...]
H A Dpseudomodem_context.py18 import signal namespace
56 signal_queue = [signal.SIGINT, signal.SIGTERM, signal.SIGKILL]
196 signal.signal(signal.SIGCHLD, self._SigchldHandler)
221 signal.signal(signal
[all...]
/external/autotest/client/cros/cellular/wardmodem/
H A Dwardmodem.py11 import signal namespace
426 self._logger.info('Signal handler called with signal %s',
430 signal.signal(signal.SIGINT, _exit_child)
431 signal.signal(signal.SIGTERM, _exit_child)
474 os.kill(self._child, signal.SIGINT)
698 dict((getattr(signal,
[all...]
/external/autotest/client/cros/crash/
H A Duser_crash_test.py11 import signal namespace
226 expected_exit_code = -signal.SIGSEGV
229 expected_exit_code = 128 + signal.SIGSEGV
/external/autotest/client/cros/
H A Ddhcpv6_test_server.py11 import signal namespace
111 os.kill(pid, signal.SIGTERM)
H A Dmemory_bandwidth_logger.py9 import signal namespace
H A Dradvd_server.py12 import signal namespace
119 os.kill(pid, signal.SIGTERM)
H A Dxmlrpc_server.py11 import signal namespace
53 signal.signal(signal.SIGTERM, self._handle_signal)
54 signal.signal(signal.SIGINT, self._handle_signal)
91 """Handle a process signal by gracefully quitting.
96 a signal handler, the server will just hang, since the process is
97 paused for the signal, causin
[all...]
/external/autotest/client/cros/networking/
H A Dandroid_xmlrpc_server.py14 import signal namespace
88 signal.signal(signal.SIGTERM, self._handle_signal)
89 signal.signal(signal.SIGINT, self._handle_signal)
128 """Handle a process signal by gracefully quitting.
133 a signal handler, the server will just hang, since the process is
134 paused for the signal, causin
[all...]
/external/autotest/client/profilers/cros_perf/
H A Dcros_perf.py15 import os, signal, subprocess namespace
57 self._process.send_signal(signal.SIGINT)
/external/autotest/client/profilers/custom_perf/
H A Dcustom_perf.py6 import os, signal, subprocess namespace
41 os.killpg(os.getpgid(self._process.pid), signal.SIGINT)
/external/autotest/client/profilers/ftrace/
H A Dftrace.py6 import logging, os, signal, time namespace
119 os.kill(self.record_job.sp.pid, signal.SIGINT)
/external/autotest/client/profilers/perf/
H A Dperf.py8 import time, os, stat, subprocess, signal namespace
51 os.kill(self._process.pid, signal.SIGINT)
/external/autotest/client/site_tests/desktopui_HangDetector/
H A Ddesktopui_HangDetector.py5 import logging, os, signal, time namespace
57 os.kill(browser_pid, signal.SIGSTOP) # Simulate hang.
69 os.kill(browser_pid, signal.SIGCONT) # Allow browser to die.
/external/autotest/client/site_tests/login_LogoutProcessCleanup/
H A Dlogin_LogoutProcessCleanup.py5 import logging, signal, utils namespace
186 utils.signal_pid(p, signal.SIGKILL)
/external/autotest/client/site_tests/platform_CompressedSwap/
H A Dplatform_CompressedSwap.py7 import errno, logging, os, select, signal, subprocess, time namespace

Completed in 429 milliseconds

12345678910