You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
.clang-format | 4 months ago | |
Android.bp | 4 months ago | |
AndroidTest.xml | 4 months ago | |
OWNERS | 4 months ago | |
bugreportz.cpp | 4 months ago | |
bugreportz.h | 4 months ago | |
bugreportz_test.cpp | 4 months ago | |
main.cpp | 4 months ago | |
readme.md | 4 months ago |
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>
asdumpstate
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.