Searched refs:RunStatus (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 204 enum RunStatus { OK, HELP, INVALID_INPUT, ERROR, USER_CONSENT_DENIED, USER_CONSENT_TIMED_OUT }; enum 314 RunStatus DumpTraces(const char** path); 355 RunStatus Run(int32_t calling_uid, const std::string& calling_package); 357 RunStatus ParseCommandlineAndRun(int argc, char* argv[]); 428 RunStatus Initialize(int argc, char* argv[]); 546 RunStatus RunInternal(int32_t calling_uid, const std::string& calling_package); 548 RunStatus DumpstateDefaultAfterCritical(); 566 RunStatus HandleUserConsentDenied(); 570 RunStatus CopyBugreportIfUserConsented(int32_t calling_uid);
|
D | dumpstate.cpp | 195 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 1226 static Dumpstate::RunStatus RunDumpsysTextByPriority(const std::string& title, int priority, in RunDumpsysTextByPriority() 1266 return Dumpstate::RunStatus::OK; in RunDumpsysTextByPriority() 1279 static Dumpstate::RunStatus RunDumpsysTextNormalPriority(const std::string& title, in RunDumpsysTextNormalPriority() 1294 static Dumpstate::RunStatus RunDumpsysProto(const std::string& title, int priority, in RunDumpsysProto() 1299 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1336 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1340 static Dumpstate::RunStatus RunDumpsysCritical() { in RunDumpsysCritical() 1351 static Dumpstate::RunStatus RunDumpsysHigh() { in RunDumpsysHigh() 1365 static Dumpstate::RunStatus RunDumpsysNormal() { in RunDumpsysNormal() [all …]
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 176 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 178 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 200 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 202 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 224 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 226 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 343 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 345 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 370 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 372 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() [all …]
|