Home
last modified time | relevance | path

Searched refs:sh_escape (Results 1 – 23 of 23) sorted by relevance

/external/autotest/server/
Dbase_utils.py47 return utils.sh_escape("".join(new_name))
161 host.run('gunzip "%s"' % (utils.sh_escape(source_material)))
164 host.run('bunzip2 "%s"' % (utils.sh_escape(source_material)))
170 utils.sh_escape(os.path.dirname(source_material)),
171 utils.sh_escape(source_material),))
Dautotest.py134 host.run('test -x %s' % utils.sh_escape(autotest_binary))
135 host.run('test -w %s' % utils.sh_escape(path))
168 host.run('mkdir -p %s' % utils.sh_escape(path))
169 host.run('test -w %s' % utils.sh_escape(path))
308 abs_path = utils.sh_escape(abs_path)
343 host.run('mkdir -p %s' % utils.sh_escape(autodir))
347 host.run('rm -rf %s/*' % utils.sh_escape(results_path),
430 host.run("rm -rf %s" % utils.sh_escape(autodir), ignore_status=True)
/external/autotest/server/hosts/
Dremote.py55 self.run('rm -rf "%s"' % (utils.sh_escape(dir)))
303 self.run('rm -rf "%s"' % utils.sh_escape(tmpdir), ignore_status=True)
320 base = '*'.join(map(lambda x: '"%s"' % utils.sh_escape(x),
322 path = '"%s' % os.path.join(utils.sh_escape(parent), base[1:])
Dssh_host.py114 '%s' % (stack, utils.sh_escape(command), command))
131 command += ' "%s"' % utils.sh_escape(arg)
132 full_cmd = '%s "%s %s"' % (ssh_cmd, env, utils.sh_escape(command))
Dabstract_ssh.py226 paths = [utils.sh_escape(path) for path in paths]
277 return '%s %s "%s"' % (base_cmd, self.hostname, utils.sh_escape(cmd))
312 result = self.run("ls \"%s\"%s" % (utils.sh_escape(path),
323 return ["\"%s\"%s" % (utils.sh_escape(path), pattern)
434 local_dest = utils.sh_escape(dest)
475 local_dest = utils.sh_escape(dest)
Dservo_host.py317 run_args['command'] = 'sudo -n sh -c "%s"' % utils.sh_escape(
Dadb_host.py440 (utils.sh_escape(command), CMD_OUTPUT_PREFIX))
/external/autotest/client/common_lib/
Drevision_control.py75 self.repodir = utils.sh_escape(repodir)
82 self.gitpath = utils.sh_escape(os.path.join(self.repodir,'.git'))
126 return utils.run(r'%s' % (utils.sh_escape(command)),
Dlogging_config.py38 os.system('logger -t "autotest" "%s"' % utils.sh_escape(s))
Dutils_unittest.py585 escaped_text = utils.sh_escape(text)
Dutils.py1607 def sh_escape(command): function
/external/autotest/client/profilers/ftrace/
Dftrace.py32 arg = '"%s"' % utils.sh_escape(arg)
/external/autotest/client/site_tests/camera_HAL3/
Dcamera_HAL3.py54 'cat "%s"' % utils.sh_escape(self.media_profiles_path)
/external/autotest/server/site_tests/firmware_IntegratedU2F/
Dfirmware_IntegratedU2F.py163 u2ftest_cmd = utils.sh_escape('%s %s' % (self.U2FTEST_PATH, device))
/external/autotest/client/bin/
Dlocal_host.py37 self.run('rm -rf "%s"' % (utils.sh_escape(tmp_dir)),
/external/autotest/client/common_lib/cros/
Dgs_cache_client.py107 cmd = 'ssh %s \'curl "%s"\'' % (self._hostname, utils.sh_escape(url))
Ddev_server.py1031 ssh_call = 'ssh %s \'curl "%s"\'' % (hostname, utils.sh_escape(call))
/external/autotest/server/cros/faft/
Dcr50_test.py658 ccd_open_cmd = utils.sh_escape('gsctool -a -o')
788 set_pwd_cmd = utils.sh_escape(cmd)
/external/autotest/server/cros/
Dtelemetry_runner.py445 rsync_cmd = utils.sh_escape('rsync %s %s %s:%s' %
/external/autotest/site_utils/lxc/
Dcontainer.py328 command = 'bash -c "%s"' % utils.sh_escape(command)
/external/autotest/client/common_lib/hosts/
Dbase_classes.py519 result = self.run('test -e "%s"' % utils.sh_escape(path),
/external/autotest/server/cros/update_engine/
Dupdate_engine_test.py414 utils.sh_escape(file_info_url))
/external/autotest/server/cros/network/
Dwifi_client.py1337 ' "%s"' % utils.sh_escape(message))