summaryrefslogtreecommitdiff
path: root/libs/dumputils
AgeCommit message (Collapse)Author
2025-03-20Revert "Include stack traces from keystore2 in bugreports on debuggable builds" Todd Frederick
This reverts commit e846316a9f4e4cf35064267362e6d626e94d6a74. Dumping keystore is not allowed due to an SELinux neverallow rule most recently added in aosp/3311665. Bug: 376065666 Test: Check for denial after taking a bug report Flag: EXEMPT bugfix Change-Id: I0e6a2ff1578602f7616c12e8fc9253dddaa67779
2025-03-03dumputils: correct typo for AIDL fingerprint HAL chenkris
Bug: 400332885 Flag: EXEMPT bugfix Test: adb shell dumpsys -l | grep -iE "fingerprint" Test: adb bugreport, contains dumps like: ----- pid 1758 at 2025-03-03 14:58:06.698207518+0800 ----- Cmd line: /vendor/bin/hw/android.hardware.biometrics.fingerprint-service ABI: 'arm64' "android.hardwar" sysTid=1758 #00 pc 00000000000caa88 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8) (BuildId: 825df7d51c665a22c691f12eb7bdf4f6) #01 pc 000000000006b11c /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156) (BuildId: 825df7d51c665a22c691f12eb7bdf4f6) #02 pc 000000000005016c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+220) (BuildId: 1c3f90f0cb4d3d019554e47ae354a9a0) #03 pc 00000000000567c8 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+152) (BuildId: 1c3f90f0cb4d3d019554e47ae354a9a0) #04 pc 0000000000017990 /vendor/bin/hw/android.hardware.biometrics.fingerprint-service (main+640) (BuildId: 36d9232d0aeaee0e73e76dd3a6730711) #05 pc 0000000000057d28 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+120) (BuildId: 825df7d51c665a22c691f12eb7bdf4f6) ----- end 1758 ----- Change-Id: I30c6650155b3a75e578dcfcedf6bdd63a81f154a
2024-06-28libdumputils: avoid set<const T> Ryan Prichard
A container of const T uses std::allocator<const T>, which was an undocumented libc++ extension that has been removed. See https://github.com/llvm/llvm-project/pull/96319. Bug: 349681543 Test: m libdumputils Change-Id: Ie673d1f16ebe25050e4f04a2fce797cb6a98f2d9
2024-01-12native: Dump AIDL Audio services during bugreport Jaideep Sharma
Add audio aidl interfaces to desired list of interfaces to dump during a bugreport. Bug: 319759668 Test: compile and capture bugreport Change-Id: Ied1f53ffcb275f6157584da5efb8c8812cd64537
2023-04-19Merge "Add automovive interfaces to the list of interfaces to dump." into ↵ Treehugger Robot
udc-dev
2023-04-07Skip dumping backtraces for cached processes Kevin Jeon
This change updates dumpstate to skip dumping backtraces for cached processes. These processes are less likely to be causing bugreport-necessitating issues, and if they are frozen, will cause backtrace dumps to time out anyways. This results in a ~50% decrease (21.327s -> 10.568s) in the time taken to run DUMP TRACES. Test: On a local device, check with bugreportz that there are no more timed-out backtrace dumps (i.e. that the "Dump failed, likely due to a timeout" failure no longer occurs). Test: Run health/bugreport/capturebugreport on an internal build and verify that the DUMP TRACES section is much shorter. Bug: 276451949 Change-Id: Iecb6c2168a0dccefecf3b92be24c647eaf729556
2023-04-04Add automovive interfaces to the list of interfaces to dump. Lakshman Annadorai
Test: m Bug: 261767596 Change-Id: I6396a2679017b20035af1f4d9adb9c201825e186
2022-10-17Update IsZygote to return true for webview_zygote Kevin Jeon
This change adds "webview_zygote" to the list of processes that the IsZygote() function will return true for. This is intended to reduce the time spent during the "DUMP TRACES" section of dumpstate, which has been seen to always time out on the WebViewZygoteInit process. Over two trials of health/bugreport/capturebugreport on bluejay, this was seen to have reduced the duration of "DUMP TRACES" by 7.474s (-35.95%) and the duration of the entire bug report by 6.939s (-8.32%). Test: Build and flash; verify that health/bugreport/capturebugreport demonstrates that 1) the WebViewZygoteInit process is no longer captured by libdebuggerd_client 2) the duration of the dump traces section is shorter Bug: 253670403 Change-Id: Ib1ea2f16c7df97181e98d0723d5ed25415f2d48f
2022-07-01Dump IInputProcessor when dump is called Siarhei Vishniakou
We need to dump this process because it may become unresponsive. Currently, it's missing from the dumps. After this change, I'm finding the following data inside bugreport: ----- Waiting Channels: pid 1794 at 2022-07-01 21:08:01.751449995+0000 ----- Cmd line: /vendor/bin/hw/android.hardware.input.processor-service sysTid=1794 binder_wait_for_work sysTid=1804 futex_wait_queue_me ----- end 1794 ----- Bug: 237347585 Bug: 237322365 Test: adb bugreport Change-Id: Id5a1a2cba2131e58a4eadd4492f9d1c82de4d746 Merged-In: Id5a1a2cba2131e58a4eadd4492f9d1c82de4d746 (cherry picked from commit a32c371fa7caaa8744b98778f7a39524c49d33dd)
2022-06-25dumputils: AIDL HALs at parity Steven Moreland
Dump AIDL HALs for the HALs we dump in HIDL. Fixes: 234057757 Test: adb bugreport, contains dumps like: ----- pid 432 at 2022-06-25 01:00:05.745196636+0000 ----- Cmd line: /vendor/bin/hw/android.hardware.health-service.cuttlefish ABI: 'x86_64' "android.hardwar" sysTid=432 #00 pc 00000000000b5afa /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+10) (BuildId: 37c263a5647862c4a2c8dd4aad2295eb) #01 pc 0000000000013b25 /vendor/bin/hw/android.hardware.health-service.cuttlefish (android::hardware::health::HealthLoop::MainLoop()+229) (BuildId: 86d45bd90b4293d5a3fe483e86b985b0) #02 pc 0000000000013c7f /vendor/bin/hw/android.hardware.health-service.cuttlefish (android::hardware::health::HealthLoop::StartLoop()+47) (BuildId: 86d45bd90b4293d5a3fe483e86b985b0) #03 pc 0000000000008496 /vendor/bin/hw/android.hardware.health-service.cuttlefish (main+374) (BuildId: 86d45bd90b4293d5a3fe483e86b985b0) #04 pc 0000000000050816 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+86) (BuildId: 37c263a5647862c4a2c8dd4aad2295eb) ----- end 432 ----- ----- Waiting Channels: pid 432 at 2022-06-25 01:00:05.730884116+0000 ----- Cmd line: /vendor/bin/hw/android.hardware.health-service.cuttlefish Change-Id: I2fafeccebcfaf1dffb1ea2c6b66f6e6226e22442
2022-06-16Add AIDL HAL stack traces to bug-reports Jayant Chowdhary
Bug: 233130219 Test: adb bugreport; check that camera provider has stack traces in VM traces Ignore-AOSP-First: I will cherry-pick after the topic is submitted. Merged-In: I1e087600ac764191a91eb9b1f11e51f21bce19e3 Change-Id: I1e087600ac764191a91eb9b1f11e51f21bce19e3 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit ddd3da0d8f092a24d2a8a9a1e211d60292b7da35)
2021-05-05Merge "Include stack traces from keystore2 in bugreports on debuggable ↵ Treehugger Robot
builds" am: db904dd32c am: 92e674bbe8 am: 62c884e07e Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1696845 Change-Id: I22fe65943c2716437816ef3e5ca7e54e2e7bb9e8
2021-05-04Include stack traces from keystore2 in bugreports on debuggable builds Eric Biggers
This is needed to debug hangs in keystore2. Bug: 186879912 Test: 'adb bugreport', then find the stack traces for keystore2 in the "VM TRACES JUST NOW" section of the main bugreport file. Change-Id: I76b591efa6a66173babe2784fdb5f472ceb840f1
2021-02-25[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/proto/Android.bp cmds/surfacereplayer/replayer/Android.bp data/etc/Android.bp libs/adbd_auth/Android.bp libs/android_runtime_lazy/Android.bp libs/arect/Android.bp libs/attestation/Android.bp libs/attestation/tests/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/ftl/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/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/Android.bp libs/vr/libpdx/fuzz/Android.bp libs/vr/libpdx_default_transport/Android.bp libs/vr/libpdx_uds/Android.bp libs/vr/libperformance/Android.bp libs/vr/libvr_manager/Android.bp libs/vr/libvrflinger/Android.bp libs/vr/libvrflinger/tests/Android.bp libs/vr/libvrsensor/Android.bp opengl/libs/Android.bp opengl/tests/EGLTest/Android.bp opengl/tests/configdump/Android.bp opengl/tests/fillrate/Android.bp opengl/tests/filter/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_basic/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 opengl/tests/tritex/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/powermanager/Android.bp services/powermanager/benchmarks/Android.bp services/powermanager/tests/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/FrameTimeline/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/vibratorservice/Android.bp services/vibratorservice/benchmarks/Android.bp services/vibratorservice/test/Android.bp services/vr/bufferhubd/Android.bp services/vr/hardware_composer/Android.bp services/vr/hardware_composer/aidl/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-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: Icd397e38ca313ae4886bd92afa927d4633a75c4f
2021-02-25Revert "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native" Bob Badour
This reverts commit f84491a4874f20653104f47622d7215521310526. This reverts commit 2e6718529b3f3b55d310db6738e71255e9b74dee. Change-Id: I1a9655335b856d6909b27929e00c0bde3186d893
2021-02-17[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: Ib1de8cd7b87446de45d79db15cd90b93a591846d
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
2021-02-02Merge "Remove audio HAL V2 from "interfaces to dump"" am: bcb89efed8 am: ↵ Mikhail Naganov
b62e56e46a am: efb1b2a34b Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1565116 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I67412b42bdb2df99bbf15d64c1dbee43328531fa
2021-01-30Remove audio HAL V2 from "interfaces to dump" Mikhail Naganov
This version is deprecated, not supported in Android S. Bug: 171260360 Test: m Change-Id: Ida070506f296c676f663c89778b295691c562cac
2020-11-20Add Audio HAL V7 Mikhail Naganov
Automatic modifications made by copyHAL.sh script. Bug: 142480271 Test: m Change-Id: I7859d24e7dfa4a479fdfcfe3a63e7346d8a34a3c Merged-In: I7859d24e7dfa4a479fdfcfe3a63e7346d8a34a3c
2020-10-15Add media.transcoding to native stack dump list Chong Zhang
bug: 170975812 Change-Id: I5d27abd352a418ee7d15cb4f9c86a3813ea27ba6
2020-08-07Add Audio HAL V7 Mikhail Naganov
Automatic modifications made by copyHAL.sh script. Bug: 142480271 Test: m Change-Id: I7859d24e7dfa4a479fdfcfe3a63e7346d8a34a3c
2020-06-24Change string array emptiness test Eric Jeong
Bug: 147488815 Test: Run dumpstate and check if HALs specified at "ro.dump.hals.extra" property are included. Change-Id: I57b2f2b28db08597eb384ff1d94db48d6f6c94cb
2020-03-31Adding audiocontrol@2.0 to hal interfaces to dump Hayden Gomes
Bug: 148098383 Test: adb bugreport | grep audiocontrol Change-Id: I28610c75cdc8699f884dd9f330776bd477458229 Merged-In: I28610c75cdc8699f884dd9f330776bd477458229 (cherry picked from commit b11a1b792f130389d55cb11a5a3e0089882d49b8)
2020-03-27Adding audiocontrol@2.0 to hal interfaces to dump Hayden Gomes
Bug: 148098383 Test: adb bugreport | grep audiocontrol Change-Id: I28610c75cdc8699f884dd9f330776bd477458229 (cherry picked from commit a00006c646f39bf11efc306b5f29056415bbd5bf)
2020-03-24Merge "Sort hal_interfaces_to_dump alphabetically." am: 08768df307 am: ↵ Treehugger Robot
6389abe391 Change-Id: Ie8391ad9b15b951aa66edff1b2c45eb63b4d5de3
2020-03-23Sort hal_interfaces_to_dump alphabetically. Stefano Galarraga
Test: just regression testing Change-Id: Id640f20b788012f78de8fea678499629585e26b0
2020-03-13Merge "Add neuralnetworks HAL Dump" am: 78bdd44a04 am: a547c4928a Automerger Merge Worker
Change-Id: I216461752ebcf625d9921471ce868bc6ca28b70c
2020-03-12Add neuralnetworks HAL Dump Stefano Galarraga
Bug: 145388549 Test: Manually, take bugreport and look for lines with "neuralnetworks@" sysTid" Change-Id: If9fe80bcf0ff8235da87418666d2a63c496ba4ba
2020-03-03dumpstate: add fingerprint HAL dump Kris Chen
Bug: 150008549 Test: adb bugreport Change-Id: I9b256c72a2a0906486560e7cf361403c98b2c0b0
2020-02-20Revert^2 "Update statsd binary path for apex" Howard Ro
3be1c493d03ca1b091b191da83777a5e16e909c8 Change-Id: If487f503cc5f0d04d9ea0b9a37fa8d17c997cf48
2020-02-20Revert "Update statsd binary path for apex" Howard Ro
Revert submission 10356003-statsd_apex Reason for revert: https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=build_test&lkgb=6221366&fkbb=6221428 Reverted Changes: Ic84e77269:Update init.rc for statsd setup I6f3fab4b4:Update statsd binary path for apex Ib4ea98aed:Migrate Statsd to the apex Change-Id: If6ce6de80710be4c4e02f2875cac17303fefbd16
2020-02-18Update statsd binary path for apex Jeffrey Huang
Bug: 145923087 Test: m -j Change-Id: I6f3fab4b46de03de637f555b010ae709cca6593e
2020-01-27Merge "dumpstate: add dumptrace for audio HAL V6.0" Mikhail Naganov
am: 873f1e24e4 Change-Id: I10e10dcb377fcad060f259cf2f6891d25ff05455
2020-01-27dumpstate: add dumptrace for audio HAL V6.0 Mikhail Naganov
Test: dump bugreport Bug: 141989952 Change-Id: I19d8d979238dc6a643578ed9d8789ef848ac7c7a
2020-01-10Merge changes I799508fa,I4951cca2 am: e5ef1beb2b am: a46ba8ce7a Automerger Merge Worker
Change-Id: Ifb430a2e7093c3b30daee47a26b2f1c31ab4e6b4
2020-01-10Don't attempt to dump vold on user builds. Josh Gao
Bug: http://b/147446655 Test: treehugger Change-Id: I799508fa221e9a1d22c864d21b4c7c6cd941630a
2020-01-10Include extra HALs in dump state Eric Jeong
- For debugging, more HALs including vendor HALs need to be included in dumpstate. - This CL includes HALs specified at read-only property "ro.dump.hals.extra" when dumping processes. Bug: 143622274 Test: Run dumpstate and check if HALs specified at "ro.dump.hals.extra" property are included. Change-Id: I4951cca2b7d04ca8b6354fc5afe8d3e479759e84 (cherry picked from commit 9b6bcca5d487c653bc5590e3206eb599b5bd9b55)
2019-12-04Include extra HALs in dump state am: 9b6bcca5d4 Automerger Merge Worker
Change-Id: Iae5e692895710e80c88fa639a15ec9d851371fa4
2019-12-03Include extra HALs in dump state Eric Jeong
- For debugging, more HALs including vendor HALs need to be included in dumpstate. - This CL includes HALs specified at read-only property "ro.dump.hals.extra" when dumping processes. Bug: 143622274 Test: Run dumpstate and check if HALs specified at "ro.dump.hals.extra" property are included. Change-Id: I4951cca2b7d04ca8b6354fc5afe8d3e479759e84 (cherry picked from commit 91949880f02918d313ca388306aa9075c0894b7c)
2019-11-18Include automotive HALs in dumpstate Eric Jeong
am: 5331b6345a Change-Id: Icf3ee3f3eede584824eb4013e7e80d8c25810e50
2019-11-18Include automotive HALs in dumpstate Eric Jeong
- There are 3 standard HALs under automotive. - They are important components to AAE and need to be included in dumpstate for efficient debugging. - Note that there is a separate effort to allow vendors to include their HALs in dumpstate (ag/9734024). Bug: 144531298 Test: Run dumpstate and check if AudioControl, Vehicle, and Evs HALs are included. Change-Id: I556bb30a73904ab4b32683a1ceabc02f54b181bc (cherry picked from commit 4e8cb64dff3bea05a1e3c04896e55728ee44c11d)
2019-09-17Merge "dumpstate: add dumptrace for audio HIDL 5.0" into qt-qpr1-dev Carter Hsu
am: 5726d926a9 Change-Id: I63f10e36b442ed0c9ff2a69e2f19049f325a83d2
2019-09-11dumpstate: add dumptrace for audio HIDL 5.0 Carter Hsu
Test: dump bugreport Bug: 140849366 Change-Id: Ic02f4d022264c1541aa70f4c9760f0f96ba21aae Signed-off-by: Carter Hsu <carterhsu@google.com>
2019-09-09Merge "Remove libhwbinder/libhidltransport deps" am: 0b2cf30522 Steven Moreland
am: b19d15b55c Change-Id: I299ed6788163b57cfd9cdcb65e1a61842d335289
2019-09-09Remove libhwbinder/libhidltransport deps Steven Moreland
Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Change-Id: Iec1802ce9226570d3a02cc5242f7ca72e1370635
2019-07-15Merge "libdumputils: remove unused deps" am: d177c9bb20 am: 168853bb85 Steven Moreland
am: 6d76347835 Change-Id: I8111619cdd2453982acf1c6b97f8e09274f5ca6c
2019-07-15Merge "libdumputils: remove unused deps" Steven Moreland
am: d177c9bb20 Change-Id: If9859614008d57fdf092a885cef0844eee43aabc
2019-07-11libdumputils: remove unused deps Steven Moreland
Bug: 137311188 Test: library still builds Change-Id: Iab1ff46e356b4c44dbd8e3d1128bd94a5842602f
2019-06-19Add face hal to hal_interfaces_to_dump Kevin Chyn
Bug: 126802513 Test: Builds Change-Id: I44982e9b90f2e03abe9928aac171249576ef6e72