/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...] |
/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...] |
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)
|
base_utils.py | 14 from autotest_lib.server import subcommand namespace 135 subcommand.subcommand.register_join_hook(lambda _: __clean_tmp_dirs())
|
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...] |
server_job.py | 20 from autotest_lib.server import test, subcommand, profilers namespace 231 subcommand.logging_manager_object = self.logging 332 Register some hooks into the subcommand modules that allow us 341 subcommand.subcommand.register_fork_hook(on_fork) 342 subcommand.subcommand.register_join_hook(on_join) 560 @param machines: A list of machine names to be passed one per subcommand 572 return subcommand.parallel_simple(wrapper, machines, [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])
|
/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 *);
|
xshared.c | 183 static mainfunc_t subcmd_get(const char *cmd, const struct subcommand *cb) 191 int subcmd_main(int argc, char **argv, const struct subcommand *cb) 210 fprintf(stderr, "ERROR: No valid subcommand given.\nValid subcommands:\n");
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
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))
|
notification.py | 249 subcommand = self.args.pop(0) 251 if subcommand == 'watchbucket': 253 elif subcommand == 'stopchannel': 256 raise CommandException('Invalid subcommand "%s" for the %s command.' % 257 (subcommand, self.command_name))
|
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.
|
/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/autotest/server/hosts/ |
paramiko_host.py | 6 from autotest_lib.server import subcommand namespace 170 subcommand.subcommand.register_join_hook(join_hook)
|
/external/autotest/server/site_tests/network_EthCapsServer/ |
network_EthCapsServer.py | 9 from autotest_lib.server import subcommand, test, utils namespace
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
command_runner.py | 192 for subcommand, arguments in subcommand_argument_dict.iteritems(): 194 subcommand, add_help=False)
|
/external/autotest/client/common_lib/ |
base_packages.py | 316 from autotest_lib.server import subcommand namespace 334 subcommand.parallel_simple(trim_custom_directories, custom_repos, 477 from autotest_lib.server import subcommand namespace 494 commands.append(subcommand.subcommand(self.upload_pkg_parallel, 498 results = subcommand.parallel(commands, timeout, return_results=True) [all...] |
/external/autotest/scheduler/ |
drone_utility.py | 24 from autotest_lib.server import hosts, subcommand namespace 470 subproc = subcommand.subcommand(function, args)
|
/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/antlr/antlr-3.4/runtime/Perl5/tools/ |
port.pl | 87 Usage: help [SUBCOMMAND...] 98 Usage: port <subcommand> [options] [args]
|
/external/v8/tools/gyp/test/lib/ |
TestCommon.py | 423 Post-processes running a subcommand, checking for failure
|
/developers/build/prebuilts/androidtv/leanback/gradle/wrapper/ |
gradle-wrapper.jar | |