/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 149 // Sets up FDs, forks a subprocess, starts the subprocess manager thread, 153 // Start the subprocess manager thread. Consumes the subprocess, regardless of success. 155 static bool StartThread(std::unique_ptr<Subprocess> subprocess, 197 // subprocess 393 StartThread(std::unique_ptr<Subprocess> subprocess, std::string* error) argument 440 Subprocess* subprocess = reinterpret_cast<Subprocess*>(userdata); local 738 auto subprocess = std::make_unique<Subprocess>(name, terminal_type, type, protocol); local [all...] |
H A D | test_device.py | 31 import subprocess namespace 150 with self.assertRaises(subprocess.CalledProcessError): 318 proc = subprocess.Popen( 320 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 321 stderr=subprocess.PIPE) 390 terminal = subprocess.Popen( 392 stdout=subprocess.PIPE, stderr=subprocess.PIPE) 395 non_terminal = subprocess [all...] |
/system/bt/build/toolchain/clang/ |
H A D | get_clang_suffix.py | 2 import subprocess namespace 19 clang_version_out = subprocess.Popen([clang_path, "--version"], 20 stdout=subprocess.PIPE).communicate()[0]
|
/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/verity/ |
H A D | build_verity_metadata.py | 22 import subprocess namespace 31 p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
/system/extras/memcpy-perf/ |
H A D | graph_memcpy.py | 2 import subprocess namespace
|
/system/extras/simpleperf/scripts/ |
H A D | utils.py | 24 import subprocess namespace 94 subproc = subprocess.Popen(adb_args, stdout=subprocess.PIPE)
|
H A D | update.py | 68 """Proxy for subprocess.check_call with logging.""" 69 import subprocess namespace 71 subprocess.check_call(cmd)
|
H A D | binary_cache_builder.py | 28 import subprocess namespace 184 output = subprocess.check_output([self.readelf_path, '-n', file]) 199 output = subprocess.check_output([self.readelf_path, '-S', file])
|
H A D | simpleperf_report_lib.py | 25 import subprocess namespace 307 subprocess.check_call(['python', os.path.realpath(__file__), '--test-one']) 308 subprocess.check_call(['python3', os.path.realpath(__file__), '--test-one'])
|
/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/tools/hidl/c2hal/test/ |
H A D | build_all.py | 21 from subprocess import call
|
/system/update_engine/scripts/update_payload/ |
H A D | test_utils.py | 13 import subprocess namespace 91 sign_process = subprocess.Popen(sign_cmd, stdin=subprocess.PIPE, 92 stdout=subprocess.PIPE) 95 raise TestError('signing subprocess failed: %s' % e)
|
H A D | applier.py | 23 import subprocess namespace 392 subprocess.check_call(bspatch_cmd) 416 subprocess.check_call(patch_cmd)
|
/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/tests/bootloader/ |
H A D | bootloadertest.py | 19 import subprocess namespace 170 except subprocess.CalledProcessError:
|
/system/tpm/attestation/common/ |
H A D | proto_print.py | 39 import subprocess namespace 393 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/update_engine/scripts/ |
H A D | update_device.py | 25 import subprocess namespace 230 subprocess.CalledProcessError on command exit != 0. 234 p = subprocess.Popen(command, universal_newlines=True)
|
/system/update_engine/ |
H A D | sideload_main.cc | 37 #include "update_engine/common/subprocess.h" 150 // Setup the subprocess handler. 153 Subprocess subprocess; local 154 subprocess.Init(&handler);
|
/system/extras/simpleperf/runtest/ |
H A D | runtest.py | 31 import subprocess namespace 323 subprocess.check_call(args, stdout=output_fh) 347 subprocess.check_call(args_with_adb, stdout=output_fh) 353 subprocess.check_call(args)
|