Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp593 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function in android::os::dumpstate::DumpstateTest
597 int status = ds.RunCommand(title, full_command, options); in RunCommand()
648 EXPECT_EQ(-1, RunCommand("", {})); in TEST_F()
652 EXPECT_EQ(0, RunCommand("", {kSimpleCommand})); in TEST_F()
658 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand})); in TEST_F()
668 0, RunCommand("", {kSimpleCommand}, in TEST_F()
675 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, in TEST_F()
682 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one"})); in TEST_F()
688 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one", "is", "the", "loniest", "number"})); in TEST_F()
695 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand})); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp120 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function
123 return ds.RunCommand(title, full_command, options, verbose_duration); in RunCommand()
883 RunCommand( in DoKernelLogcat()
894 RunCommand("SYSTEM LOG", in DoSystemLogcat()
902 RunCommand( in DoRadioLogcat()
913 RunCommand("SYSTEM LOG", in DoLogcat()
917 RunCommand( in DoLogcat()
922 RunCommand( in DoLogcat()
928 RunCommand("LOG STATISTICS", {"logcat", "-b", "all", "-S"}); in DoLogcat()
931 RunCommand("LAST LOGCAT", {"logcat", "-L", "-b", "all", "-v", "threadtime", "-v", "printable", in DoLogcat()
[all …]
Ddumpstate.h227 int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand,