Searched defs:dumpstate (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.h24 namespace dumpstate { namespace in namespace:android::os
142 * Useful when debugging dumpstate or other bugreport-related activities.
144 * Dry-run mode is enabled by setting the system property `dumpstate.dry_run` to true.
182 } // namespace dumpstate
H A DDumpstateUtil.cpp17 #define LOG_TAG "dumpstate"
39 namespace dumpstate { namespace in namespace:android::os
173 dry_run_ = android::base::GetBoolProperty("dumpstate.dry_run", false) ? 1 : 0;
290 /* make sure the child dies when dumpstate dies */
301 // if it failed, it's safer to exit dumpstate.
382 } // namespace dumpstate
H A Ddumpstate.h40 // TODO: and then remove explicitly android::os::dumpstate:: prefixes
43 namespace dumpstate { namespace in namespace:android::os
48 } // namespace dumpstate
82 * Each `dumpstate` section contributes to the total weight by an individual weight, so the overall
86 * it's adjusted after each dumpstate run by storing the average duration in a file.
90 friend class android::os::dumpstate::ProgressTest;
91 friend class android::os::dumpstate::DumpstateTest;
162 * that are spread accross utils.cpp and dumpstate.cpp will be moved to it.
168 static android::os::dumpstate::CommandOptions DEFAULT_DUMPSYS;
172 /* Checkes whether dumpstate i
[all...]
H A Ddumpstate.cpp17 #define LOG_TAG "dumpstate"
44 #include <android/hardware/dumpstate/1.0/IDumpstateDevice.h>
53 #include "dumpstate.h"
55 using ::android::hardware::dumpstate::V1_0::IDumpstateDevice;
58 using android::os::dumpstate::CommandOptions;
59 using android::os::dumpstate::DumpFileToFd;
60 using android::os::dumpstate::PropertiesHelper;
61 using android::os::dumpstate::GetPidByName;
67 // TODO: variables and functions below should be part of dumpstate object
113 // Must be hardcoded because dumpstate HA
944 static void dumpstate() { function
[all...]
/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_test.cpp17 #define LOG_TAG "dumpstate"
23 #include "dumpstate.h"
42 namespace dumpstate { namespace in namespace:android::os
499 EXPECT_THAT(out, StrEq("I AM LINE1\n")); // dumpstate adds missing newline
549 EXPECT_THAT(out, StrEq("I AM LINE1\n")); // dumpstate adds missing newline
1099 EXPECT_THAT(out, StrEq("I AM LINE1\n")); // dumpstate adds missing newline
1155 } // namespace dumpstate

Completed in 117 milliseconds