summaryrefslogtreecommitdiff
path: root/cmds/bugreportz
AgeCommit message (Collapse)Author
2024-03-12Update bugreporting OWNERS Gavin Corkery
Bug: 329273680 Test: N/A Change-Id: I07281aeb549dc235e444f9272f85b2d9edf2de14
2022-09-20Fix typo (zippped -> zipped) Mårten Kongstad
Test: N/A Change-Id: I33c8d35601e56cab1d12db663957795bf15a0a02
2021-05-14Update bugreport OWNERS Gavin Corkery
Test: Builds Bug: 188024968 Change-Id: I0709a20f4a8363ec918d6aebc37e86c359fa5023
2021-02-19Remove ex-OWNERS. Elliott Hughes
We're just causing confusion for people looking for OWNERS review at this point. Test: treehugger Change-Id: I976bfee13b31747c9ccf46b53847894051c4de22
2021-02-15[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: cmds/atrace/Android.bp cmds/bugreport/Android.bp cmds/bugreportz/Android.bp cmds/cmd/Android.bp cmds/dumpstate/Android.bp cmds/dumpsys/Android.bp cmds/dumpsys/tests/Android.bp cmds/flatland/Android.mk cmds/idlcli/Android.bp cmds/installd/Android.bp cmds/installd/tests/Android.bp cmds/ip-up-vpn/Android.mk cmds/lshal/Android.bp cmds/lshal/libprocpartition/Android.bp cmds/rawbu/Android.bp cmds/rss_hwm_reset/Android.bp cmds/service/Android.bp cmds/servicemanager/Android.bp cmds/surfacereplayer/Android.bp cmds/surfacereplayer/replayer/Android.bp libs/adbd_auth/Android.bp libs/android_runtime_lazy/Android.bp libs/arect/Android.bp libs/binder/Android.bp libs/binder/ndk/Android.bp libs/binder/ndk/tests/Android.bp libs/binder/parcel_fuzzer/Android.bp libs/binder/rust/Android.bp libs/binder/rust/tests/Android.bp libs/binder/tests/Android.bp libs/binder/tests/fuzzers/Android.bp libs/binderdebug/Android.bp libs/binderdebug/tests/Android.bp libs/binderthreadstate/1.0/Android.bp libs/binderthreadstate/Android.bp libs/bufferqueueconverter/Android.bp libs/cputimeinstate/Android.bp libs/diskusage/Android.bp libs/dumputils/Android.bp libs/fakeservicemanager/Android.bp libs/gralloc/types/Android.bp libs/gralloc/types/fuzzer/Android.bp libs/gralloc/types/tests/Android.bp libs/graphicsenv/Android.bp libs/gui/Android.bp libs/gui/sysprop/Android.bp libs/gui/tests/Android.bp libs/incidentcompanion/Android.bp libs/input/Android.bp libs/input/tests/Android.bp libs/math/Android.bp libs/math/tests/Android.bp libs/nativebase/Android.bp libs/nativedisplay/Android.bp libs/nativewindow/Android.bp libs/nativewindow/tests/Android.bp libs/renderengine/Android.bp libs/renderengine/tests/Android.bp libs/sensor/Android.bp libs/sensor/tests/Android.bp libs/sensorprivacy/Android.bp libs/ui/Android.bp libs/ui/tests/Android.bp libs/ui/tools/Android.bp libs/vibrator/Android.bp libs/vibrator/fuzzer/Android.bp libs/vr/libpdx/Android.bp libs/vr/libpdx/fuzz/Android.bp libs/vr/libvr_manager/Android.bp opengl/libs/Android.bp opengl/tests/EGLTest/Android.bp opengl/tests/fillrate/Android.bp opengl/tests/finish/Android.bp opengl/tests/gl2_basic/Android.bp opengl/tests/gl2_cameraeye/Android.bp opengl/tests/gl2_copyTexImage/Android.bp opengl/tests/gl2_java/Android.bp opengl/tests/gl2_jni/Android.bp opengl/tests/gl2_yuvtex/Android.bp opengl/tests/gl_jni/Android.bp opengl/tests/gl_perf/Android.bp opengl/tests/gl_perfapp/Android.bp opengl/tests/gl_yuvtex/Android.bp opengl/tests/gldual/Android.bp opengl/tests/gralloc/Android.bp opengl/tests/hwc/Android.bp opengl/tests/lib/Android.bp opengl/tests/lighting1709/Android.bp opengl/tests/linetex/Android.bp opengl/tests/swapinterval/Android.bp opengl/tests/testFramerate/Android.bp opengl/tests/testLatency/Android.bp opengl/tests/testPauseResume/Android.bp opengl/tests/testViewport/Android.bp opengl/tests/textures/Android.bp services/audiomanager/Android.bp services/automotive/display/Android.bp services/batteryservice/Android.bp services/displayservice/Android.bp services/gpuservice/Android.bp services/gpuservice/bpfprogs/Android.bp services/gpuservice/gpumem/Android.bp services/gpuservice/gpustats/Android.bp services/gpuservice/tests/unittests/Android.bp services/gpuservice/tracing/Android.bp services/inputflinger/Android.bp services/inputflinger/benchmarks/Android.bp services/inputflinger/dispatcher/Android.bp services/inputflinger/host/Android.bp services/inputflinger/reader/Android.bp services/inputflinger/reporter/Android.bp services/inputflinger/tests/Android.bp services/inputflinger/tests/fuzzers/Android.bp services/powermanager/Android.bp services/schedulerservice/Android.bp services/sensorservice/Android.bp services/sensorservice/hidl/Android.bp services/sensorservice/tests/Android.bp services/stats/Android.bp services/surfaceflinger/Android.bp services/surfaceflinger/CompositionEngine/Android.bp services/surfaceflinger/TimeStats/Android.bp services/surfaceflinger/TimeStats/timestatsproto/Android.bp services/surfaceflinger/layerproto/Android.bp services/surfaceflinger/sysprop/Android.bp services/surfaceflinger/tests/Android.bp services/surfaceflinger/tests/fakehwc/Android.bp services/surfaceflinger/tests/unittests/Android.bp services/surfaceflinger/tests/vsync/Android.bp services/surfaceflinger/tests/waitforvsync/Android.bp services/utils/Android.bp services/utils/tests/Android.bp services/vr/hardware_composer/Android.bp services/vr/virtual_touchpad/Android.bp vulkan/libvulkan/Android.bp vulkan/nulldrv/Android.bp vulkan/vkjson/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS legacy_notice to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/Android.bp opengl/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: libs/vr/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: headers/Android.bp services/vr/Android.bp vulkan/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS to: cmds/surfacereplayer/proto/Android.bp libs/vr/libbroadcastring/Android.bp libs/vr/libbufferhub/Android.bp libs/vr/libbufferhubqueue/Android.bp libs/vr/libbufferhubqueue/benchmarks/Android.bp libs/vr/libbufferhubqueue/tests/Android.bp libs/vr/libdisplay/Android.bp libs/vr/libdvr/Android.bp libs/vr/libdvr/tests/Android.bp libs/vr/libdvrcommon/Android.bp libs/vr/libpdx_default_transport/Android.bp libs/vr/libpdx_uds/Android.bp libs/vr/libperformance/Android.bp libs/vr/libvrflinger/Android.bp libs/vr/libvrflinger/tests/Android.bp libs/vr/libvrsensor/Android.bp opengl/tests/configdump/Android.bp opengl/tests/filter/Android.bp opengl/tests/gl_basic/Android.bp opengl/tests/tritex/Android.bp services/vr/bufferhubd/Android.bp services/vr/hardware_composer/aidl/Android.bp Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/tests/angeles/Android.bp Added SPDX-license-identifier-MIT to: services/vr/performanced/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ib1de8cd7b87446de45d79db15cd90b93a591846d Merged-in: I61e7702e6b36f218bebc7c87853001861a92741e Merged-in: I9d9d5fb32033c08cfb517f6cfc0ecb4cf1eee2fe Merged-in: I10f45547b1161e3768a134b38bf40d77a3a82f09
2020-11-19Streaming bugreport content to stdout 1/2 Dieter Hsu
Add a -s option to bugreportz to support streaming data. Bug: 162910469 Test: adb bugreport --stream > test.txt Test: adb shell bugreportz -s > test2.txt Test: atest dumpstate_test Test: atest bugreportz_test Change-Id: I33d68bf742c92a7359a925838827a0033ee68658
2020-06-10bugreport/bugreportz: improve help/errors. Elliott Hughes
Fix bugreportz to report the usage error rather than ignore extra arguments. Also fix the synopsis in the usage text to include -p. Update the bugreport warnings to have the correct way to use bugreportz, since we now know it doesn't actually take a filename and instead chooses its own. Bug: http://b/156667896 Bug: http://b/29448020 Test: adb shell bugreport Test: adb shell bugreport --help Test: adb shell bugreportz Test: adb shell bugreportz file.zip Change-Id: I10875067cf49a1d9869a4cb7a4051c309eed6b17
2019-05-09Merge "NFC: Directly initialize the 's' variable." am: 566c24cf55 Stephen Hines
am: eb541541f1 Change-Id: If494f60e1d002b2854ba19fda4cbe51b0515fee9
2019-05-09NFC: Directly initialize the 's' variable. Stephen Hines
As part of enabling -Wconditional-uninitialized, there are some false positives. See https://bugs.llvm.org/show_bug.cgi?id=38856 for more info about the limited flow analysis. To facilitate turning this flag on more widely, we can just directly initialize these variables. Bug: http://b/131390872 Test: Builds with -Wconditional-uninitialized. Change-Id: Id6633a06478dfb0c51a1a3b0cabf4c4e5d57abaa
2018-11-16Merge "Convert bugreportz, cmd and performanced to Android.bp" am: ↵ Dan Willemsen
c435db5daa am: 189f7aa9ed am: c3f5af4e93 Change-Id: I04d3244db2787615b34466ef7b2a108ac7a6d83e
2018-11-16Convert bugreportz, cmd and performanced to Android.bp Dan Willemsen
See build/soong/README.md for more information. Test: m bugreportz cmd performanced Test: atest bugreportz_test Test: atest performance_service_tests (failed in the same way on cf before/after) Change-Id: I643176ec07773ab2efca4b04edc2af82b6395793
2018-09-26Merge "Added OWNERS to moar bugreport-related projects..." am: 43a22f7e97 ↵ Felipe Leme
am: bdf7e0bfc9 am: 34ca82f906 Change-Id: I1d96047d579897ec8945899fd4d6ecc8573b628f
2018-09-26Added OWNERS to moar bugreport-related projects... Felipe Leme
..and hooks to make sure they're developed on AOSP Bug: none Test: none Change-Id: I6d541bc7b5815b187710cbf8838fc6307cf25e7c
2018-08-09bugreportz: don't write last line when it times out. Felipe Leme
Bug: 112102388 Bug: 111720061 Test: m -j bugreportz_test && adb push \ ${OUT}/data/nativetest/bugreportz_test/bugreportz_test /system/bin && \ adb shell /system/bin/bugreportz_test Test: m -j bugreportz && adb push ${OUT}/system/bin/bugreportz /system/bin && \ adb shell setprop dumpstate.dry_run true && adb shell bugreportz -p Change-Id: Ib4219d39070dc6958f83d4a2be34c212a9b1fe2b
2017-03-27Add test config to bugreportz, dumpstate_test_fixture and surfaceFlinger_test Dan Shi
Details about test configs changes are tracked in doc https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit# Bug: 35882476 Test: local test Change-Id: I1a9ebedc1b4286a3489596af60185071bd68de10
2017-03-04Small change for testing. Jeff Sharkey
Bug: 35970955, 35969439, 35968280 Change-Id: I56c6626221b456e13b1371b69e9c980edaddfa91
2016-08-01Added a BEGIN:path message on bugreportz protocol. Felipe Leme
BUG: 30451114 Change-Id: I3607c75b184e71a9a5a6393bdbf68200abe0fc16
2016-07-26Added a -p option to bugreportz to show progress. Felipe Leme
BUG: 28609499 Change-Id: I1e60078dfda7e5679fbd19f4981a5dc7a69c4fc7
2016-07-26Added unit tests to bugreportz. Felipe Leme
BUG: 28609499 Change-Id: I5b846eeeaa7c05c3e3f66f36d31ef42c472a3099
2016-06-08Improved error handling. Felipe Leme
adb bugreport now properly handles stderr. BUG: 29161586 Change-Id: I7a59d1feadda3d160eae6fe447a7a3c7e0843cbb
2016-04-15Added -v option to bugreportz. Felipe Leme
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
2016-04-13Added support for 'bugreport -z'. Felipe Leme
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