Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 35) sorted by relevance

12

/development/tools/
Dmonkey15 if sys.stdout.isatty():
36 sys.stdout.write("\n")
37 sys.stdout.write(BOLD)
38 sys.stdout.write(UNDERLINE)
39 sys.stdout.write(s)
40 sys.stdout.write(ENDCOLOR)
41 sys.stdout.write("\n")
47 sys.stdout.write(BOLD)
51 sys.stdout.write("%s=\"%s\" " % (k, v.replace("\"", "\\\"")))
53 sys.stdout.write("%s=%s " % (k, v))
[all …]
/development/vndk/tools/elfcheck/elfcheck/
Dreadobj.py35 proc = subprocess.Popen(['readelf', '-h', path], stdout=subprocess.PIPE,
37 stdout = proc.communicate()[0]
39 for line in stdout.decode('utf-8').splitlines():
46 proc = subprocess.Popen(['readelf', '-d', path], stdout=subprocess.PIPE,
48 stdout = proc.communicate()[0]
51 for line in stdout.decode('utf-8').splitlines():
Drewriter.py273 def rewrite(self, out_file=sys.stdout):
/development/cmds/monkey/src/com/android/commands/monkey/
DLogger.java26 if (stdout) {
36 if (stdout) {
45 public static boolean stdout = true; field in Logger
/development/python-packages/adb/adb/
D__init__.py45 self, cmd: list[str], stdout: str, stderr: str, exit_code: int
50 self.stdout = stdout
57 subprocess.check_call([adb_path, 'start-server'], stdout=devnull,
129 subprocess.check_call([adb_path, 'start-server'], stdout=devnull,
297 exit_code, stdout, stderr = self.shell_nocheck(cmd)
299 raise ShellError(cmd, stdout, stderr, exit_code)
300 return stdout, stderr
315 cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8')
316 stdout, stderr = p.communicate()
320 exit_code, stdout = self._parse_shell_output(stdout)
[all …]
/development/tools/external_crates/test_mapping/src/
Drdeps.rs72 let stdout = from_utf8(&output.stdout)?; in grep_and_parse() localVariable
74 for line in stdout.lines() { in grep_and_parse()
/development/tools/repo_pull/
Dgerrit.py83 def __init__(self, args, returncode, stdout, stderr): argument
86 self.stdout = stdout
103 stdout, stderr = proc.communicate(stdin)
111 raise CalledProcessError(returncode, args, stdout)
112 return CompletedProcess(args, returncode, stdout, stderr)
167 proc = run(cmd, stdout=PIPE, input=req.data, check=True)
170 outfile = BytesIO(proc.stdout)
574 raw_manifest_xml = run(manifest_cmd, stdout=PIPE, check=True).stdout
636 json.dump(change_lists, sys.stdout, indent=4, separators=(', ', ': '))
Drepo_pull.py161 raw_manifest_xml = run(manifest_cmd, stdout=PIPE, check=True).stdout
229 json.dump(change_lists, sys.stdout, indent=4, separators=(', ', ': '))
Drepo_review.py55 def _print_change_lists(change_lists, file=sys.stdout):
223 _print_change_lists(change_lists, file=sys.stdout)
/development/tools/winscope/protos/
Dbuild.js155 exec(command, (err, stdout, stderr) => {
160 `\n\nstdout: ${stdout}` +
/development/scripts/
Dsymbol.py53 … stream = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True, shell=True).stdout
108 …return subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, universal_newlines=Tru…
114 pipe.stdout.close()
315 json_result = json.loads(child.stdout.readline().strip())
378 json_result = json.loads(child.stdout.readline().strip())
460 stream = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True).stdout
527 demangled_symbol = process.stdout.readline().strip()
Dacov-llvm.py81 cmd, *args, **kwargs, check=True, stdout=subprocess.PIPE).stdout
Dstack_core.py292 if subprocess.call(["unzip", "-p", apk, shared_lib_name], stdout=tmp_fd) == 0:
353 cmd = subprocess.Popen(["zipinfo", "-v", apk_full_path], stdout=subprocess.PIPE,
356 for line in cmd.stdout:
363 for line in cmd.stdout:
404 stdout = subprocess.check_output([symbol.ToolPath("llvm-readelf"), "-h", "-n", lib], text=True)
405 match = self.readelf_output.search(stdout)
Dupdate_crate_tests.py396 stdout=subprocess.DEVNULL).returncode == 1))
404 stdout=subprocess.DEVNULL)
/development/tools/crate-updater/src/
Dmain.rs66 from_utf8(&self.stdout)?, in success_or_error()
108 if !output.stdout.is_empty() { in cleanup_and_sync_monorepo()
142 let bid = from_utf8(&output.stdout)?.trim(); in sync_to_green()
173 let json: UpdateSuggestions = serde_json::from_slice(&output.stdout)?; in get_suggestions()
/development/tools/winscope/src/trace_collection/wdp/
Dwdp_device_connection.ts169 const stdout = byteArrayToString(cmdOut.get()); constant
170 const index = stdout.indexOf('ERROR');
175 'Error ending screen recording on device: ' + stdout.slice(index);
/development/treble/
Dread_build_trace_gz.py64 sys.stdout.write(out_str)
/development/tools/ndk/ndkabidump/
Dsoong.py83 return result.stdout
/development/vndk/tools/sourcedr/blueprint/
Dlist_vndk_module.py98 sys.stdout, module_dicts, root_dir, exclude, select)
/development/tools/logblame/
Danalyze_logs.py161 logcat = subprocess.Popen(cmd, stdout=subprocess.PIPE)
162 infile = logcat.stdout
/development/tools/external_crates/crate_tool/src/
Dlib.rs110 from_utf8(&self.stdout)?, in success_or_error()
Dmanaged_crate.rs150 if !output.stdout.is_empty() { in recontextualize_patches()
208 new_patch_contents.push((patch, parsed.reassemble(&output.stdout))); in recontextualize_patches()
Dpseudo_crate.rs97 for line in from_utf8(&output.stdout).unwrap().lines().skip(1) { in deps()
/development/vndk/tools/
Dsystem_image_diff.py141 writer = csv.writer(sys.stdout, quoting = csv.QUOTE_NONNUMERIC,
/development/tools/axl/
Daxl.py240 log.Log.getInstance(sys.stdout)

12