Lines Matching refs:out
206 (out, _) = subproc.communicate()
207 out = bytes_to_str(out)
210 if out and hdc_args[1] != 'file send' and \
213 print(out)
216 return result, out
219 result, out = self.run_hdc_cmd(hdc_args)
222 return out
225 result, out = self.run_hdc_cmd(['shell', 'whoami'])
226 if not result or 'root' not in out:
237 result, out = self.run_hdc_cmd(['shell', 'whoami'])
240 if 'root' in out:
248 result, out = self.run_hdc_cmd(['shell', 'whoami'])
249 return result and 'root' in out
252 result, out = self.run_hdc_cmd(['shell', 'getprop',
255 return out
506 (result, out) = self.hdc.run_hdc_cmd(
508 if not out:
534 (result, out) = self.hdc.run_hdc_cmd(
536 if "du" not in out:
537 current_size = out.split(" ")[0]