Lines Matching refs:out
55 out, err = proc.communicate()
57 if not isinstance(out, str):
58 out = out.decode("utf-8")
61 return out, err, proc.returncode
75 out, err, return_code = self.Execute("getprop", name)
78 (name, out, err))
79 return out.strip()
91 out = self._GetProp("ro.product.cpu.abilist" + str(bitness))
92 return out.lower().split(",") if out else []
197 out, err, return_code = self.Execute("id")
199 raise IOError("`id` stdout: %s\nstderr: %s \n" % (out, err))
200 return "uid=0(root)" in out.strip()
204 out, err, return_code = self.Execute("test", *args)
205 if out.strip() or err.strip():
207 (args, out, err))
220 out, err, return_code = self.Execute("stat", "--format", fmt, path)
223 (fmt, path, out, err))
224 return out.strip()
247 out, err, return_code = self.Execute("find", path, "-name",
252 (path, name_pattern, " ".join(options), out, err))
255 out = out.strip()
256 return out.split("\n") if out else []