History log of /frameworks/native/cmds/dumpstate/DumpstateUtil.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
47e9be2d71c5eca9002e289c98e8bbc20dffc073 22-Dec-2016 Felipe Leme <felipeal@google.com> Moved DumpstateUtil.h functions to its own namespace.

Also make it a shared library.

Test: dumpstate_test passes
Test: manual verification

Bug: 26379932

Change-Id: I75dd3ef9fec3ac692a132bdd8c68307c1a1ee602
/frameworks/native/cmds/dumpstate/DumpstateUtil.cpp
61ffcf73d50dbed5b52265e79bb73abf1849324d 28-Oct-2016 Ecco Park <eccopark@google.com> expose the GetPidByName API of dumpstate

Bug: 32248316

This API is used by external dumpstate module
1) add unittest for GetPidByName
2) change the API name to c++ style
3) Test: dumpstate_test pass

Change-Id: I5eb80e0d1f1ef0f09b77ac3affd8a9b41d64f679
Signed-off-by: Ecco Park <eccopark@google.com>
/frameworks/native/cmds/dumpstate/DumpstateUtil.cpp
f029297f673ae06d219bd727a318a48b885db6fd 22-Nov-2016 Felipe Leme <felipeal@google.com> Even moar refactoring...

- Moved DumpstateUtil functions to its own .cpp file.
- Created a DumpstateInternal file.
- Moved properties setting to a PropertiesHelper class.
- Added title to functions that uses a FD.
- Moved Nanotime() out of DurationReporter.
- Restricted number of default CommandOptions constants.

BUG: 31982882
Test: manual verification
Test: dumpstate_test pass

Change-Id: Iab3e61594f6f7298484185f6f302472d31064f7d
/frameworks/native/cmds/dumpstate/DumpstateUtil.cpp