Searched refs:RunStatus (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 194 enum RunStatus { OK, HELP, INVALID_INPUT, ERROR, USER_CONSENT_DENIED, USER_CONSENT_TIMED_OUT }; enum 312 RunStatus DumpTraces(const char** path); 359 RunStatus Run(int32_t calling_uid, const std::string& calling_package); 366 RunStatus Retrieve(int32_t calling_uid, const std::string& calling_package, 371 RunStatus ParseCommandlineAndRun(int argc, char* argv[]); 446 RunStatus Initialize(int argc, char* argv[]); 567 RunStatus RunInternal(int32_t calling_uid, const std::string& calling_package); 568 RunStatus RetrieveInternal(int32_t calling_uid, const std::string& calling_package, 572 RunStatus DumpstateDefaultAfterCritical(); 573 RunStatus dumpstate(); [all …]
|
D | dumpstate.cpp | 213 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 1259 static Dumpstate::RunStatus RunDumpsysTextByPriority(const std::string& title, int priority, in RunDumpsysTextByPriority() 1311 return Dumpstate::RunStatus::OK; in RunDumpsysTextByPriority() 1324 static Dumpstate::RunStatus RunDumpsysTextNormalPriority(const std::string& title, in RunDumpsysTextNormalPriority() 1339 static Dumpstate::RunStatus RunDumpsysProto(const std::string& title, int priority, in RunDumpsysProto() 1377 return Dumpstate::RunStatus::OK; in RunDumpsysProto() 1381 static Dumpstate::RunStatus RunDumpsysCritical() { in RunDumpsysCritical() 1392 static Dumpstate::RunStatus RunDumpsysHigh() { in RunDumpsysHigh() 1406 static Dumpstate::RunStatus RunDumpsysNormal() { in RunDumpsysNormal() 1654 Dumpstate::RunStatus Dumpstate::dumpstate() { in dumpstate() [all …]
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 180 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 182 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 203 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 205 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 226 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 228 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 339 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 341 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 365 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 367 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() [all …]
|