Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp519 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function in android::os::dumpstate::DumpstateTest
523 int status = ds.RunCommand(title, full_command, options); in RunCommand()
577 EXPECT_EQ(-1, RunCommand("", {})); in TEST_F()
581 EXPECT_EQ(0, RunCommand("", {kSimpleCommand})); in TEST_F()
587 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand})); in TEST_F()
597 0, RunCommand("", {kSimpleCommand}, in TEST_F()
604 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, in TEST_F()
611 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one"})); in TEST_F()
617 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one", "is", "the", "loniest", "number"})); in TEST_F()
624 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand})); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp140 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function
143 return ds.RunCommand(title, full_command, options, verbose_duration, out_fd); in RunCommand()
997 RunCommand( in DoKernelLogcat()
1008 RunCommand("SYSTEM LOG", in DoSystemLogcat()
1016 RunCommand( in DoRadioLogcat()
1027 RunCommand("SYSTEM LOG", in DoLogcat()
1031 RunCommand( in DoLogcat()
1036 RunCommand( in DoLogcat()
1043 RunCommand("LAST LOGCAT", {"logcat", "-L", "-b", "all", "-v", "threadtime", "-v", "printable", in DoLogcat()
1132 RunCommand("IPTABLES", {"iptables", "-L", "-nvx"}); in DumpIpTablesAsRoot()
[all …]
Ddumpstate.h236 int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand,