Home
last modified time | relevance | path

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

1234567891011

/external/selinux/policycoreutils/semanage/
Dtest-semanage.py6 from subprocess import Popen, PIPE
36 p = Popen(['semanage', object, '-E'], stdout=PIPE)
42 p = Popen(['semanage', "export", '-f', '/tmp/out'], stdout=PIPE)
46 p = Popen(["semanage", "export", "-S", "targeted", "-f", "-"], stdout=PIPE)
50 p = Popen(["semanage", "-S", "targeted", "-o", "-"], stdout=PIPE)
54 p = Popen(['semanage', "import", '-f', '/tmp/out'], stdout=PIPE)
58 p = Popen(["semanage", "import", "-S", "targeted", "-f", "/tmp/out"], stdout=PIPE)
62 p = Popen(["semanage", "-S", "targeted", "-i", "/tmp/out"], stdout=PIPE)
71 p = Popen(['semanage', object, '-l'], stdout=PIPE)
80 p = Popen(['semanage', object, '-lC'], stdout=PIPE)
[all …]
/external/selinux/policycoreutils/sepolicy/
Dtest_sepolicy.py5 from subprocess import Popen, PIPE
28 p = Popen(['sepolicy', 'manpage', '-d', 'httpd_t'], stdout=PIPE)
35 p = Popen(['sepolicy', 'manpage', '-a'], stdout=PIPE)
41 p = Popen(['sepolicy', 'network', '-l'], stdout=PIPE)
47 p = Popen(['sepolicy', 'network', '-t', 'http_port_t'], stdout=PIPE)
53 p = Popen(['sepolicy', 'network', '-p', '80'], stdout=PIPE)
59 p = Popen(['sepolicy', 'network', '-d', 'httpd_t'], stdout=PIPE)
65 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t'], stdout=PIPE)
71 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t', '-t', 'sendmail_t'], stdout=PIPE)
77 p = Popen(['sepolicy', 'booleans', '-a'], stdout=PIPE)
[all …]
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/selinux/policycoreutils/sandbox/
Dtest_sandbox.py5 from subprocess import Popen, PIPE
28 p1 = Popen(['cat', '/etc/passwd'], stdout=PIPE)
29 p2 = Popen(['sandbox', 'grep', 'root'], stdin=p1.stdout, stdout=PIPE)
36 p = Popen(['sandbox', 'kill', '-HUP', str(pid)], stdout=PIPE, stderr=PIPE)
42 p = Popen(['sandbox', 'ping', '-c 1 ', '127.0.0.1'], stdout=PIPE, stderr=PIPE)
48 p = Popen(['sandbox', 'mkdir', '~/test'], stdout=PIPE, stderr=PIPE)
54 p = Popen(['sandbox', 'ls', '~'], stdout=PIPE, stderr=PIPE)
60 p = Popen(['sandbox', 'mail'], stdout=PIPE, stderr=PIPE)
66 p = Popen(['sandbox', 'sudo'], stdout=PIPE, stderr=PIPE)
72 p = Popen(['sandbox', '-M', 'id'], stdout=PIPE, stderr=PIPE)
[all …]
/external/skia/platform_tools/android/bin/
Dadb_list_devices.py33 device_proc = subprocess.Popen([adb, '-s', serial, 'shell', 'cat',
92 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
97 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
103 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
112 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
133 proc = subprocess.Popen([adb, 'devices'], stdout=subprocess.PIPE)
/external/selinux/policycoreutils/audit2allow/
Dtest_audit2allow.py5 from subprocess import Popen, PIPE
28 p = Popen(['sudo', 'sepolgen-ifgen'], stdout=PIPE)
36 p = Popen(['audit2allow', "-i", "test.log"], stdout=PIPE)
44 p = Popen(['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/chromium-trace/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,
197 pipe = Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
266 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE,
301 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/opencv3/modules/ts/misc/
Drun.py5 from subprocess import Popen, PIPE
269 output = Popen(self.adb + ["shell", "ls"], stdout=PIPE, stderr=PIPE).communicate()
324 output = Popen(compiler + ["-v"], stdout=PIPE, stderr=PIPE).communicate()
380 …output = Popen([self.git_executable, "rev-parse", "--short", "HEAD"], stdout=PIPE, stderr=PIPE, cw…
398 output = Popen([svnversion, "-n", path], stdout=PIPE, stderr=PIPE).communicate()
419 …output = Popen([wcrev, path, tmpfilename, tmpfilename2, "-f"], stdout=PIPE, stderr=PIPE).communica…
543 output = Popen(options, stdout=PIPE, stderr=PIPE).communicate()
614 output = Popen(cmd, stdout=PIPE, stderr=PIPE).communicate()
668 …output = Popen(self.aapt + ["dump", "xmltree", exe, "AndroidManifest.xml"], stdout=PIPE, stderr=_s…
696 Popen(self.adb + ["uninstall", pkg_name], stdout=PIPE, stderr=_stderr).communicate()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_update.py113 p = subprocess.Popen(prefix + ['gsutil', 'update', 'gs://pub'],
123 p = subprocess.Popen(
133 p = subprocess.Popen(prefix + ['gsutil', 'update', suri(src_tarball)],
145 p = subprocess.Popen(prefix + ['gsutil', 'update', '-f', suri(src_tarball)],
160 p = subprocess.Popen(prefix + [gsutil_relative_dst, 'update', '-f',
/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/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/clang/tools/clang-format/
Dgit-clang-format238 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
265 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
344 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
366 clang_format = subprocess.Popen(clang_format_cmd, stdin=subprocess.PIPE,
375 hash_object = subprocess.Popen(hash_object_cmd, stdin=clang_format.stdout,
461 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
/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/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/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dposix_platform_backend.py41 return subprocess.Popen(args, stdout=subprocess.PIPE).communicate()[0]
114 p = subprocess.Popen(
152 return subprocess.Popen(
Dlinux_platform_backend.py76 p = subprocess.Popen(['/sbin/sysctl', '-w', 'vm.drop_caches=3'])
110 (out, err) = subprocess.Popen(cmd,
122 return 'ipfw_mod' in 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/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dvtune_profiler.py30 self._proc = subprocess.Popen(
124 proc = subprocess.Popen(['amplxe-cl', '-version'],
133 proc = subprocess.Popen(['adb', 'shell', 'su', '-c', 'id'],
/external/autotest/server/
Dautoupdate_utils.py54 subprocess.Popen(cmd, shell=True, cwd=DEVSERVER_SRC)
64 subprocess.Popen(pkill_cmd, shell=True)
/external/pdfium/tools/drmemory/scripts/
Dcommon.py25 return subprocess.Popen(proc)
48 p = subprocess.Popen(proc, universal_newlines=True,
221 p = subprocess.Popen(["cygpath", "-m", path],
/external/autotest/client/tests/sound_infrastructure/
Dsound_infrastructure.py52 aplay = subprocess.Popen(["aplay", "-l"], stderr=subprocess.PIPE)
57 arecord = subprocess.Popen(["arecord", "-l"], stderr=subprocess.PIPE)

1234567891011