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

1 2

  /external/chromium-trace/catapult/devil/devil/utils/
cmd_helper_test.py 6 """Tests for the cmd_helper module."""
11 from devil.utils import cmd_helper namespace
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.py 8 from devil.utils import cmd_helper namespace
19 _, raw_output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
83 _, lsusb_list_output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
93 except cmd_helper.TimeoutError:
99 return cmd_helper.GetCmdOutput(['lsusb'])
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(
  /external/v8/build/android/pylib/utils/
repo_utils.py 5 from devil.utils import cmd_helper namespace
15 output = cmd_helper.GetCmdOutput(command_line, cwd=in_directory)
findbugs.py 9 from devil.utils import cmd_helper namespace
142 _, _, stderr = cmd_helper.GetCmdStatusOutputAndError(cmd)
146 _, raw_out, stderr = cmd_helper.GetCmdStatusOutputAndError(cmd)
  /external/chromium-trace/catapult/devil/devil/android/sdk/
dexdump.py 6 from devil.utils import cmd_helper namespace
30 return cmd_helper.IterCmdOutputLines(args)
aapt.py 8 from devil.utils import cmd_helper namespace
25 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
gce_adb_wrapper.py 19 from devil.utils import cmd_helper namespace
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)
split_select.py 8 from devil.utils import cmd_helper namespace
26 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
fastboot.py 15 from devil.utils import cmd_helper namespace
58 status, output = cmd_helper.GetCmdStatusAndOutput(cmd)
adb_compatibility_devicetest.py 22 from devil.utils import cmd_helper namespace
31 ps_status, ps_output = cmd_helper.GetCmdStatusAndOutput(
71 start_server_status, _ = cmd_helper.GetCmdStatusAndOutput(
88 kill_server_status, _ = cmd_helper.GetCmdStatusAndOutput(
  /external/chromium-trace/catapult/devil/devil/android/
device_utils_devicetest.py 23 from devil.utils import cmd_helper namespace
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 namespace
34 self.name_quoted = cmd_helper.SingleQuote(self.name)
forwarder.py 17 from devil.utils import cmd_helper namespace
99 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
234 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
319 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
322 (exit_code, output) = cmd_helper.GetCmdStatusAndOutput(
decorators.py 14 from devil.utils import cmd_helper namespace
61 except cmd_helper.TimeoutError as e:
device_errors.py 10 from devil.utils import cmd_helper namespace
33 adb_cmd = ' '.join(cmd_helper.SingleQuote(arg) for arg in self.args)
md5sum.py 11 from devil.utils import cmd_helper namespace
36 out = cmd_helper.GetCmdOutput(
  /external/v8/build/android/pylib/junit/
test_runner.py 9 from devil.utils import cmd_helper namespace
42 return_code = cmd_helper.RunCmd(command)
  /external/v8/build/android/buildbot/
bb_utils.py 15 from devil.utils import cmd_helper namespace
28 # TODO: Figure out how to merge this with devil.utils.cmd_helper.OutDirectory().
37 return ' '.join(cmd_helper.SingleQuote(c) for c in command)
  /external/v8/build/android/play_services/
utils.py 19 from devil.utils import cmd_helper namespace
143 return cmd_helper.Call(cmd, cwd=repo_root) == 1
165 if cmd_helper.Call(['git', 'add'] + files_to_commit, cwd=repo_root) != 0:
169 if cmd_helper.Call(['git', 'commit', '-m', message], cwd=repo_root) != 0:
  /external/v8/build/android/
install_emulator_deps.py 20 from devil.utils import cmd_helper namespace
64 exit_code, stdout = cmd_helper.GetCmdStatusAndOutput(
126 return not cmd_helper.RunCmd(['sudo', 'kvm-ok'])
134 rc = cmd_helper.RunCmd(['sudo', 'apt-get', 'install', 'kvm'])
140 rc = cmd_helper.RunCmd(['sudo', 'modprobe', 'kvm-intel'])
164 exit_code, stdout = cmd_helper.GetCmdStatusAndOutput(list_sdk_repo_command)
adb_command_line.py 15 from devil.utils import cmd_helper namespace
70 quoted_args = ' '.join(cmd_helper.SingleQuote(x) for x in remote_args)
generate_emma_html.py 16 from devil.utils import cmd_helper namespace
83 exit_code = cmd_helper.RunCmd(
  /external/chromium-trace/catapult/devil/devil/android/tools/
video_recorder.py 21 from devil.utils import cmd_helper namespace
77 ' '.join(cmd_helper.SingleQuote(i) for i in cmd), None):
  /external/chromium-trace/catapult/systrace/profile_chrome/
atrace_tracing_agent.py 10 from devil.utils import cmd_helper namespace
87 return cmd_helper.GetCmdOutput(cmd)

Completed in 1664 milliseconds

1 2