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

/frameworks/base/tests/JankBench/scripts/
H A Dadbutil.py1 import subprocess namespace
30 subprocess.call(args)
39 subprocess.call(["adb", "-s", serial, "root"])
42 subprocess.call(["adb", "-s", serial, "wait-for-device", "pull"] + [path] + [dest])
56 output = subprocess.check_output(full_args)
58 subprocess.call(full_args)
59 except subprocess.CalledProcessError:
/frameworks/base/services/tests/
H A Druntests.py18 import subprocess namespace
38 return subprocess.check_call(shell_command, shell=True)
/frameworks/support/jetifier/jetifier/source-transformer/
H A DrewriteMake.py3 import csv, subprocess namespace
113 subprocess.check_output(rewriteCommand, shell=True)
H A DrewritePackageNames.py12 import subprocess namespace
123 subprocess.check_output(rewriteCommand, shell=True)
/frameworks/base/libs/hwui/tests/scripts/
H A Dprocess_systrace.py3 import codecs, httplib, json, os, urllib, shutil, subprocess, sys, argparse namespace
23 p = subprocess.Popen(git_args, stdout=subprocess.PIPE, cwd=script_dir)
/frameworks/rs/
H A Dupdate-prebuilts.py25 import subprocess namespace
128 subprocess.check_call(
137 subprocess.check_call(cmd)
146 subprocess.check_call(
159 subprocess.check_call(['git', 'add', install_subdir])
173 subprocess.check_call(['git', 'commit', '-m', message])
H A Dbuild_rs.py24 import subprocess namespace
90 subprocess.check_call(
112 subprocess.check_call(args)
191 subprocess.check_call(
/frameworks/base/packages/SystemUI/scripts/
H A Dnew_merge.py9 from subprocess import call
10 from subprocess import Popen
11 from subprocess import PIPE
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py31 import subprocess namespace
53 # In python 2.6, subprocess.check_output does not exist, so it is implemented here
55 p = subprocess.Popen(stdout=subprocess.PIPE, stderr=subprocess.STDOUT, *popenargs, **kwargs)
62 e = subprocess.CalledProcessError(retcode, c)
99 Uses subprocess to invoke adb.
149 p = subprocess.Popen(largs)
165 except subprocess.CalledProcessError, e:
242 except subprocess
[all...]
/frameworks/compile/slang/tests/
H A Dslang_test.py28 import subprocess namespace
150 GetOutDir.cache = subprocess.check_output(['bash', '-c',
209 """Checks the result of the subprocess command to see if it passed/failed.
211 If dir_name starts with 'F_', then subprocess is expected to fail.
217 subprocess_ret: return code of subprocess
289 ret = subprocess.call(args, stdout=stdout_file, stderr=stderr_file)
291 tests.fail('subprocess.call failed: ' + ' '.join(args))
/frameworks/rs/tests/lldb/
H A Drun_tests.py23 import subprocess namespace
403 EMU_PROC = subprocess.Popen(state.emu_cmd.split(),
405 stderr=subprocess.STDOUT)
523 return_code = subprocess.call(params)
759 proc = subprocess.Popen(params, stdout=subprocess.PIPE)
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py29 import subprocess namespace
280 adb = subprocess.Popen(['adb', 'logcat', '-s', '-v', 'time', 'Input:*', 'VelocityTracker:*'],
281 stdout=subprocess.PIPE)
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_android.py22 import subprocess namespace
661 proc = subprocess.Popen(command,
662 stdout=subprocess.PIPE,
663 stderr=subprocess.STDOUT,
/frameworks/ml/nn/tools/
H A Dsync_enums_to_hal.py34 import subprocess namespace
203 subprocess.run(
/frameworks/ml/nn/tools/test_generator/tests/
H A Dtest.py28 import subprocess namespace
177 """Checks the result of the subprocess command to see if it passed/failed.
179 If dir_name starts with 'F_', then subprocess is expected to fail.
185 subprocess_ret: return code of subprocess
235 ret = subprocess.call(args, stdout=stdout_file, stderr=stderr_file)
237 tests.fail('subprocess.call failed: ' + ' '.join(args))
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py25 import subprocess namespace
448 adb = subprocess.Popen(['adb', 'logcat', '-s', '-v', 'time', 'WindowOrientationListener:V'],
449 stdout=subprocess.PIPE)
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
H A Dtrace_creator.py2 from subprocess import call

Completed in 423 milliseconds