Home
last modified time | relevance | path

Searched refs:_run (Results 1 – 25 of 47) sorted by relevance

12

/external/autotest/client/common_lib/cros/
Dvirtual_ethernet_pair.py77 self._run = utils.run
80 self._run = host.run
111 status = self._run('iptables -I INPUT -i %s -j ACCEPT' % name,
126 self._run('iptables -D INPUT -i %s -j ACCEPT' % name,
224 self._run('ifconfig %s down' % self._interface_name,
226 self._run('ifconfig %s down' % self._peer_interface_name,
228 self._run('ip link delete %s >/dev/null 2>&1' % self._interface_name,
235 self._run('ip link delete %s >/dev/null 2>&1' %
244 self._run('ip link add name %s '
247 self._run('ip link set %s up' % self._interface_name)
[all …]
Dautoupdater.py349 self._run('rm -f %s' % self.UPDATED_MARKER)
350 self._run('stop ui || true')
351 self._run('stop update-engine || true')
352 self._run('start update-engine')
358 def _run(self, cmd, *args, **kwargs): member in ChromiumOSUpdater
369 return self._run('rootdev %s' % options).stdout.strip()
386 return int(self._run('cgpt show -n -i %d %s %s' % (
449 self._run(' '.join(statefuldev_cmd))
456 return self._run('/postinst %s 2>&1' % part)
480 self._run(can_rollback_cmd)
[all …]
Dprocess_watcher.py35 self._run = utils.run if host is None else host.run
47 self._run('%s%s >/dev/null 2>&1 &' % (prefix, self._command))
/external/autotest/server/site_tests/platform_CrashStateful/
Dplatform_CrashStateful.py29 def _run(self, cmd): member in platform_CrashStateful
52 self._run('mkdir -p %s %s' % (edir, mnt))
53 self._run('mount -t ecryptfs %s %s %s' %
63 self._run('umount %s' % mnt)
64 self._run('rm -R %s' % edir)
65 self._run('rm -R %s' % mnt)
102 self._run('mkdir -p %s' % dir)
103 self._run('echo charlie smith >%s/charlie' % dir)
104 self._run('sync')
117 self._run('rm -fr %s' % dir)
/external/autotest/server/site_tests/platform_SyncCrash/
Dplatform_SyncCrash.py38 def _run(self, cmd): member in platform_SyncCrash
91 self._run('mkdir -p %s %s' % (edir, mnt))
92 self._run('mount -t ecryptfs %s %s %s' %
101 self._run('umount %s' % mnt)
102 self._run('rm -R %s %s' % (edir, mnt))
113 self._run('mkdir -p %s' % dir)
116 self._run('rm -r %s' % dir)
130 self._run('mkdir -p %s' % dir)
134 self._run('rm -r %s' % dir)
/external/python/cpython2/Lib/distutils/tests/
Dtest_check.py15 def _run(self, metadata=None, **options): member in CheckTestCase
31 cmd = self._run()
40 cmd = self._run(metadata)
45 self.assertRaises(DistutilsSetupError, self._run, {}, **{'strict': 1})
48 cmd = self._run(metadata, strict=1)
57 cmd = self._run(metadata)
89 self.assertRaises(DistutilsSetupError, self._run, metadata,
94 cmd = self._run(metadata, strict=1, restructuredtext=1)
130 self.assertRaises(DistutilsSetupError, self._run,
/external/autotest/client/common_lib/cros/network/
Diw_runner.py158 self._run = utils.run
161 self._run = remote_host.run
266 self._run('%s phy %s interface add %s type %s' %
277 self._run('%s dev %s disconnect' % (self._command_iw, interface))
287 result = self._run('%s dev %s link' %
324 result = self._run('%s dev %s link' % (self._command_iw, interface),
355 result = self._run('%s dev %s station dump' %
388 ret = self._run('%s dev %s info' % (self._command_iw, interface))
412 ret = self._run('%s dev %s info' % (self._command_iw, interface))
435 self._run('%s dev %s ibss join %s %d' %
[all …]
Dinterface.py102 self._run = utils.run
104 self._run = host.run
129 result = self._run('ip addr show %s 2> /dev/null' % self._name,
153 exists = lambda path: self._run(
156 read_file = (lambda path: self._run('cat "%s"' % path).stdout.rstrip()
182 module_readlink_result = self._run('readlink "%s"' %
188 kernel_release = self._run('uname -r').stdout.strip()
189 module_path = self._run('find '
219 result = self._run('ip addr show %s 2> /dev/null' % self._name,
276 if self._run('iw dev %s info' % self._name,
[all …]
/external/autotest/client/common_lib/cros/tendo/
Dwebserver_config.py59 self._run = utils.run if host is None else host.run
79 self._run('chown webservd:webservd %s' % path)
84 self._run('stop webservd', ignore_status=True)
95 self._run('start webservd %s' % ' '.join(args))
100 self._run('stop webservd', ignore_status=True)
101 self._run('start webservd')
Dprivet_helper.py38 self._run = utils.run
41 self._run = host.run
109 result = self._run('curl %s' % url, args=args,
116 raw_response = self._run('cat %s' % output_file).stdout
/external/autotest/client/cros/
Dbackchannel.py40 self._run = self.host.run
82 out = self._run(
100 self._run(cmd)
122 self._run('%s teardown %s' % (BACKCHANNEL_SCRIPT, self.interface))
149 result = self._run(
175 return self._run(cmd).stdout.split('\n')[0]
181 result = self._run(command, ignore_status=True)
190 result = self._run('ping -c 1 %s' % dest, ignore_status=True)
Dcros_logging.py182 def _run(self, command, *args, **dargs): member in LogRotationPauser
193 self._is_nested = (self._run(('[ -r %s ]' %
200 self._run('touch ' + CLEANUP_LOGS_PAUSED_FILE)
207 self._run('rm -f ' + CLEANUP_LOGS_PAUSED_FILE)
/external/autotest/client/site_tests/kernel_fs_Punybench/
Dkernel_fs_Punybench.py27 def _run(self, cmd, args): member in kernel_fs_Punybench
115 result = self._run('memcpy', args)
147 result = self._run('memcpy_test', "")
181 result = self._run('threadtree', args)
202 result = self._run('uread', args)
220 result = self._run('ureadrand', args)
240 result = self._run('uwrite', args)
263 result = self._run('uwriterand', args)
285 result = self._run('uwritesync', args)
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py88 def _run(self, call, **dargs): function
122 return retry_util.GenericRetry(handler, max_retry, _run,
125 return retry_util.GenericRetry(handler, max_retry, _run,
161 def _run(self, call, **dargs): function
163 return _run(self, call, **dargs)
/external/autotest/server/cros/
Dtradefed_test.py360 self._run('adb', verbose=True, args=('kill-server',))
383 result = self._run(
392 result = self._run('adb', args=('devices',))
402 result = self._run('adb', args=('shell', 'exit'), ignore_status=True)
431 self._run('adb', verbose=True, args=('keygen', pipes.quote(key_path)))
438 self._run('adb', verbose=True, args=('kill-server',))
462 result = self._run('adb', args=('shell', 'pgrep', '-f',
481 result = self._run(
679 self._run('file', args=('/bin/sh',), verbose=True,
683 self._run('sh', args=('--version',), verbose=True,
[all …]
/external/autotest/client/site_tests/kernel_Bootcache/
Dkernel_Bootcache.py22 def _run(self, cmd, args): member in kernel_Bootcache
40 self._run('bootcachetest', "")
/external/llvm/utils/lit/lit/
DLitTestCase.py17 self._run = run
27 self._run.execute_test(self._test)
/external/skia/infra/bots/assets/
Dasset_utils.py59 self._run(['auth-info'], specify_service_url=False)
67 def _run(self, cmd, specify_service_url=True): member in CIPDStore
86 self._run(cmd + ['--json-output', json_output])
119 self._run([
137 self._run([
145 self._run(['pkg-delete', CIPD_PACKAGE_NAME_TMPL % name])
/external/skia/infra/bots/recipe_modules/flavor/
Dgn_flavor.py9 def _run(self, title, cmd, infra_step=False, **kwargs): member in GNFlavorUtils
132 self._run('gn gen', [gn, 'gen', self.out_dir, '--args=' + gn_args])
133 self._run('ninja', [ninja, '-C', self.out_dir])
182 self._run(name, cmd)
Dgn_android_flavor.py26 def _run(self, title, *cmd, **kwargs): member in GNAndroidFlavorUtils
40 return self._run(title, 'adb', *cmd, **kwargs)
82 self._run('gn gen', gn, 'gen', self.out_dir, '--args=' + gn_args)
83 self._run('ninja', ninja, '-C', self.out_dir)
Dgn_chromecast_flavor.py92 self._run('gn gen', gn, 'gen', self.out_dir, '--args=' + gn_args)
94 self._run('ninja', ninja, '-C', self.out_dir, 'nanobench')
104 return self._run(title, 'adb', *cmd, **kwargs)
Dgn_chromebook_flavor.py58 return self._run(title, ssh_cmd, **kwargs)
141 self._run('gn gen', [gn, 'gen', self.out_dir, '--args=' + gn_args])
142 self._run('ninja', [ninja, '-C', self.out_dir, 'nanobench', 'dm'])
/external/emma/core/java12/com/vladium/emma/
DProcessor.java54 _run (toolProperties); in run()
98 protected abstract void _run (IProperties toolProperties); in _run() method in Processor
/external/autotest/site_utils/
Drpc_logserver.py49 target=LogServer._run,
58 def _run(server_started, port, log_handler): member in LogServer
Dmetadata_reporter.py82 def _run(): function
146 reporting_thread = threading.Thread(target=_run)

12