Home
last modified time | relevance | path

Searched refs:subcommand (Results 1 – 25 of 34) sorted by relevance

12

/external/autotest/server/
Dsubcommand_unittest.py9 from autotest_lib.server import subcommand
14 class wrapper(subcommand.subcommand):
35 subcommand.subcommand.fork_hooks = []
36 subcommand.subcommand.join_hooks = []
55 cmd = subcommand.subcommand(func, (2, 3))
59 self.god.stub_function(subcommand.os.path, 'abspath')
60 self.god.stub_function(subcommand.os.path, 'exists')
61 self.god.stub_function(subcommand.os, 'mkdir')
63 subcommand.os.path.abspath.expect_call('dir').and_return('/foo/dir')
64 subcommand.os.path.exists.expect_call('/foo/dir').and_return(False)
[all …]
Dsite_server_job.py9 from autotest_lib.server import subcommand
105 sub_commands.append(subcommand.subcommand(mw.run,
142 subcommand.parallel(sub_commands)
Dbase_utils.py14 from autotest_lib.server import subcommand
135 subcommand.subcommand.register_join_hook(lambda _: __clean_tmp_dirs())
Dserver_job.py20 from autotest_lib.server import test, subcommand, profilers
231 subcommand.logging_manager_object = self.logging
341 subcommand.subcommand.register_fork_hook(on_fork)
342 subcommand.subcommand.register_join_hook(on_join)
572 return subcommand.parallel_simple(wrapper, machines,
Dsubcommand.py103 subcommands.append(subcommand(function, args, subdir))
107 class subcommand(object): class
/external/autotest/client/site_tests/hardware_TPMCheck/
Dhardware_TPMCheck.py31 def __run_tpmc_cmd(subcommand): argument
37 cmd = 'tpmc %s' % subcommand
41 def check_tpmc(subcommand, expected): argument
52 error_msg = 'invalid response to tpmc %s' % subcommand
54 out = __run_tpmc_cmd(subcommand)
58 result_set = utils.set_from_keyval_output(__run_tpmc_cmd(subcommand))
86 for subcommand in ['getvf', 'getpf']:
87 check_tpmc(subcommand, TPMC_EXPECTED[subcommand])
/external/autotest/server/tests/netperf2/
Dnetperf2.py1 from autotest_lib.server import autotest, hosts, subcommand, test
48 server_command = subcommand.subcommand(server_at.run,
51 client_command = subcommand.subcommand(client_at.run,
55 subcommand.parallel([server_command, client_command])
/external/autotest/server/tests/netpipe/
Dnetpipe.py1 from autotest_lib.server import autotest, hosts, subcommand, test
49 server_command = subcommand.subcommand(server_at.run,
52 client_command = subcommand.subcommand(client_at.run,
56 subcommand.parallel([server_command, client_command])
/external/autotest/server/samples/
Dnetperf-guest-to-host-far.srv27 host1_command= subcommand(check_kernel, [remote_host1, "2.6.21.3-3", kernel])
28 host2_command= subcommand(check_kernel, [remote_host2, "2.6.21.3-3", kernel])
57 server_command= subcommand(at.run, [server_control_file, server_results_dir, gserver])
58 client_command= subcommand(at.run, [client_control_file, client_results_dir, remote_host2])
Dprofilertest.srv24 return subcommand(at.run, params, name)
61 tests = [subcommand(server_sleep_test, [20], "server_sleep_test")]
Dparallel_sleeptest.srv51 parallel([subcommand(run_client, [at, machine_name, machine_num, i])
54 parallel([subcommand(main, [machines[i], i], machines[i])
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dlifecycle.py184 subcommand = self.args.pop(0)
185 if subcommand == 'get':
187 elif subcommand == 'set':
191 (subcommand, self.command_name))
Dnotification.py249 subcommand = self.args.pop(0)
251 if subcommand == 'watchbucket':
253 elif subcommand == 'stopchannel':
257 (subcommand, self.command_name))
Dhelp.py145 for subcommand in subcommand_map:
147 '\tgsutil help %s %s' % (arg, subcommand))
/external/iptables/iptables/
Dxshared.h69 struct subcommand { struct
84 extern int subcmd_main(int, char **, const struct subcommand *); argument
Dxtables-multi.c16 static const struct subcommand multi_subcommands[] = {
Dxshared.c183 static mainfunc_t subcmd_get(const char *cmd, const struct subcommand *cb) in subcmd_get()
191 int subcmd_main(int argc, char **argv, const struct subcommand *cb) in subcmd_main()
/external/chromium-trace/catapult/third_party/typ/
Drun92 if args.subcommand:
93 main([args.subcommand, '--help'])
/external/autotest/client/common_lib/
Dbase_packages.py316 from autotest_lib.server import subcommand
334 subcommand.parallel_simple(trim_custom_directories, custom_repos,
477 from autotest_lib.server import subcommand
494 commands.append(subcommand.subcommand(self.upload_pkg_parallel,
498 results = subcommand.parallel(commands, timeout, return_results=True)
/external/autotest/server/hosts/
Dparamiko_host.py6 from autotest_lib.server import subcommand
170 subcommand.subcommand.register_join_hook(join_hook)
/external/autotest/client/tests/kvm/
Dmigration_control.srv107 dest_command = subcommand(dest_at.run,
110 source_command = subcommand(source_at.run,
Dsubtests.cfg.sample74 subcommand = check
82 subcommand = create
89 subcommand = convert
98 subcommand = snapshot
100 subcommand = info
102 subcommand = rebase
261 subcommand = commit
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dcommand_runner.py192 for subcommand, arguments in subcommand_argument_dict.iteritems():
194 subcommand, add_help=False)
/external/autotest/scheduler/
Ddrone_utility.py24 from autotest_lib.server import hosts, subcommand
470 subproc = subcommand.subcommand(function, args)
/external/autotest/client/tests/kvm/tests/
Dqemu_img.py438 subcommand = params.get("subcommand")
439 eval("%s_test(cmd)" % subcommand)

12