Searched refs:RunCommand (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 513 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function in android::os::dumpstate::DumpstateTest 517 int status = ds.RunCommand(title, full_command, options); in RunCommand() 571 EXPECT_EQ(-1, RunCommand("", {})); in TEST_F() 575 EXPECT_EQ(0, RunCommand("", {kSimpleCommand})); in TEST_F() 581 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand})); in TEST_F() 591 0, RunCommand("", {kSimpleCommand}, in TEST_F() 598 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, in TEST_F() 605 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one"})); in TEST_F() 611 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one", "is", "the", "loniest", "number"})); in TEST_F() 618 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand})); in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 131 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function 134 return ds.RunCommand(title, full_command, options, verbose_duration, out_fd); in RunCommand() 983 RunCommand( in DoKernelLogcat() 994 RunCommand("SYSTEM LOG", in DoSystemLogcat() 1002 RunCommand( in DoRadioLogcat() 1013 RunCommand("SYSTEM LOG", in DoLogcat() 1017 RunCommand( in DoLogcat() 1022 RunCommand( in DoLogcat() 1028 RunCommand("LOG STATISTICS", {"logcat", "-b", "all", "-S"}); in DoLogcat() 1031 RunCommand("LAST LOGCAT", {"logcat", "-L", "-b", "all", "-v", "threadtime", "-v", "printable", in DoLogcat() [all …]
|
D | dumpstate.h | 238 int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand,
|