Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/android/sdk/
Dgce_adb_wrapper.py44 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(remote))
51 cmd_helper.SingleQuote(os.path.join(remote, f)))
55 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
57 self.Shell('chmod 777 %s' % cmd_helper.SingleQuote(remote))
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper_test.py18 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)
Dcmd_helper.py26 def SingleQuote(s): function
86 parts = (x and SingleQuote(x) for x in value.split(var_value))
148 args = ' '.join(SingleQuote(c) for c in args)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py470 'pm dump %s | grep dataDir=' % cmd_helper.SingleQuote(package))
820 cmd = ' '.join(cmd_helper.SingleQuote(s) for s in cmd)
825 cmd = 'cd %s && %s' % (cmd_helper.SingleQuote(cwd), cmd)
828 cmd = self._Su('sh -c %s' % cmd_helper.SingleQuote(cmd))
1348 quoted_dirs = ' '.join(cmd_helper.SingleQuote(d) for d in dirs)
1396 condition = ' -a '.join('-e %s' % cmd_helper.SingleQuote(p) for p in paths)
1488 cmd_helper.SingleQuote(device_path),
1489 cmd_helper.SingleQuote(device_temp.name))
1526 cmd = 'echo -n %s > %s' % (cmd_helper.SingleQuote(contents),
1527 cmd_helper.SingleQuote(device_path))
[all …]
Ddevice_temp_file.py34 self.name_quoted = cmd_helper.SingleQuote(self.name)
Ddevice_errors.py32 adb_cmd = ' '.join(cmd_helper.SingleQuote(arg) for arg in self.args)
Ddevice_utils_test.py113 self.file.name_quoted = cmd_helper.SingleQuote(name)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dvideo_recorder.py77 ' '.join(cmd_helper.SingleQuote(i) for i in cmd), None):