| commit | d80e6b6109c52d57ebba675c1f97fcb2ca1d93c5 | [log] [tgz] |
|---|---|---|
| author | Felipe Leme <felipeal@google.com> | Mon Oct 03 13:08:14 2016 -0700 |
| committer | Felipe Leme <felipeal@google.com> | Thu Oct 06 14:38:08 2016 -0700 |
| tree | 4d1e4020bf3f52f2fce4ac51e1b635536f1cf093 | |
| parent | 46848cd27caadc687ac7c1ffd30b76da5c4aa40b [diff] |
Moar Dumpstate refactoring and unit testing:
- Moves UpdateProgress() into Dumpstate object.
- Tests RunCommand.AsRoot().
- Tests RunCommand.DropRoot().
- Test update progress.
BUG: 26379932
BUG: 31807540
Test: mmm -j32 frameworks/native/cmds/dumpstate/ && adb push ${ANDROID_PRODUCT_OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/dumpstate_test/dumpstate_test
Change-Id: I364d097487e090d201eb2e5f08fc794dce555510