tree: 5a7746a71608384e53f945ff7b061619d0872efc [path history] [tgz]
  1. .clang-format
  2. Android.mk
  3. bugreportz.cpp
  4. bugreportz.h
  5. bugreportz_test.cpp
  6. main.cpp
  7. readme.md
cmds/bugreportz/readme.md

bugreportz protocol

bugreportz is used to generate a zippped bugreport whose path is passed back to adb, using the simple protocol defined below.

Version 1.1

On version 1.1, in addition to the OK and FAILURE lines, bugreportz -p generates progress lines in the following format:

  • PROGRESS:<progress>/<total>, where <progress> is the current progress units out of a max of <total>.

Version 1.0

On version 1.0, bugreportz does not generate any output on stdout until the bugreport is finished, when it then prints one line with the result:

  • OK:<path_to_bugreport_file> in case of success.
  • FAIL:<error message> in case of failure.