Snap for 8373271 from 5aa9311886 to udc-release

Change-Id: I0ccc6c552a8b2cc39606429784017a16093c9223
This commit is contained in:
Android Build Coastguard Worker 2022-03-29 03:01:22 +00:00
commit f5172ff689
4 changed files with 24 additions and 11 deletions

View file

@ -46,3 +46,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
# TODO: fix
# PRODUCT_RESTRICT_VENDOR_FILES := all
# b/189477034: Bypass build time check on uses_libs until vendor fixes all their apps
PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true

View file

@ -178,7 +178,7 @@
/dev/janeiro 0660 system system
# DSP
/dev/gxp 0660 system system
/dev/gxp 0666 system camera
# TOE
/dev/dit2 0660 radio radio

View file

@ -230,6 +230,9 @@ DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay
# This will be updated to 33 (Android T) for shipping
PRODUCT_SHIPPING_API_LEVEL := 32
# RKP VINTF
-include vendor/google_nos/host/android/hals/keymaster/aidl/strongbox/RemotelyProvisionedComponent-citadel.mk
# Enforce the Product interface
PRODUCT_PRODUCT_VNDK_VERSION := current
PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true

View file

@ -832,6 +832,8 @@ void DumpstateDevice::dumpMemorySection(int fd) {
"fi; "
"done"});
DumpFileToFd(fd, "dmabuf info", "/d/dma_buf/bufinfo");
DumpFileToFd(fd, "Page Pinner - longterm pin", "/sys/kernel/debug/page_pinner/longterm_pinner");
DumpFileToFd(fd, "Page Pinner - alloc_contig_failed", "/sys/kernel/debug/page_pinner/alloc_contig_failed");
}
static void DumpF2FS(int fd) {
@ -924,16 +926,21 @@ void DumpstateDevice::dumpAoCSection(int fd) {
DumpFileToFd(fd, "AoC hotword wake", "/sys/devices/platform/19000000.aoc/control/hotword_wakeup");
RunCommandToFd(fd, "AoC memory exception wake", {"/vendor/bin/sh", "-c", "cat /sys/devices/platform/19000000.aoc/control/memory_exception"}, CommandOptions::WithTimeout(2).Build());
RunCommandToFd(fd, "AoC memory votes", {"/vendor/bin/sh", "-c", "cat /sys/devices/platform/19000000.aoc/control/memory_votes"}, CommandOptions::WithTimeout(2).Build());
RunCommandToFd(fd, "AoC Heap Stats (A32)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (F1)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (HF0)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (HF1)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Tasks Stats (A32)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Tasks Stats (F1)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Tasks Stats (HF0)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Tasks Stats (HF1)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC MIF Stats", {"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (A32)",
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (F1)",
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (HF0)",
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC Heap Stats (HF1)",
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "AoC MIF Stats",
{"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
CommandOptions::WithTimeout(1).Build());
}
// Dump items related to sensors usf.