/system/core/adb/ |
H A D | test_adb.py | 29 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 D | shell_service.cpp | 21 // 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 D | test_device.py | 31 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 D | fec.py | 19 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 D | post_process_mac_perms | 30 import subprocess namespace 45 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, 46 stderr=subprocess.PIPE)
|
/system/tools/aidl/tests/ |
H A D | integration-test.py | 9 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 D | graph_memcpy.py | 2 import subprocess namespace
|
/system/connectivity/shill/test-scripts/ |
H A D | stability | 22 import subprocess namespace 101 result = subprocess.Popen(iperf, 102 stdout=subprocess.PIPE).communicate()[0]
|
/system/extras/pagecache/ |
H A D | pagecache.py | 8 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 D | analyze_trace.py | 20 import subprocess namespace
|
/system/core/init/ |
H A D | perfboot.py | 49 import subprocess namespace 207 except (subprocess.CalledProcessError, RuntimeError): 370 p = subprocess.Popen( 372 stdout=subprocess.PIPE)
|
/system/extras/simpleperf/ |
H A D | report.py | 29 import subprocess namespace 247 subprocess.check_call(args, stdout=output_fh)
|
/system/tpm/attestation/common/ |
H A D | proto_print.py | 39 import subprocess namespace 390 subprocess.call(['clang-format', '-i', '-style=Chromium', filename])
|
/system/update_engine/common/ |
H A D | subprocess_unittest.cc | 17 #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 D | runtest.py | 29 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 D | Android.mk | 169 common/subprocess.cc \
|