Searched refs:subprocess (Results 1 - 16 of 16) sorted by relevance

/system/core/adb/
H A Dtest_adb.py29 import subprocess namespace
41 out = subprocess.check_output(
42 ['adb', 'help'], stderr=subprocess.STDOUT)
47 lines = subprocess.check_output(['adb', 'version']).splitlines()
59 p = subprocess.Popen(['adb', 'tcpip'], stdout=subprocess.PIPE,
60 stderr=subprocess.STDOUT)
65 p = subprocess.Popen(['adb', 'tcpip', 'foo'], stdout=subprocess.PIPE,
66 stderr=subprocess
[all...]
H A Dshell_service.cpp21 // of communication with the subprocess, passing raw data or using a simple
33 // Non-protocol subprocesses work by passing subprocess stdin/out/err through
41 // Subprocess | adbd subprocess thread | adbd main fdevent loop
59 // Subprocess | adbd subprocess thread | adbd main fdevent loop
162 // Sets up FDs, forks a subprocess, starts the subprocess manager thread,
166 // Start the subprocess manager thread. Consumes the subprocess, regardless of success.
168 static bool StartThread(std::unique_ptr<Subprocess> subprocess,
210 // subprocess
403 StartThread(std::unique_ptr<Subprocess> subprocess, std::string* error) argument
450 Subprocess* subprocess = reinterpret_cast<Subprocess*>(userdata); local
752 auto subprocess = std::make_unique<Subprocess>(name, terminal_type, type, protocol); local
[all...]
H A Dtest_device.py31 import subprocess namespace
149 with self.assertRaises(subprocess.CalledProcessError):
285 proc = subprocess.Popen(
287 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
288 stderr=subprocess.PIPE)
364 terminal = subprocess.Popen(
366 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
369 non_terminal = subprocess
[all...]
/system/extras/verity/fec/tests/
H A Dfec.py19 import subprocess namespace
45 if subprocess.call([ "fec", "--roots= " + str(roots), image, fec ]) != 0:
49 return subprocess.call([ "fec", "--decode", image, fec, output ])
52 return subprocess.call([ "cmp", "-s", a, b ])
56 if subprocess.call([ "simg2img", image, output]) != 0:
/system/sepolicy/tools/
H A Dpost_process_mac_perms30 import subprocess namespace
45 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
46 stderr=subprocess.PIPE)
/system/tools/aidl/tests/
H A Dintegration-test.py9 import subprocess namespace
82 subprocess.CalledProcessError on command exit != 0.
96 subprocess.CalledProcessError on failure.
113 subprocess.CalledProcessError on command exit != 0.
118 p = subprocess.Popen(command, shell=True, close_fds=True,
119 stdout=subprocess.PIPE, stderr=subprocess.PIPE,
123 raise subprocess.CalledProcessError(p.returncode, command)
/system/extras/memcpy-perf/
H A Dgraph_memcpy.py2 import subprocess namespace
/system/connectivity/shill/test-scripts/
H A Dstability22 import subprocess namespace
101 result = subprocess.Popen(iperf,
102 stdout=subprocess.PIPE).communicate()[0]
/system/extras/pagecache/
H A Dpagecache.py8 import subprocess namespace
203 adb_output = subprocess.check_output(adb_command, stderr=subprocess.STDOUT,
213 except subprocess.CalledProcessError as error:
395 atrace = subprocess.Popen(trace_cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
396 stderr=subprocess.PIPE)
/system/extras/systrace_analysis/
H A Danalyze_trace.py20 import subprocess namespace
/system/core/init/
H A Dperfboot.py49 import subprocess namespace
207 except (subprocess.CalledProcessError, RuntimeError):
370 p = subprocess.Popen(
372 stdout=subprocess.PIPE)
/system/extras/simpleperf/
H A Dreport.py29 import subprocess namespace
247 subprocess.check_call(args, stdout=output_fh)
/system/tpm/attestation/common/
H A Dproto_print.py39 import subprocess namespace
390 subprocess.call(['clang-format', '-i', '-style=Chromium', filename])
/system/update_engine/common/
H A Dsubprocess_unittest.cc17 #include "update_engine/common/subprocess.h"
99 void ExpectedDataOnPipe(const Subprocess* subprocess, argument
109 int fd = subprocess->GetPipeFd(*pid, child_fd);
/system/extras/simpleperf/runtest/
H A Druntest.py29 import subprocess namespace
308 subprocess.check_call(args, stdout=output_fh)
323 subprocess.check_call(args_with_adb, stdout=output_fh)
/system/update_engine/
H A DAndroid.mk169 common/subprocess.cc \

Completed in 525 milliseconds