/development/python-packages/adb/ |
device.py | 21 import subprocess namespace 52 subprocess.check_call([adb_path, 'start-server'], stdout=devnull, 54 out = subprocess.check_output([adb_path, 'devices']).splitlines() 117 subprocess.check_call([adb_path, 'start-server'], stdout=devnull, 120 serial = subprocess.check_output([adb_path, flag, 'get-serialno']).strip() 121 except subprocess.CalledProcessError: 154 # If necessary, modifies subprocess.check_output() or subprocess.Popen() args to run the subprocess 155 # via Windows PowerShell to work-around an issue in Python 2's subprocess class on Windows where i [all...] |
/external/autotest/client/cros/cellular/ |
mmtest.py | 7 import dbus, os, subprocess, time namespace 41 self.fakenet_process = subprocess.Popen( 43 stdout=subprocess.PIPE) 61 self.fakemodem_process = subprocess.Popen( 64 stdout=subprocess.PIPE) 113 self.modemmanager = subprocess.Popen(['/usr/sbin/modem-manager',
|
/external/autotest/site_utils/lib/ |
infra.py | 7 import subprocess namespace 47 return subprocess.check_output(cmd, shell=True) 48 proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) 74 host.run errors to the subprocess equivalent to expose a common API. 85 raise subprocess.CalledProcessError(exit_status, command) 105 out = subprocess.check_output(['googlesh', '-s', '-uchromeos-test',
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
video.py | 5 import subprocess namespace 125 proc = subprocess.Popen(['avconv', '-i', video], stderr=subprocess.PIPE) 162 proc = subprocess.Popen(['avconv', '-i', mp4_file, '-vcodec', 165 stderr=subprocess.PIPE, stdout=subprocess.PIPE)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
vtune_profiler_unittest.py | 80 real_subprocess = vtune_profiler.subprocess 81 vtune_profiler.subprocess = mock_subprocess 94 vtune_profiler.subprocess = real_subprocess 105 real_subprocess = vtune_profiler.subprocess 106 vtune_profiler.subprocess = mock_subprocess 118 vtune_profiler.subprocess = real_subprocess
|
/external/clang/ |
update-prebuilts.py | 25 import subprocess namespace 106 subprocess.check_call( 115 subprocess.check_call(cmd) 124 subprocess.check_call( 133 subprocess.check_call(['git', 'add', install_subdir]) 149 subprocess.check_call(['git', 'commit', '-m', message])
|
/external/vulkan-validation-layers/demos/smoke/ |
glsl-to-spirv | 30 import subprocess 53 output = subprocess.check_output(args, universal_newlines=True) 54 except subprocess.CalledProcessError as e:
|
/build/core/tasks/check_boot_jars/ |
check_boot_jars.py | 11 import subprocess namespace 46 p = subprocess.Popen(args='jar tf %s' % jar, 47 stdout=subprocess.PIPE, shell=True)
|
/development/scripts/ |
add-accounts | 28 import subprocess namespace 35 proc = subprocess.Popen(args, stdout=subprocess.PIPE)
|
add-accounts-sdk | 28 import subprocess namespace 35 proc = subprocess.Popen(args, stdout=subprocess.PIPE)
|
/external/autotest/client/site_tests/hardware_PerfCounterVerification/ |
perf_verification.py | 7 import subprocess namespace 36 out = subprocess.check_output( 40 stderr=subprocess.STDOUT)
|
/external/autotest/frontend/health/ |
check_test_health.py | 7 import argparse, logging, os, subprocess, sys namespace 15 # as the list is just passed to subprocess.call(). We expect the scripts to 40 and arguments to be called (as subprocess.call() expects). 48 return_code = subprocess.call(script) 64 and arguments to be called (as subprocess.call() expects). 74 return_code = subprocess.call(script)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/scripts/ |
git-release-notes.py | 5 import subprocess namespace 24 revisions = subprocess.check_output(REVLIST, shell=True, stderr=subprocess.STDOUT)
|
/external/chromium-trace/catapult/tracing/ |
PRESUBMIT.py | 8 p = input_api.subprocess.Popen(args, stdout=input_api.subprocess.PIPE, 9 stderr=input_api.subprocess.STDOUT)
|
/external/mesa3d/ |
common.py | 7 import subprocess namespace 68 subprocess.call(['llvm-config', '--version'], stdout=subprocess.PIPE) == 0:
|
/external/v8/build/linux/ |
install-chromeos-fonts.py | 12 import subprocess namespace 62 subprocess.check_call(['curl', '-L', url, '-o', tarball]) 63 subprocess.check_call(['tar', '--no-same-owner', '--no-same-permissions',
|
/external/v8/gypfiles/ |
download_gold_plugin.py | 14 import subprocess namespace 73 subprocess.check_call(['python', GSUTIL_PATH, 76 subprocess.check_call(['tar', 'xzf', targz_name])
|
/external/v8/tools/gyp/test/mac/ |
gyptest-app.py | 16 import subprocess namespace 26 output = subprocess.check_output(['file', file]) 67 machine = subprocess.check_output(['sw_vers', '-buildVersion']).rstrip('\n')
|
/external/autotest/client/cros/image_comparison/ |
pdiff_image_comparer.py | 8 import subprocess namespace 54 Invokes perceptualdiff using subprocess tools. 72 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
/external/autotest/client/tests/memory_api/ |
memory_api.py | 1 import os, subprocess, re, commands, logging namespace 33 p1 = subprocess.Popen('%s/memory_api ' % self.tmpdir + memsize, 34 shell=True, stdin=subprocess.PIPE, 35 stdout=subprocess.PIPE)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
cmd_helper.py | 5 """A wrapper for subprocess to make calling shell commands easier.""" 14 import subprocess namespace 94 return subprocess.Popen( 108 """Opens a subprocess to execute a program and returns its return value. 113 cwd: If not None, the subprocess's current directory will be changed to 124 """Open a subprocess to execute a program and returns its output. 129 cwd: If not None, the subprocess's current directory will be changed to 158 """Executes a subprocess and returns its exit code and output. 163 cwd: If not None, the subprocess's current directory will be changed to 182 """Executes a subprocess and returns its exit code, output, and errors [all...] |
/external/chromium-trace/catapult/systrace/systrace/ |
util.py | 9 import subprocess namespace 69 adb_output = subprocess.check_output(adb_command, stderr=subprocess.STDOUT, 79 except subprocess.CalledProcessError as error:
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
linux_platform_backend.py | 8 import subprocess namespace 79 p = subprocess.Popen(['/sbin/sysctl', '-w', 'vm.drop_caches=3']) 113 (out, err) = subprocess.Popen(cmd, 114 stdout=subprocess.PIPE, 115 stderr=subprocess.PIPE).communicate() 125 return 'ipfw_mod' in subprocess.Popen( 126 ['lsmod'], stdout=subprocess.PIPE).communicate()[0] 148 subprocess.check_call(['/usr/bin/sudo', 'insmod', ipfw_mod]) 150 subprocess.check_call(
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
generate.py | 7 import subprocess namespace 64 p = subprocess.Popen(args, 65 stdin=subprocess.PIPE, 66 stdout=subprocess.PIPE, 67 stderr=subprocess.PIPE) 181 p = subprocess.Popen(rcssmin_args, 182 stdin=subprocess.PIPE, 183 stdout=subprocess.PIPE, 184 stderr=subprocess.PIPE)
|
/external/clang/tools/clang-format/ |
clang-format-diff.py | 29 import subprocess namespace 106 p = subprocess.Popen(command, stdout=subprocess.PIPE, 107 stderr=None, stdin=subprocess.PIPE)
|