Home
last modified time | relevance | path

Searched refs:Popen (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/external/selinux/python/semanage/
Dtest-semanage.py3 from subprocess import Popen, PIPE
33 p = Popen(['semanage', object, '-E'], stdout=PIPE)
39 p = Popen(['semanage', "export", '-f', '/tmp/out'], stdout=PIPE)
43 p = Popen(["semanage", "export", "-S", "targeted", "-f", "-"], stdout=PIPE)
47 p = Popen(["semanage", "-S", "targeted", "-o", "-"], stdout=PIPE)
51 p = Popen(['semanage', "import", '-f', '/tmp/out'], stdout=PIPE)
55 p = Popen(["semanage", "import", "-S", "targeted", "-f", "/tmp/out"], stdout=PIPE)
59 p = Popen(["semanage", "-S", "targeted", "-i", "/tmp/out"], stdout=PIPE)
68 p = Popen(['semanage', object, '-l'], stdout=PIPE)
77 p = Popen(['semanage', object, '-lC'], stdout=PIPE)
[all …]
/external/selinux/python/sepolicy/
Dtest_sepolicy.py5 from subprocess import Popen, PIPE
28 p = Popen(['sepolicy', 'manpage', '-d', 'httpd_t'], stdout=PIPE)
34 p = Popen(['sepolicy', 'manpage', '-a'], stdout=PIPE)
40 p = Popen(['sepolicy', 'network', '-l'], stdout=PIPE)
46 p = Popen(['sepolicy', 'network', '-t', 'http_port_t'], stdout=PIPE)
52 p = Popen(['sepolicy', 'network', '-p', '80'], stdout=PIPE)
58 p = Popen(['sepolicy', 'network', '-d', 'httpd_t'], stdout=PIPE)
64 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t'], stdout=PIPE)
70 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t', '-t', 'sendmail_t'], stdout=PIPE)
76 p = Popen(['sepolicy', 'booleans', '-a'], stdout=PIPE)
[all …]
/external/selinux/sandbox/
Dtest_sandbox.py6 from subprocess import Popen, PIPE
29 p1 = Popen(['cat', '/etc/passwd'], stdout=PIPE)
30 p2 = Popen([sys.executable, 'sandbox', 'grep', 'root'], stdin=p1.stdout, stdout=PIPE)
38 p = Popen([sys.executable, 'sandbox', 'kill', '-HUP', str(pid)], stdout=PIPE, stderr=PIPE)
44 … p = Popen([sys.executable, 'sandbox', 'ping', '-c 1 ', '127.0.0.1'], stdout=PIPE, stderr=PIPE)
50 p = Popen([sys.executable, 'sandbox', 'mkdir', '~/test'], stdout=PIPE, stderr=PIPE)
56 p = Popen([sys.executable, 'sandbox', 'ls', '~'], stdout=PIPE, stderr=PIPE)
62 p = Popen([sys.executable, 'sandbox', 'mail'], stdout=PIPE, stderr=PIPE)
68 p = Popen([sys.executable, 'sandbox', 'sudo'], stdout=PIPE, stderr=PIPE)
74 p = Popen([sys.executable, 'sandbox', '-M', 'id'], stdout=PIPE, stderr=PIPE)
[all …]
/external/selinux/python/audit2allow/
Dtest_audit2allow.py5 from subprocess import Popen, PIPE
28 p = Popen(['sudo', 'sepolgen-ifgen'], stdout=PIPE)
36 p = Popen(['python', './audit2allow', "-i", "test.log"], stdout=PIPE)
44 p = Popen(['python', './audit2why', "-i", "test.log"], stdout=PIPE)
/external/webrtc/webrtc/tools/e2e_quality/audio/
Drun_audio_test.py56 proc = subprocess.Popen(command, stdout=subprocess.PIPE)
78 voe_proc = subprocess.Popen(command)
91 play_proc = subprocess.Popen(command)
96 record_proc = subprocess.Popen(command)
115 proc = subprocess.Popen(command, stdout=subprocess.PIPE)
/external/libmojo/third_party/catapult/devil/devil/utils/
Dcmd_helper.py93 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): function
94 return subprocess.Popen(
101 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
196 pipe = Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
265 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE,
303 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE,
/external/chromium-trace/catapult/telemetry/telemetry/util/mac/
Dkeychain_helper.py23 child = subprocess.Popen(path, stdout=subprocess.PIPE)
35 child = subprocess.Popen(command, stderr=subprocess.PIPE)
55 child = subprocess.Popen(command)
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py96 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): function
103 return subprocess.Popen(
109 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
204 pipe = Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
312 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE,
351 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE,
/external/autotest/client/site_tests/security_OpenFDs/
Dsecurity_OpenFDs.py102 p1 = subprocess.Popen(['ps', '-C', process, '-o', 'pid,command'],
108 p2 = subprocess.Popen(['grep', '-v', '--',
111 p3 = subprocess.Popen(['grep', arg_regex], stdin=p2.stdout,
113 p4 = subprocess.Popen(['awk', '{print $1}'], stdin=p3.stdout,
/external/autotest/site_utils/
Dmass_update.py115 return subprocess.Popen(
129 exit_code = subprocess.Popen(
148 success = subprocess.Popen(
165 success = subprocess.Popen(
193 stdout = subprocess.Popen(cmd,
/external/vixl/tools/
Dclang_format.py81 p_format = subprocess.Popen(cmd_format,
88 p_diff = subprocess.Popen(cmd_diff,
92 p_colordiff = subprocess.Popen(
104 p_format = subprocess.Popen(cmd_format,
/external/selinux/dbus/
Dselinux_server.py11 from subprocess import Popen, PIPE, STDOUT
27 p = Popen(["/usr/sbin/semanage", "import"], stdout=PIPE, stderr=PIPE, stdin=PIPE)
41 p = Popen(["/usr/sbin/semanage", "export"], stdout=PIPE, stderr=PIPE)
55 p = Popen(["/usr/sbin/semodule", "-l"], stdout=PIPE, stderr=PIPE)
/external/clang/tools/clang-format/
Dgit-clang-format256 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
287 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
368 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
395 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE,
404 clang_format = subprocess.Popen(clang_format_cmd, stdin=clang_format_stdin,
415 hash_object = subprocess.Popen(hash_object_cmd, stdin=clang_format.stdout,
509 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
/external/autotest/client/profilers/perf/
Dperf.py46 self._process = subprocess.Popen(cmd, shell=True,
62 p = subprocess.Popen(cmd, shell=True, stdout=outfile,
71 p = subprocess.Popen(cmd, shell=True, stdout=outfile,
/external/skia/infra/bots/assets/go/
Dcreate.py19 p1 = subprocess.Popen(["curl", GO_URL], stdout=subprocess.PIPE)
20 p2 = subprocess.Popen(["tar", "-C", target_dir, "-xzf" "-"], stdin=p1.stdout)
/external/autotest/tko/
Dplotgraph.py11 Popen = subprocess.Popen variable
72 p = Popen("/usr/bin/gnuplot", stdin = subprocess.PIPE)
Dmachine_test_attribute_graph.cgi7 Popen = subprocess.Popen variable
/external/autotest/client/cros/cellular/
Dmmtest.py41 self.fakenet_process = subprocess.Popen(
61 self.fakemodem_process = subprocess.Popen(
113 self.modemmanager = subprocess.Popen(['/usr/sbin/modem-manager',
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dposix_platform_backend.py44 return subprocess.Popen(args, stdout=subprocess.PIPE).communicate()[0]
117 p = subprocess.Popen(
155 return subprocess.Popen(
/external/autotest/client/site_tests/platform_Perf/
Dplatform_Perf.py72 p = subprocess.Popen(perf_report_args, stdout=subprocess.PIPE)
86 p = subprocess.Popen(perf_report_dso_args, stdout=subprocess.PIPE)
105 p = subprocess.Popen(perf_buildid_list_args, stdout=subprocess.PIPE)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dperf_profiler_unittest.py28 mock_subprocess.Popen.side_effect = [mock_popen]
47 mock_subprocess.Popen.assert_called_once_with(
Dvtune_profiler.py32 self._proc = subprocess.Popen(
128 proc = subprocess.Popen(['amplxe-cl', '-version'],
137 proc = subprocess.Popen(
/external/autotest/client/site_tests/platform_AccurateTime/
Dplatform_AccurateTime.py22 self.server = subprocess.Popen([OPENSSL, 's_server', '-www',
28 proc = subprocess.Popen([TLSDATE, '-H', '127.0.0.1', '-p', '4433',
/external/autotest/server/
Dautoupdate_utils.py54 subprocess.Popen(cmd, shell=True, cwd=DEVSERVER_SRC)
64 subprocess.Popen(pkill_cmd, shell=True)
/external/compiler-rt/test/profile/Linux/
Dlit.local.cfg14 ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE)
23 clang_cmd = subprocess.Popen([config.clang, '-fuse-ld=gold', '-xc', '-'],

12345678910>>...12