Home
last modified time | relevance | path

Searched refs:returncode (Results 1 – 17 of 17) sorted by relevance

/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py100 command_in_log, proc.returncode)
102 log_level = logging.ERROR if proc.returncode != 0 else logging.INFO
108 if proc.returncode != 0 and raise_on_error:
109 raise subprocess.CalledProcessError(proc.returncode, command)
111 return CommandResult(proc.returncode,
Dvintf_utils.py38 returncode, _, stderrdata = cmd_utils.run_command(
43 return (returncode == 0, stderrdata)
Dadb_utils.py41 (returncode, _, _) = run_command(
44 return returncode == 0
Dsepolicy_utils.py78 returncode, _, stderrdata = cmd_utils.run_command(cmd,
83 return (returncode == 0, stderrdata)
/development/tools/repo_pull/
Dgerrit.py55 def __init__(self, args, returncode, stdout, stderr): argument
57 self.returncode = returncode
80 returncode = proc.wait()
82 if check and returncode:
83 raise CalledProcessError(returncode, args, stdout)
84 return CompletedProcess(args, returncode, stdout, stderr)
Drepo_pull.py303 if proc.returncode != 0:
/development/testrunner/
Drun_command.py115 if pipe.returncode:
117 pipe.returncode))
170 if subproc.returncode != 0: # In case of error print the output
172 return subproc.returncode
/development/gsi/gsi_util/gsi_util/utils/tests/
Dcmd_utils_unittest.py96 self.assertEqual(7, result.returncode)
104 self.assertEqual(9, result.returncode)
112 self.assertEqual(11, result.returncode)
121 self.assertEqual(13, proc_err.returncode)
/development/scripts/
Dusb-reset-by-serial.py96 if mypipe.returncode != 0:
102 error("command failed (rc=%d): cmd was %s" % (mypipe.returncode, args))
Dnative_heapdump_viewer.py327 addr2line_rc = p.returncode
/development/vndk/tools/header-checker/utils/
Dutils.py299 return err.returncode
324 if proc.returncode != 0:
/development/python-packages/adb/
Ddevice.py208 raise subprocess.CalledProcessError(e.returncode, args[0],
369 exit_code = p.returncode
/development/python-packages/fastboot/
Ddevice.py234 raise subprocess.CalledProcessError(e.returncode, args[0],
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py257 if process.returncode != 0:
502 if process.returncode != 0:
/development/python-packages/gdbrunner/
D__init__.py367 while gdb_process.returncode is None:
/development/tools/
Dmonkey123 raise ExecutionException("adb: %s returned %s" % (cmd, ex.returncode))
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1627 if proc.returncode != 0:
1628 raise subprocess.CalledProcessError(proc.returncode, cmd, stderr)