android13/frameworks/native/cmds/bugreportz
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
.clang-format initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
AndroidTest.xml initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
bugreportz.cpp initial 2024-06-22 20:45:49 +08:00
bugreportz.h initial 2024-06-22 20:45:49 +08:00
bugreportz_test.cpp initial 2024-06-22 20:45:49 +08:00
main.cpp initial 2024-06-22 20:45:49 +08:00
readme.md initial 2024-06-22 20:45:49 +08:00

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, when bugreportz is invoked with -p, it outputs the following lines:

  • BEGIN:<path_to_bugreport_file> right away.
  • PROGRESS:<progress>/<total> as dumpstate progresses (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.