Searched refs:returncode (Results 1 – 15 of 15) sorted by relevance
/development/gsi/gsi_util/gsi_util/utils/ |
D | cmd_utils.py | 100 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,
|
D | vintf_utils.py | 38 returncode, _, stderrdata = cmd_utils.run_command( 43 return (returncode == 0, stderrdata)
|
D | sepolicy_utils.py | 78 returncode, _, stderrdata = cmd_utils.run_command(cmd, 83 return (returncode == 0, stderrdata)
|
D | adb_utils.py | 41 (returncode, _, _) = run_command( 44 return returncode == 0
|
/development/testrunner/ |
D | run_command.py | 115 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/ |
D | cmd_utils_unittest.py | 96 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/ |
D | repo_pull.py | 61 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/ |
D | usb-reset-by-serial.py | 96 if mypipe.returncode != 0: 102 error("command failed (rc=%d): cmd was %s" % (mypipe.returncode, args))
|
D | native_heapdump_viewer.py | 327 addr2line_rc = p.returncode
|
/development/vndk/tools/header-checker/utils/ |
D | utils.py | 278 return err.returncode 303 if proc.returncode != 0:
|
/development/python-packages/fastboot/ |
D | device.py | 234 raise subprocess.CalledProcessError(e.returncode, args[0],
|
/development/python-packages/adb/ |
D | device.py | 208 raise subprocess.CalledProcessError(e.returncode, args[0], 369 exit_code = p.returncode
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 341 while gdb_process.returncode is None:
|
/development/tools/ |
D | monkey | 123 raise ExecutionException("adb: %s returned %s" % (cmd, ex.returncode))
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 1541 if proc.returncode != 0: 1542 raise subprocess.CalledProcessError(proc.returncode, cmd, stderr)
|