/external/autotest/server/ |
subcommand_unittest.py | 9 from autotest_lib.server import subcommand namespace 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' [all...] |
subcommand.py | 9 # entry points that use subcommand must set this to their logging manager 18 @param tasklist: A list of subcommand instances to execute. 59 Each element in the arglist used to create a subcommand object, 63 We create a subcommand object for each element in the list, 64 then execute those subcommand objects in parallel. 66 NOTE: As an optimization, if len(arglist) == 1 a subcommand is not used. 69 @param arglist: A list of single arguments to be used one per subcommand; 72 named after each subcommand's arg. 103 subcommands.append(subcommand(function, args, subdir)) 107 class subcommand(object) class in inherits:object [all...] |
site_server_job.py | 9 from autotest_lib.server import subcommand namespace 104 # Create the subcommand instance to run this machine worker. 105 sub_commands.append(subcommand.subcommand(mw.run, 142 subcommand.parallel(sub_commands)
|
/external/autotest/client/site_tests/hardware_TPMCheck/ |
hardware_TPMCheck.py | 31 def __run_tpmc_cmd(subcommand): 34 @param subcommand: String of the tpmc subcommand (getvf, getpf, getp, ...) 37 cmd = 'tpmc %s' % subcommand 41 def check_tpmc(subcommand, expected): 48 @param subcommand: String of the tpmc subcommand (getvf, getpf, getp, ...) 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)) [all...] |
/system/vold/ |
CryptCommandListener.cpp | 128 static bool check_argc(SocketClient *cli, const std::string &subcommand, int argc, 140 auto message = std::string() + "Usage: cryptfs " + subcommand; 180 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing subcommand", false); 186 std::string subcommand(argv[1]); 187 if (subcommand == "checkpw") { 188 if (!check_argc(cli, subcommand, argc, 3, "<passwd>")) return 0; 191 } else if (subcommand == "restart") { 192 if (!check_argc(cli, subcommand, argc, 2, "")) return 0; 198 } else if (subcommand == "cryptocomplete") { 199 if (!check_argc(cli, subcommand, argc, 2, "")) return 0 [all...] |
/external/autotest/server/tests/netperf2/ |
netperf2.py | 1 from autotest_lib.server import autotest, hosts, subcommand, test namespace 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/ |
netpipe.py | 1 from autotest_lib.server import autotest, hosts, subcommand, test namespace 49 server_command = subcommand.subcommand(server_at.run, 52 client_command = subcommand.subcommand(client_at.run, 56 subcommand.parallel([server_command, client_command])
|
/system/extras/simpleperf/ |
cmd_help.cpp | 29 "Usage: simpleperf help [subcommand]\n" 30 " Without subcommand, print short help string for every subcommand.\n" 31 " With subcommand, print long help string for the subcommand.\n\n") { 59 "Usage: simpleperf [common options] subcommand [args_for_subcommand]\n"
|
/external/autotest/server/samples/ |
netperf-guest-to-host-far.srv | 27 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])
|
profilertest.srv | 24 return subcommand(at.run, params, name) 61 tests = [subcommand(server_sleep_test, [20], "server_sleep_test")]
|
parallel_sleeptest.srv | 51 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/tests/ |
test_logging.py | 51 # No arguments for enable, but valid subcommand. 56 # No arguments for disable, but valid subcommand. 61 # No arguments for get, but valid subcommand. 66 # Neither arguments nor subcommand.
|
test_versioning.py | 72 # No arguments for set, but valid subcommand. 77 # No arguments for get, but valid subcommand. 82 # Neither arguments nor subcommand.
|
test_web.py | 68 # No arguments for get, but valid subcommand. 73 # No arguments for set, but valid subcommand. 78 # Neither arguments nor subcommand.
|
test_defacl.py | 182 # No arguments for get, but valid subcommand. 187 # No arguments for set, but valid subcommand. 192 # No arguments for ch, but valid subcommand. 197 # Neither arguments nor subcommand.
|
/external/iptables/iptables/ |
xtables-multi.c | 16 static const struct subcommand multi_subcommands[] = {
|
xshared.h | 69 struct subcommand { struct 84 extern int subcmd_main(int, char **, const struct subcommand *);
|
/external/chromium-trace/catapult/third_party/typ/ |
run | 45 help='Get help on a subcommand.') 46 subp.add_argument(nargs='?', action='store', dest='subcommand', 92 if args.subcommand: 93 main([args.subcommand, '--help'])
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
help.py | 66 will provide help about the "set" subcommand of the "acl" command. 131 if len(self.args) > 1: # We also have a subcommand argument. 145 for subcommand in subcommand_map: 147 '\tgsutil help %s %s' % (arg, subcommand)) 149 ('Subcommand "%s" does not exist for command "%s".\n' 155 if not help_name: # No subcommand or invalid subcommand.
|
lifecycle.py | 184 subcommand = self.args.pop(0) 185 if subcommand == 'get': 187 elif subcommand == 'set': 190 raise CommandException('Invalid subcommand "%s" for the %s command.' % 191 (subcommand, self.command_name))
|
/external/autotest/client/tests/kvm/tests/ |
qemu_img.py | 9 1) Judge what subcommand is going to be tested 10 2) Run subcommand test 45 Subcommand 'qemu-img check' test. 103 Subcommand 'qemu-img create' test. 144 Subcommand 'qemu-img convert' test. 197 Subcommand 'qemu-img info' test. 213 Subcommand 'qemu-img snapshot' test. 245 Subcommand 'qemu-img commit' test. 389 Subcommand 'qemu-img rebase' test 401 " support 'rebase' subcommand") [all...] |
/external/llvm/tools/llvm-cov/ |
llvm-cov.cpp | 24 /// \brief The main entry point for the 'show' subcommand. 27 /// \brief The main entry point for the 'report' subcommand. 30 /// \brief The main entry point for the 'convert-for-testing' subcommand.
|
/prebuilts/go/darwin-x86/doc/ |
cmd.html | 13 The most common way to run these programs is as a subcommand of the go program, 21 using the go <code>tool</code> subcommand, such as <code>go tool vet</code>. 26 the go <code>tool</code> subcommand.
|
/prebuilts/go/linux-x86/doc/ |
cmd.html | 13 The most common way to run these programs is as a subcommand of the go program, 21 using the go <code>tool</code> subcommand, such as <code>go tool vet</code>. 26 the go <code>tool</code> subcommand.
|
/external/autotest/client/tests/kvm/ |
migration_control.srv | 107 dest_command = subcommand(dest_at.run, 110 source_command = subcommand(source_at.run,
|