Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/android/sdk/
Dgce_adb_wrapper.py56 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))
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper_test.py24 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)
Dcmd_helper.py24 def SingleQuote(s): function
84 parts = (x and SingleQuote(x) for x in value.split(var_value))
155 args = ' '.join(SingleQuote(str(c)) for c in args)
/external/chromium-trace/catapult/devil/devil/android/
Dcrash_handler_devicetest.py38 cmd_helper.SingleQuote(trigger_text),
39 cmd_helper.SingleQuote(trigger_file.name))
Ddevice_temp_file.py54 self.name_quoted = cmd_helper.SingleQuote(self.name)
100 self.name_quoted = cmd_helper.SingleQuote(self.name)
Ddevice_utils.py721 'pm dump %s | grep dataDir=' % cmd_helper.SingleQuote(package))
1143 cmd = ' '.join(cmd_helper.SingleQuote(s) for s in cmd)
1148 cmd = 'cd %s && %s' % (cmd_helper.SingleQuote(cwd), cmd)
1150 cmd = 'run-as %s sh -c %s' % (cmd_helper.SingleQuote(run_as),
1151 cmd_helper.SingleQuote(cmd))
1154 cmd = self._Su('sh -c %s' % cmd_helper.SingleQuote(cmd))
1518 'lsof | grep %s' % cmd_helper.SingleQuote(m.group(1)),
1632 command = _RECURSIVE_DIRECTORY_LIST_SCRIPT % cmd_helper.SingleQuote(path)
1781 quoted_dirs = ' '.join(cmd_helper.SingleQuote(d) for d in dirs)
1941 cmd_helper.SingleQuote(device_path),
[all …]
Ddevice_errors.py57 adb_cmd = ' '.join(cmd_helper.SingleQuote(arg) for arg in self.args)
Ddevice_utils_test.py147 self.file.name_quoted = cmd_helper.SingleQuote(name)
1069 'sh -c %s' % cmd_helper.SingleQuote(expected_cmd_with_run_as))
/external/chromium-trace/catapult/devil/devil/android/tools/
Dvideo_recorder.py79 ' '.join(cmd_helper.SingleQuote(i) for i in cmd), None):