Home
last modified time | relevance | path

Searched refs:returncode (Results 1 – 15 of 15) 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)
Dsepolicy_utils.py78 returncode, _, stderrdata = cmd_utils.run_command(cmd,
83 return (returncode == 0, stderrdata)
Dadb_utils.py41 (returncode, _, _) = run_command(
44 return 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/tools/repo_pull/
Drepo_pull.py61 def __init__(self, args, returncode, stdout, stderr): argument
63 self.returncode = returncode
86 returncode = proc.wait()
88 if check and returncode:
89 raise CalledProcessError(returncode, args, stdout)
90 return CompletedProcess(args, returncode, stdout, stderr)
334 if proc.returncode != 0:
/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.py278 return err.returncode
303 if proc.returncode != 0:
/development/python-packages/fastboot/
Ddevice.py234 raise subprocess.CalledProcessError(e.returncode, args[0],
/development/python-packages/adb/
Ddevice.py208 raise subprocess.CalledProcessError(e.returncode, args[0],
369 exit_code = p.returncode
/development/python-packages/gdbrunner/
D__init__.py341 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.py1541 if proc.returncode != 0:
1542 raise subprocess.CalledProcessError(proc.returncode, cmd, stderr)