/external/google-breakpad/src/testing/test/ |
gmock_leak_test.py | 51 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL).exit_code) 54 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL).exit_code) 59 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL + 63 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL + 69 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL + 73 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL + 79 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL + 85 gmock_test_utils.Subprocess(TEST_MULTIPLE_LEAKS +
|
/external/skia/tools/ |
merge_static_libs.py | 8 import subprocess 32 proc = subprocess.Popen([ar, '-t', in_lib], stdout=subprocess.PIPE) 36 proc = subprocess.Popen([ar, '-x', in_lib], stdout=subprocess.PIPE, 37 stderr=subprocess.STDOUT) 50 if not subprocess.call([ar, '-crs', out_lib] + objects) == 0: 54 subprocess.call(['lib', '/OUT:%s' % out_lib] + in_libs)
|
llvm_coverage_run.py | 12 import subprocess 34 subprocess.call([binary_path] + cmd[1:]) 36 subprocess.check_call( 42 return subprocess.check_output(['llvm-cov', 'show', '-no-colors',
|
/system/update_engine/common/ |
subprocess.h | 36 // The Subprocess class is a singleton. It's used to spawn off a subprocess 37 // and get notified when the subprocess exits. The result of Exec() can 42 // To create the Subprocess singleton just instantiate it with and call Init(). 43 // You can't have two Subprocess instances initialized at the same time. 47 class Subprocess { 58 Subprocess() = default; 60 // Destroy and unregister the Subprocess singleton. 61 ~Subprocess(); 63 // Initialize and register the Subprocess singleton [all...] |
subprocess_unittest.cc | 17 #include "update_engine/common/subprocess.h" 76 Subprocess subprocess_; 99 void ExpectedDataOnPipe(const Subprocess* subprocess, 109 int fd = subprocess->GetPipeFd(*pid, child_fd); 123 EXPECT_EQ(&subprocess_, &Subprocess::Get()); 127 std::unique_ptr<Subprocess> another_subprocess(new Subprocess()); 128 EXPECT_EQ(&subprocess_, &Subprocess::Get()); 130 EXPECT_EQ(&subprocess_, &Subprocess::Get()) [all...] |
/external/bison/lib/ |
wait-process.h | 1 /* Waiting for a subprocess to finish. 34 /* Wait for a subprocess to finish. Return its exit code. 38 - child is the pid of the subprocess. 39 - progname is the name of the program executed by the subprocess, used for 41 - If ignore_sigpipe is true, consider a subprocess termination due to 46 This is suitable when the subprocess does not fulfill an important task. 52 terminated the subprocess (if supported by the platform: not on native 54 that terminated the subprocess will be omitted. 62 /* Register a subprocess as being a slave process. This means that the 63 subprocess will be terminated when its creator receives a catchable fata [all...] |
/external/autotest/client/site_tests/security_Minijail0/src/ |
mountns-enter.py | 6 import subprocess 15 ret = subprocess.check_call(["mount", "tmpfs", tmpdir, "-t", "tmpfs"]) 21 ret = subprocess.call(["/sbin/minijail0", "-V", "/proc/1/ns/mnt", "--", 25 subprocess.check_call("umount %s" % tmpdir, shell=True)
|
/external/libvpx/libvpx/tools/ |
lint-hunks.py | 14 import subprocess 40 class Subprocess(subprocess.Popen): 46 super(Subprocess, self).__init__(args, **kwargs) 49 result = super(Subprocess, self).communicate(*args, **kwargs) 80 tl = Subprocess(TOPLEVEL_CMD, stdout=subprocess.PIPE) 96 p = Subprocess(diff_cmd, stdout=subprocess.PIPE) 113 show = Subprocess(show_cmd, stdout=subprocess.PIPE [all...] |
/external/v8/tools/gcmole/ |
parallel.py | 25 import subprocess 30 return (subprocess.check_output( 31 cmdline, shell=True, stderr=subprocess.STDOUT), 0) 32 except subprocess.CalledProcessError as e:
|
/external/webrtc/webrtc/build/ |
find_directx_sdk.py | 14 import subprocess 34 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/ |
lint-hunks.py | 14 import subprocess 40 class Subprocess(subprocess.Popen): 46 super(Subprocess, self).__init__(args, **kwargs) 49 result = super(Subprocess, self).communicate(*args, **kwargs) 80 tl = Subprocess(TOPLEVEL_CMD, stdout=subprocess.PIPE) 96 p = Subprocess(diff_cmd, stdout=subprocess.PIPE) 113 show = Subprocess(show_cmd, stdout=subprocess.PIPE [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
common_util.py | 9 import subprocess 20 ret = subprocess.call(cmd, shell=True) 32 proc = subprocess.Popen(cmd, shell=True, 33 stdout=subprocess.PIPE, 34 stderr=subprocess.STDOUT)
|
/external/autotest/client/site_tests/platform_AccurateTime/ |
platform_AccurateTime.py | 6 import subprocess 22 self.server = subprocess.Popen([OPENSSL, 's_server', '-www', 28 proc = subprocess.Popen([TLSDATE, '-H', '127.0.0.1', '-p', '4433', 30 '-nv'], stdout=subprocess.PIPE, 31 stderr=subprocess.PIPE)
|
/external/autotest/client/tests/sound_infrastructure/ |
sound_infrastructure.py | 8 import subprocess 52 aplay = subprocess.Popen(["aplay", "-l"], stderr=subprocess.PIPE) 57 arecord = subprocess.Popen(["arecord", "-l"], stderr=subprocess.PIPE)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
cros_forwarder.py | 6 import subprocess 34 self._proc = subprocess.Popen( 36 stdout=subprocess.PIPE, 37 stderr=subprocess.PIPE, 38 stdin=subprocess.PIPE,
|
/external/chromium-trace/ |
update.py | 3 import codecs, httplib, json, optparse, os, urllib, shutil, subprocess, sys 24 p = subprocess.Popen(git_args, stdout=subprocess.PIPE, cwd=script_dir) 33 p = subprocess.Popen(git_args, 34 stdout=subprocess.PIPE,
|
/system/core/adb/ |
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 150 class Subprocess { 152 Subprocess(const std::string& command, const char* terminal_type, 154 ~Subprocess(); 162 // Sets up FDs, forks a subprocess, starts the subprocess manager thread 450 Subprocess* subprocess = reinterpret_cast<Subprocess*>(userdata); local 752 auto subprocess = std::make_unique<Subprocess>(name, terminal_type, type, protocol); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
script_helper.py | 9 import subprocess 23 # Executing the interpreter in a subprocess 33 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE, 34 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 39 subprocess._cleanup() 68 return subprocess.call(cmd_line, stdout=devnull, 69 stderr=subprocess.STDOUT) 74 return subprocess.Popen(cmd_line, stdin=subprocess.PIPE [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
script_helper.py | 9 import subprocess 23 # Executing the interpreter in a subprocess 33 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE, 34 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 39 subprocess._cleanup() 68 return subprocess.call(cmd_line, stdout=devnull, 69 stderr=subprocess.STDOUT) 74 return subprocess.Popen(cmd_line, stdin=subprocess.PIPE [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
script_helper.py | 9 import subprocess 23 # Executing the interpreter in a subprocess 33 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE, 34 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 39 subprocess._cleanup() 68 return subprocess.call(cmd_line, stdout=devnull, 69 stderr=subprocess.STDOUT) 74 return subprocess.Popen(cmd_line, stdin=subprocess.PIPE [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
script_helper.py | 9 import subprocess 23 # Executing the interpreter in a subprocess 33 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE, 34 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 39 subprocess._cleanup() 68 return subprocess.call(cmd_line, stdout=devnull, 69 stderr=subprocess.STDOUT) 74 return subprocess.Popen(cmd_line, stdin=subprocess.PIPE [all...] |
/external/autotest/frontend/health/ |
check_test_health_unittest.py | 7 import logging, mox, subprocess, unittest 19 self.mox.StubOutWithMock(subprocess, 'call') 29 subprocess.call(['script1.sh', 'arg']).AndReturn(0) 31 subprocess.call(['script2.sh']).AndReturn(0) 42 subprocess.call(mox.IgnoreArg()).AndReturn(0) 53 subprocess.call(['pass.py']).AndReturn(0) 55 subprocess.call(['fail.sh', 'arg']).AndReturn(1) 68 subprocess.call(mox.IgnoreArg()).AndReturn(1) 80 subprocess.call(['script1.sh', 'arg']).AndReturn(1) 93 self.mox.StubOutWithMock(subprocess, 'call' [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_update.py | 28 import subprocess 113 p = subprocess.Popen(prefix + ['gsutil', 'update', 'gs://pub'], 114 cwd=gsutil_dst, stdout=subprocess.PIPE, 115 stderr=subprocess.PIPE) 123 p = subprocess.Popen( 125 cwd=gsutil_dst, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 133 p = subprocess.Popen(prefix + ['gsutil', 'update', suri(src_tarball)], 134 cwd=gsutil_dst, stdout=subprocess.PIPE, 135 stderr=subprocess.PIPE [all...] |
/external/autotest/client/common_lib/ |
smogcheck_util.py | 7 import logging, subprocess, time 12 """Run a command in subprocess and return stdout. 23 RuntimeError: if subprocess return code is non-zero and not in rc_list. 31 proc = subprocess.Popen(args, 32 stdout=subprocess.PIPE, 33 stderr=subprocess.PIPE)
|
/external/autotest/client/site_tests/platform_Quipper/ |
platform_Quipper.py | 4 import subprocess 68 result = subprocess.check_output(perf_command) 69 except subprocess.CalledProcessError: 78 result = subprocess.check_output(quipper_command, 79 stderr=subprocess.STDOUT) 80 except subprocess.CalledProcessError:
|