HomeSort by relevance Sort by last modified time
    Searched refs:cmd_helper (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium-trace/catapult/devil/devil/android/sdk/
dexdump.py 6 from devil.utils import cmd_helper
30 return cmd_helper.IterCmdOutputLines(args)
aapt.py 8 from devil.utils import cmd_helper
25 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
split_select.py 8 from devil.utils import cmd_helper
26 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
gce_adb_wrapper.py 19 from devil.utils import cmd_helper
56 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(remote))
63 cmd_helper.SingleQuote(os.path.join(remote, f)))
67 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
69 self.Shell('chmod 777 %s' % cmd_helper.SingleQuote(remote))
86 status, _ = cmd_helper.GetCmdStatusAndOutput(cmd)
109 status, _ = cmd_helper.GetCmdStatusAndOutput(cmd)
fastboot.py 15 from devil.utils import cmd_helper
62 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
  /external/libmojo/third_party/catapult/devil/devil/android/sdk/
dexdump.py 6 from devil.utils import cmd_helper
30 return cmd_helper.IterCmdOutputLines(args)
aapt.py 8 from devil.utils import cmd_helper
25 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
split_select.py 8 from devil.utils import cmd_helper
26 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
adb_compatibility_devicetest.py 13 from devil.utils import cmd_helper
27 ps_status, ps_output = cmd_helper.GetCmdStatusAndOutput(
52 start_server_status, _ = cmd_helper.GetCmdStatusAndOutput(
69 kill_server_status, _ = cmd_helper.GetCmdStatusAndOutput(
102 version_status, version_output = cmd_helper.GetCmdStatusAndOutput(
gce_adb_wrapper.py 19 from devil.utils import cmd_helper
54 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(remote))
61 cmd_helper.SingleQuote(os.path.join(remote, f)))
65 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
67 self.Shell('chmod 777 %s' % cmd_helper.SingleQuote(remote))
84 status, _ = cmd_helper.GetCmdStatusAndOutput(cmd)
107 status, _ = cmd_helper.GetCmdStatusAndOutput(cmd)
fastboot.py 17 from devil.utils import cmd_helper
60 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
  /external/chromium-trace/catapult/devil/devil/utils/
cmd_helper_test.py 6 """Tests for the cmd_helper module."""
14 from devil.utils import cmd_helper
24 cmd_helper.SingleQuote('hello'))
28 cmd_helper.SingleQuote('hello world'))
32 cmd_helper.SingleQuote("hello'; rm -rf /"))
36 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.SingleQuote(test_string)
38 cmd_helper.GetCmdOutput(cmd, shell=True).rstrip())
45 cmd_helper.DoubleQuote('hello'))
49 cmd_helper.DoubleQuote('hello world'))
53 cmd_helper.DoubleQuote('hello"; rm -rf /')
    [all...]
lsusb_test.py 6 """Tests for the cmd_helper module."""
225 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
227 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
233 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
235 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
241 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
243 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
lsusb.py 8 from devil.utils import cmd_helper
21 _, raw_output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
139 _, lsusb_list_output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
149 except cmd_helper.TimeoutError:
155 return cmd_helper.GetCmdOutput(['lsusb'])
  /external/libmojo/third_party/catapult/devil/devil/utils/
cmd_helper_test.py 6 """Tests for the cmd_helper module."""
11 from devil.utils import cmd_helper
18 cmd_helper.SingleQuote('hello'))
22 cmd_helper.SingleQuote('hello world'))
26 cmd_helper.SingleQuote("hello'; rm -rf /"))
30 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.SingleQuote(test_string)
32 cmd_helper.GetCmdOutput(cmd, shell=True).rstrip())
39 cmd_helper.DoubleQuote('hello'))
43 cmd_helper.DoubleQuote('hello world'))
47 cmd_helper.DoubleQuote('hello"; rm -rf /')
    [all...]
lsusb_test.py 6 """Tests for the cmd_helper module."""
225 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
227 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
233 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
235 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
241 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
243 (mock.call.devil.utils.cmd_helper.GetCmdStatusAndOutputWithTimeout(
lsusb.py 8 from devil.utils import cmd_helper
19 _, raw_output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
83 _, lsusb_list_output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
93 except cmd_helper.TimeoutError:
99 return cmd_helper.GetCmdOutput(['lsusb'])
  /external/libmojo/third_party/catapult/devil/devil/android/
device_utils_devicetest.py 22 from devil.utils import cmd_helper
94 cmd_helper.RunCmd(['rm', host_file_path])
109 cmd_helper.RunCmd(['rm', host_file_path])
120 cmd_helper.RunCmd(['rm', host_file_path])
126 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
143 cmd_helper.RunCmd(['rm', host_file_path2])
154 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
160 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir1])
161 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir2])
185 cmd_helper.RunCmd(['rm', host_file_path2]
    [all...]
device_temp_file.py 14 from devil.utils import cmd_helper
34 self.name_quoted = cmd_helper.SingleQuote(self.name)
  /external/chromium-trace/catapult/devil/bin/
generate_md_docs 15 from devil.utils import cmd_helper
32 status, stdout = cmd_helper.GetCmdStatusAndOutput(
  /external/chromium-trace/catapult/devil/devil/android/
crash_handler_devicetest.py 19 from devil.utils import cmd_helper
38 cmd_helper.SingleQuote(trigger_text),
39 cmd_helper.SingleQuote(trigger_file.name))
device_temp_file.py 16 from devil.utils import cmd_helper
54 self.name_quoted = cmd_helper.SingleQuote(self.name)
100 self.name_quoted = cmd_helper.SingleQuote(self.name)
device_utils_devicetest.py 24 from devil.utils import cmd_helper
95 cmd_helper.RunCmd(['rm', host_file_path])
110 cmd_helper.RunCmd(['rm', host_file_path])
121 cmd_helper.RunCmd(['rm', host_file_path])
127 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
144 cmd_helper.RunCmd(['rm', host_file_path2])
155 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
162 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir1])
163 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir2])
187 cmd_helper.RunCmd(['rm', host_file_path2]
    [all...]
forwarder.py 19 from devil.utils import cmd_helper
150 (exit_code, output) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
152 except cmd_helper.TimeoutError as e:
220 exit_code, output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
222 except cmd_helper.TimeoutError as e:
324 (exit_code, output) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
326 except cmd_helper.TimeoutError as e:
425 (exit_code, output) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
430 (exit_code, output) = cmd_helper.GetCmdStatusAndOutputWithTimeout(
438 except cmd_helper.TimeoutError as e
    [all...]
md5sum.py 11 from devil.utils import cmd_helper
36 out = cmd_helper.GetCmdOutput(

Completed in 177 milliseconds

1 2