Home
last modified time | relevance | path

Searched refs:run_shell_command (Results 1 – 3 of 3) 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])
/cts/tools/incremental-cts/
Dincremental_deqp.py151 content = adb.run_shell_command('cat ' + dep)
246 def run_shell_command(self, command): member in AdbHelper
424 self._adb.run_shell_command('mkdir -p ' + device_deqp_out_dir)
442 self._adb.run_shell_command(
462 self._adb.run_shell_command('simpleperf dump {perf_file} > {dump_file}'
Dincremental_deqp_test.py100 adb.run_shell_command = MagicMock(side_effect=side_effect)
116 adb.run_shell_command = MagicMock(side_effect=side_effect)