Searched refs:RunStatus (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 198 enum RunStatus { OK, HELP, INVALID_INPUT, ERROR, USER_CONSENT_DENIED, USER_CONSENT_TIMED_OUT }; enum 301 RunStatus DumpTraces(const char** path); 332 RunStatus Run(int32_t calling_uid, const std::string& calling_package); 334 RunStatus ParseCommandlineAndRun(int argc, char* argv[]); 379 RunStatus Initialize(int argc, char* argv[]); 486 RunStatus RunInternal(int32_t calling_uid, const std::string& calling_package); 494 RunStatus HandleUserConsentDenied(); 497 RunStatus CopyBugreportIfUserConsented();
|
D | dumpstate.cpp | 182 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 1086 static Dumpstate::RunStatus RunDumpsysTextByPriority(const std::string& title, int priority, in RunDumpsysTextByPriority() 1119 return Dumpstate::RunStatus::OK; in RunDumpsysTextByPriority() 1132 static Dumpstate::RunStatus RunDumpsysTextNormalPriority(const std::string& title, in RunDumpsysTextNormalPriority() 1147 static Dumpstate::RunStatus RunDumpsysProto(const std::string& title, int priority, in RunDumpsysProto() 1152 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1189 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1193 static Dumpstate::RunStatus RunDumpsysCritical() { in RunDumpsysCritical() 1204 static Dumpstate::RunStatus RunDumpsysHigh() { in RunDumpsysHigh() 1218 static Dumpstate::RunStatus RunDumpsysNormal() { in RunDumpsysNormal() [all …]
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 164 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 166 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 190 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 192 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 215 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 217 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 244 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 246 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 275 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 277 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() [all …]
|