Lines Matching refs:out
52 out, err = proc.communicate()
54 if not isinstance(out, str):
55 out = out.decode("utf-8")
58 return out, err, proc.returncode
72 out, err, return_code = self.Execute("getprop", name)
75 (name, out, err))
76 return out.strip()
88 out = self._GetProp("ro.product.cpu.abilist" + str(bitness))
89 return out.lower().split(",") if out else []
194 out, err, return_code = self.Execute("id")
196 raise IOError("`id` stdout: %s\nstderr: %s \n" % (out, err))
197 return "uid=0(root)" in out.strip()
201 out, err, return_code = self.Execute("test", *args)
202 if out.strip() or err.strip():
204 (args, out, err))
217 out, err, return_code = self.Execute("stat", "--format", fmt, path)
220 (fmt, path, out, err))
221 return out.strip()
244 out, err, return_code = self.Execute("find", path, "-name",
249 (path, name_pattern, " ".join(options), out, err))
250 return out.strip().split("\n")