Searched refs:RunStatus (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 199 enum RunStatus { OK, HELP, INVALID_INPUT, ERROR, USER_CONSENT_DENIED, USER_CONSENT_TIMED_OUT }; enum 305 RunStatus DumpTraces(const char** path); 341 RunStatus Run(int32_t calling_uid, const std::string& calling_package); 343 RunStatus ParseCommandlineAndRun(int argc, char* argv[]); 404 RunStatus Initialize(int argc, char* argv[]); 516 RunStatus RunInternal(int32_t calling_uid, const std::string& calling_package); 518 RunStatus DumpstateDefaultAfterCritical(); 531 RunStatus HandleUserConsentDenied(); 535 RunStatus CopyBugreportIfUserConsented(int32_t calling_uid);
|
D | dumpstate.cpp | 188 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 1156 static Dumpstate::RunStatus RunDumpsysTextByPriority(const std::string& title, int priority, in RunDumpsysTextByPriority() 1189 return Dumpstate::RunStatus::OK; in RunDumpsysTextByPriority() 1202 static Dumpstate::RunStatus RunDumpsysTextNormalPriority(const std::string& title, in RunDumpsysTextNormalPriority() 1217 static Dumpstate::RunStatus RunDumpsysProto(const std::string& title, int priority, in RunDumpsysProto() 1222 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1259 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1263 static Dumpstate::RunStatus RunDumpsysCritical() { in RunDumpsysCritical() 1274 static Dumpstate::RunStatus RunDumpsysHigh() { in RunDumpsysHigh() 1288 static Dumpstate::RunStatus RunDumpsysNormal() { in RunDumpsysNormal() [all …]
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 169 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 171 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 197 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 199 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 223 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 225 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 361 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 363 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 390 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 392 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() [all …]
|