Home
last modified time | relevance | path

Searched refs:run_shell_command (Results 1 – 1 of 1) sorted by relevance

/cts/hostsidetests/theme/
Dandroid_device.py42 def run_shell_command(self, cmd): member in AndroidDevice
53 (out, err) = self.run_shell_command("getprop %s" % key)
68 (output, err) = self.run_shell_command("service check %s" % name)
95 return self.run_shell_command("am instrument -w --no-window-animation %s" % option)
98 (out, err) = self.run_shell_command("ps")
106 return int(self.run_shell_command("getprop ro.build.version.sdk")[0])
109 return self.run_shell_command("getprop ro.build.version.codename")[0].strip()
113 return int(self.run_shell_command("getprop qemu.sf.lcd_density")[0])
115 return int(self.run_shell_command("getprop ro.sf.lcd_density")[0])
118 return int(self.run_shell_command("dumpsys | grep SurfaceOrientation")[0].split()[1])