commit | 979388ef5d5876a63679ee04da9ded996817f04f | [log] [tgz] |
---|---|---|
author | Nandana Dutt <nandana@google.com> | Fri Nov 30 16:48:55 2018 +0000 |
committer | Nandana Dutt <nandana@google.com> | Thu Dec 06 10:05:03 2018 +0000 |
tree | 84eac8db441c623a69079c0d92036f08471aa6ea | |
parent | d1842c438698e12ebb214b64476a793cf5da8a04 [diff] |
Accept a file descriptor to write bugreport file This will be used via the bugreporting api. Changed dumpstate to do bugreport generation in its own directory in the beginning and to copy over to the destination fd or directory at the very end. BUG: 111441001 Test: adb bugreport Test: adb shell /data/nativetest64/dumpstate_test/dumpstate_test Test: interactive bugreport Change-Id: I83e24f0989a202e84266b6e0fdf8edc14ea639bf