History log of /frameworks/native/cmds/bugreportz/bugreportz.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aabfcae816485b39b244ba372c5b2678d2af03be 29-Jul-2016 Felipe Leme <felipeal@google.com> Added a BEGIN:path message on bugreportz protocol.

BUG: 30451114
Change-Id: I3607c75b184e71a9a5a6393bdbf68200abe0fc16
/frameworks/native/cmds/bugreportz/bugreportz.cpp
02b7e00c1e1b0bf22997ab7ed913a9451e5b6b8a 22-Jul-2016 Felipe Leme <felipeal@google.com> Added a -p option to bugreportz to show progress.

BUG: 28609499

Change-Id: I1e60078dfda7e5679fbd19f4981a5dc7a69c4fc7
/frameworks/native/cmds/bugreportz/bugreportz.cpp
59f5af0465dcbf275a3653ac23885d12ee7e395d 22-Jul-2016 Felipe Leme <felipeal@google.com> Added unit tests to bugreportz.

BUG: 28609499

Change-Id: I5b846eeeaa7c05c3e3f66f36d31ef42c472a3099
/frameworks/native/cmds/bugreportz/bugreportz.cpp
1634d841af26421a76ef4c723095786da6d350a4 08-Jun-2016 Felipe Leme <felipeal@google.com> Improved error handling.

adb bugreport now properly handles stderr.

BUG: 29161586
Change-Id: I7a59d1feadda3d160eae6fe447a7a3c7e0843cbb
/frameworks/native/cmds/bugreportz/bugreportz.cpp
ceeb64281d012cfac99827adbcdb5800b2ce0542 15-Apr-2016 Felipe Leme <felipeal@google.com> Added -v option to bugreportz.

Calling 'bugreportz -v' will print its version, which will make it
easier for 'adb' to support multiple versions in the future (for
example, next version could display the bugreport progress rather than
wait until it is finished).

BUG: 27653204
Change-Id: I1bbb35a66cfc79ca534ae9eb7c2a53540755d653
/frameworks/native/cmds/bugreportz/bugreportz.cpp
2628e9e939fda323fa44c5cb743f4a77b12a312a 13-Apr-2016 Felipe Leme <felipeal@google.com> Added support for 'bugreport -z'.

Dumpstate now supports zipped bugreport, whose output is more complete
than the flat-file bugreports provided prior to N.

The whole workflow is split in different components:

- adb supports a 'bugreport -z <ZIP_FILE>' option, which calls a
bugreportz binary.
- bugreportz starts the dumpstatez service.
- dumpstatez starts dumpstate with some flags that opens a socket for
control (not output).
- Once dumpstate is finished, it prints the bugreport location to
stdout.
- adb pulls the zip file and renames according to the command-line
argument.
- bugreport prints a deprecation message.

The reason for a new binary (bugreportz) instead of passing arguments to
bugreport (like -z) is backward compatibility: pre-N versions of
bugreport would ignore such argument and generate a text bugreport,
which is not what adb would be expecting.

BUG: 27653204

Change-Id: I47f6f677eba11d5fb54818ae5a0b3cab069776ee
/frameworks/native/cmds/bugreportz/bugreportz.cpp