Home
last modified time | relevance | path

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

/system/vold/
DCryptCommandListener.cpp128 static bool check_argc(SocketClient *cli, const std::string &subcommand, int argc, in check_argc() argument
140 auto message = std::string() + "Usage: cryptfs " + subcommand; in check_argc()
186 std::string subcommand(argv[1]); in runCommand() local
187 if (subcommand == "checkpw") { in runCommand()
188 if (!check_argc(cli, subcommand, argc, 3, "<passwd>")) return 0; in runCommand()
191 } else if (subcommand == "restart") { in runCommand()
192 if (!check_argc(cli, subcommand, argc, 2, "")) return 0; in runCommand()
198 } else if (subcommand == "cryptocomplete") { in runCommand()
199 if (!check_argc(cli, subcommand, argc, 2, "")) return 0; in runCommand()
202 } else if (subcommand == "enablecrypto") { in runCommand()
[all …]