Lines Matching refs:runCmd
55 int NatController::runCmd(int argc, const char **argv) {
64 * HACK: Sometimes runCmd() is called with a ridcously large value (32)
73 ALOGV("runCmd(%s) res=%d", full_cmd.c_str(), res);
105 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) &&
119 * - the 1st argc of runCmd() will just be the max for the CommandsAndArgs[].cmd, and
128 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) &&
167 if (runCmd(ARRAY_SIZE(cmd), cmd)) {
192 runCmd(ARRAY_SIZE(cmd1), cmd1);
200 runCmd(ARRAY_SIZE(cmd2), cmd2);
252 if (runCmd(ARRAY_SIZE(cmd2b), cmd2b) && add) {
277 if (runCmd(ARRAY_SIZE(cmd3b), cmd3b) && add) {
305 if (runCmd(ARRAY_SIZE(cmd1), cmd1) && add) {
337 if (runCmd(ARRAY_SIZE(cmd2), cmd2) && add) {
343 if (runCmd(ARRAY_SIZE(cmd3), cmd3) && add) {
358 runCmd(ARRAY_SIZE(cmd2), cmd2);
361 runCmd(ARRAY_SIZE(cmd1), cmd1);