Lines Matching refs:stdout
15 if sys.stdout.isatty():
36 sys.stdout.write("\n")
37 sys.stdout.write(BOLD)
38 sys.stdout.write(UNDERLINE)
39 sys.stdout.write(s)
40 sys.stdout.write(ENDCOLOR)
41 sys.stdout.write("\n")
47 sys.stdout.write(BOLD)
51 sys.stdout.write("%s=\"%s\" " % (k, v.replace("\"", "\\\"")))
53 sys.stdout.write("%s=%s " % (k, v))
54 sys.stdout.write(" ".join(cmd))
55 sys.stdout.write(ENDCOLOR)
56 sys.stdout.write("\n")
73 def Exec(self, cmd, stdout=None, stderr=None): argument
84 result = subprocess.call(cmd, stdout=stdout, stderr=stderr)
94 def Run(self, cmd, stdout=None, stderr=None): argument
104 self.Exec(cmd, stdout=stdout, stderr=stderr)
126 def Shell(self, cmd, stdout=None, stderr=None): argument
138 self.Run(cmd, stdout=stdout, stderr=stderr)
307 logcatProcess = subprocess.Popen(cmd, stdout=logcatFile, stderr=None)
332 adb.Shell(cmd, stdout=monkeyFile, stderr=monkeyFile)
337 adb.Shell(["bugreport"], stdout=bugreportFile, stderr=None)