Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 38) sorted by relevance

12

/development/tools/etc1tool/
Detc1tool.cpp35 vfprintf(stderr, message, ap); in usage()
37 fprintf(stderr, "\n\n"); in usage()
38 fprintf(stderr, "usage:\n"); in usage()
41 stderr, in usage()
44 fprintf(stderr, "\tDefault is --encode\n"); in usage()
45 fprintf(stderr, "\t\t--help print this usage information.\n"); in usage()
46 fprintf(stderr, in usage()
49 stderr, in usage()
51 fprintf(stderr, in usage()
53 fprintf(stderr, in usage()
[all …]
/development/tools/repo_pull/
Drepo_review.py48 .format(name, value), file=sys.stderr)
77 print('Cancelled', file=sys.stderr)
80 print('Cancelled', file=sys.stderr)
145 print(_SEP_SPLIT, file=sys.stderr)
146 print('Project:', project, file=sys.stderr)
147 print('Change-Id:', change_id, file=sys.stderr)
148 print('Subject:', subject, file=sys.stderr)
149 print('HTTP status code:', res_code, file=sys.stderr)
151 print(_SEP, file=sys.stderr)
152 json.dump(res_json, sys.stderr, indent=4,
[all …]
Drepo_pull.py62 def __init__(self, args, returncode, stdout, stderr): argument
66 self.stderr = stderr
82 stdout, stderr = proc.communicate(stdin)
91 return CompletedProcess(args, returncode, stdout, stderr)
106 def _confirm(question, default, file=sys.stderr):
344 proc = run(cmd, cwd=cwd, stderr=PIPE)
346 return (change, changes[i + 1:], cmd, proc.stderr)
350 def _print_pull_failures(failures, file=sys.stderr):
363 print(separator_sub, file=sys.stderr)
365 write_bytes(errors, file=sys.stderr)
[all …]
Dgerrit.py101 .format(domain, args.gitcookies), file=sys.stderr)
105 '+/master/tools/repo_pull#installation', file=sys.stderr)
/development/tools/
Dmonkey73 def Exec(self, cmd, stdout=None, stderr=None): argument
84 result = subprocess.call(cmd, stdout=stdout, stderr=stderr)
94 def Run(self, cmd, stdout=None, stderr=None): argument
104 self.Exec(cmd, stdout=stdout, stderr=stderr)
126 def Shell(self, cmd, stdout=None, stderr=None): argument
138 self.Run(cmd, stdout=stdout, stderr=stderr)
263 sys.stderr.write("Output directory already exists and is not a directory: %s\n"
307 logcatProcess = subprocess.Popen(cmd, stdout=logcatFile, stderr=None)
332 adb.Shell(cmd, stdout=monkeyFile, stderr=monkeyFile)
337 adb.Shell(["bugreport"], stdout=bugreportFile, stderr=None)
/development/python-packages/adb/
Ddevice.py41 def __init__(self, cmd, stdout, stderr, exit_code): argument
46 self.stderr = stderr
53 stderr=devnull)
119 stderr=devnull)
331 self.adb_cmd + cmd, stderr=subprocess.STDOUT).decode('utf-8')
346 exit_code, stdout, stderr = self.shell_nocheck(cmd)
348 raise ShellError(cmd, stdout, stderr, exit_code)
349 return stdout, stderr
364 cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
365 stdout, stderr = p.communicate()
[all …]
/development/python-packages/fastboot/
Ddevice.py86 stderr=subprocess.STDOUT).splitlines()
106 stderr=subprocess.STDOUT).splitlines()
143 func(command, stderr=subprocess.STDOUT)
162 func(command, stderr=subprocess.STDOUT)
173 _subprocess_check_output(command, stderr=subprocess.STDOUT)
181 _subprocess_check_output(command, stderr=subprocess.STDOUT)
/development/tools/line_endings/
Dline_endings.c14 fprintf(stderr, "usage: line_endings unix|dos FILES\n" in usage()
54 fprintf(stderr, "unable to open file for read/write: %s\n", argv[i]); in main()
76 fprintf(stderr, "unable to read file: %s\n", argv[i]); in main()
98 fprintf(stderr, "unable to write file: %s\n", argv[i]); in main()
/development/gsi/gsi_util/gsi_util/checkers/
Dvintf_checker.py74 result_ok, stderr = vintf_utils.checkvintf(manifest, matrix)
76 check_result.CheckResultItem(title, result_ok, stderr))
Dsepolicy_checker.py163 result_ok, stderr = sepolicy_utils.secilc(secilc_options, cil_files)
168 stderr)]
/development/scripts/
Dusb-reset-by-serial.py47 sys.stderr.write(msg + "\n")
79 sys.stderr.write("warning: " + msg + "\n")
84 sys.stderr.write("error: " + msg + "\n")
139 sys.stderr.write("error: %s\n" % msgarg)
/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py91 stdout, stderr = proc.communicate()
106 logging.log(log_level, ' stderr: %r', stderr)
113 stderr if read_stderr else None)
/development/vndk/tools/elfcheck/elfcheck/
Dreadobj.py36 stderr=subprocess.PIPE)
47 stderr=subprocess.PIPE)
/development/gsi/gsi_util/gsi_util/commands/
Dcheck_compat.py66 title, result_ok, stderr = result_item
71 if stderr:
72 print(self._ERR_MSE_FORMAT.format(stderr))
Dpull.py33 print >> sys.stderr, 'Can not dump file: {}'.format(source)
/development/testrunner/
Drun_command.py103 stderr=subprocess.STDOUT,
168 stderr=subprocess.STDOUT)
177 stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py87 print('error: Failed to find:', apk_file, file=sys.stderr)
94 print('error: Failed to unpack:', apk_file, file=sys.stderr)
99 print('error: Failed to find:', manifest_file, file=sys.stderr)
/development/vndk/tools/definition-tool/tests/
Dtest_vndk.py25 stderr = StringIO()
26 with patch('sys.stderr', stderr):
30 stderr.getvalue(),
Dtest_elf_linker.py555 stderr = StringIO()
556 with patch('sys.stderr', stderr):
559 self.assertEqual('', stderr.getvalue())
577 stderr = StringIO()
578 with patch('sys.stderr', stderr):
581 self.assertEqual('', stderr.getvalue())
597 stderr = StringIO()
598 with patch('sys.stderr', stderr):
602 stderr.getvalue(),
/development/build/tools/
Dmk_sources_zip.py57 print >>sys.stderr, msg
80 print >>sys.stderr, "Error:", error
193 print >>sys.stderr, "zip %s [%s]" % (arc_path, filepath)
254 print >>sys.stderr, "This was in *DRY* mode. No copies done."
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset_auto.py76 file=sys.stderr)
77 print('error: Did you lunch an Android target?', file=sys.stderr)
/development/tools/privapp_permissions/
Dprivapp_permissions.py125 stderr=subprocess.STDOUT)
189 file=sys.stderr)
197 print('Unable to reach adb server daemon.', file=sys.stderr)
220 file=sys.stderr)
278 'devices.', file=sys.stderr)
577 print(str(e), file=sys.stderr)
/development/vndk/tools/sourcedr/ninja/
Dlist_ninja_build_dep.py79 file=sys.stderr)
/development/vndk/tools/sourcedr/blueprint/
Dcheck_vndk_dep.py113 file=sys.stderr)
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py60 logging.basicConfig(stream=sys.stderr, level=LOG_LEVEL,
242 … return subprocess.check_output(command, stderr=subprocess.STDOUT, input=stdin).decode('utf-8')
254 stderr=subprocess.PIPE)
342stderr=subprocess.PIPE, stdin=subprocess.PIPE, start_new_session=True)
498 process = subprocess.Popen(shell, stdout=subprocess.PIPE, stderr=subprocess.PIPE,

12