• Home
  • Raw
  • Download

Lines Matching refs:fd

76 static void dumpLogs(int fd, std::string srcDir, std::string destDir,  in dumpLogs()  argument
112 RunCommandToFd(fd, "CP DIAG LOGS", { "/vendor/bin/sh", "-c", copyCmd.c_str() }, options); in dumpLogs()
390 static void DumpTouch(int fd) { in DumpTouch() argument
397 DumpFileToFd(fd, "STM touch firmware version", cmd); in DumpTouch()
401 DumpFileToFd(fd, "STM touch status", cmd); in DumpTouch()
407 RunCommandToFd(fd, "Mutual Raw", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
413 RunCommandToFd(fd, "Mutual Strength", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
419 RunCommandToFd(fd, "Self Raw", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
423 RunCommandToFd(fd, "Mutual Raw Data", in DumpTouch()
427 RunCommandToFd(fd, "Mutual Baseline Data", in DumpTouch()
431 RunCommandToFd(fd, "Mutual Strength Data", in DumpTouch()
435 RunCommandToFd(fd, "Self Raw Data", in DumpTouch()
439 RunCommandToFd(fd, "Self Baseline Data", in DumpTouch()
443 RunCommandToFd(fd, "Self Strength Data", in DumpTouch()
447 RunCommandToFd(fd, "Mutual Compensation", in DumpTouch()
451 RunCommandToFd(fd, "Self Compensation", in DumpTouch()
455 RunCommandToFd(fd, "Golden MS Raw", in DumpTouch()
459 RunCommandToFd(fd, "Packaging Plant - HW reset", in DumpTouch()
462 RunCommandToFd(fd, "Packaging Plant - Hibernate Memory", in DumpTouch()
465 RunCommandToFd(fd, "Packaging Plant - Read 16 bytes from Address 0x00043FD8", in DumpTouch()
477 RunCommandToFd(fd, "ITO Raw", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
481 static void DumpDisplay(int fd) { in DumpDisplay() argument
482 DumpFileToFd(fd, "PANEL VENDOR NAME", "/sys/class/panel_info/panel0/panel_vendor_name"); in DumpDisplay()
483 DumpFileToFd(fd, "PANEL SN", "/sys/class/panel_info/panel0/serial_number"); in DumpDisplay()
484 DumpFileToFd(fd, "PANEL EXTRA INFO", "/sys/class/panel_info/panel0/panel_extinfo"); in DumpDisplay()
487 static void DumpSensorLog(int fd) { in DumpSensorLog() argument
492 DumpFileToFd(fd, "sensor log", logPath); in DumpSensorLog()
495 DumpFileToFd(fd, "sensor lastlog", lastlogPath); in DumpSensorLog()
499 static void DumpF2FS(int fd) { in DumpF2FS() argument
500 DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status"); in DumpF2FS()
501 RunCommandToFd(fd, "F2FS - fragmentation", {"/vendor/bin/sh", "-c", in DumpF2FS()
505 …RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsc… in DumpF2FS()
506 …RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boo… in DumpF2FS()
509 static void DumpUFS(int fd) { in DumpUFS() argument
510 DumpFileToFd(fd, "UFS model", "/sys/block/sda/device/model"); in DumpUFS()
511 DumpFileToFd(fd, "UFS rev", "/sys/block/sda/device/rev"); in DumpUFS()
512 DumpFileToFd(fd, "UFS size", "/sys/block/sda/size"); in DumpUFS()
516 … DumpFileToFd(fd, "UFS Slow IO Read", "/sys/devices/platform/soc/" + bootdev + "/slowio_read_cnt"); in DumpUFS()
517 …DumpFileToFd(fd, "UFS Slow IO Write", "/sys/devices/platform/soc/" + bootdev + "/slowio_write_cnt"… in DumpUFS()
518 …DumpFileToFd(fd, "UFS Slow IO Unmap", "/sys/devices/platform/soc/" + bootdev + "/slowio_unmap_cnt"… in DumpUFS()
519 … DumpFileToFd(fd, "UFS Slow IO Sync", "/sys/devices/platform/soc/" + bootdev + "/slowio_sync_cnt"); in DumpUFS()
521 RunCommandToFd(fd, "UFS io_stats", {"/vendor/bin/sh", "-c", in DumpUFS()
535 RunCommandToFd(fd, "UFS req_stats", {"/vendor/bin/sh", "-c", in DumpUFS()
553 RunCommandToFd(fd, "UFS health", {"/vendor/bin/sh", "-c", ufs_health.c_str()}); in DumpUFS()
581 int fd = handle->data[0]; in dumpstateBoard_1_1() local
582 if (fd < 0) { in dumpstateBoard_1_1()
603 …RunCommandToFd(fd, "Notify modem", {"/vendor/bin/modem_svc", "-s"}, CommandOptions::WithTimeout(1)… in dumpstateBoard_1_1()
618 RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"}); in dumpstateBoard_1_1()
619 DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number"); in dumpstateBoard_1_1()
620 DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present"); in dumpstateBoard_1_1()
621 DumpFileToFd(fd, "CPU online", "/sys/devices/system/cpu/online"); in dumpstateBoard_1_1()
622 DumpFileToFd(fd, "Bootloader Log", "/proc/bldrlog"); in dumpstateBoard_1_1()
623 DumpTouch(fd); in dumpstateBoard_1_1()
624 DumpDisplay(fd); in dumpstateBoard_1_1()
626 DumpF2FS(fd); in dumpstateBoard_1_1()
627 DumpUFS(fd); in dumpstateBoard_1_1()
629 DumpSensorLog(fd); in dumpstateBoard_1_1()
631 DumpFileToFd(fd, "INTERRUPTS", "/proc/interrupts"); in dumpstateBoard_1_1()
632 DumpFileToFd(fd, "Sleep Stats", "/sys/power/system_sleep/stats"); in dumpstateBoard_1_1()
633 DumpFileToFd(fd, "Power Management Stats", "/sys/power/rpmh_stats/master_stats"); in dumpstateBoard_1_1()
634 DumpFileToFd(fd, "WLAN Power Stats", "/sys/kernel/wlan/power_stats"); in dumpstateBoard_1_1()
635 DumpFileToFd(fd, "LL-Stats", "/d/wlan0/ll_stats"); in dumpstateBoard_1_1()
636 DumpFileToFd(fd, "WLAN Connect Info", "/d/wlan0/connect_info"); in dumpstateBoard_1_1()
637 DumpFileToFd(fd, "WLAN Offload Info", "/d/wlan0/offload_info"); in dumpstateBoard_1_1()
638 DumpFileToFd(fd, "WLAN Roaming Stats", "/d/wlan0/roam_stats"); in dumpstateBoard_1_1()
639 DumpFileToFd(fd, "ICNSS Stats", "/d/icnss/stats"); in dumpstateBoard_1_1()
640 DumpFileToFd(fd, "SMD Log", "/d/ipc_logging/smd/log"); in dumpstateBoard_1_1()
641 …RunCommandToFd(fd, "ION HEAPS", {"/vendor/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in … in dumpstateBoard_1_1()
642 DumpFileToFd(fd, "dmabuf info", "/d/dma_buf/bufinfo"); in dumpstateBoard_1_1()
643 DumpFileToFd(fd, "dmabuf process info", "/d/dma_buf/dmaprocs"); in dumpstateBoard_1_1()
644 …RunCommandToFd(fd, "Temperatures", {"/vendor/bin/sh", "-c", "for f in /sys/class/thermal/thermal* … in dumpstateBoard_1_1()
645 …RunCommandToFd(fd, "Cooling Device Current State", {"/vendor/bin/sh", "-c", "for f in /sys/class/t… in dumpstateBoard_1_1()
646 …RunCommandToFd(fd, "Cooling Device Time in State", {"/vendor/bin/sh", "-c", "for f in /sys/class/t… in dumpstateBoard_1_1()
647 …RunCommandToFd(fd, "Cooling Device Trans Table", {"/vendor/bin/sh", "-c", "for f in /sys/class/the… in dumpstateBoard_1_1()
649 fd, "LMH info", in dumpstateBoard_1_1()
654 fd, "CPU MAX FREQ info", in dumpstateBoard_1_1()
658 …RunCommandToFd(fd, "CPU time-in-state", {"/vendor/bin/sh", "-c", "for cpu in /sys/devices/system/c… in dumpstateBoard_1_1()
659 …RunCommandToFd(fd, "CPU cpuidle", {"/vendor/bin/sh", "-c", "for cpu in /sys/devices/system/cpu/cpu… in dumpstateBoard_1_1()
660 …RunCommandToFd(fd, "Airbrush debug info", {"/vendor/bin/sh", "-c", "for f in `ls /sys/devices/plat… in dumpstateBoard_1_1()
661 DumpFileToFd(fd, "TCPM logs", "/d/usb/tcpm-usbpd0"); in dumpstateBoard_1_1()
662 DumpFileToFd(fd, "PD Engine", "/dev/logbuffer_usbpd"); in dumpstateBoard_1_1()
663 DumpFileToFd(fd, "PPS", "/dev/logbuffer_pps"); in dumpstateBoard_1_1()
664 DumpFileToFd(fd, "BMS", "/dev/logbuffer_ssoc"); in dumpstateBoard_1_1()
665 DumpFileToFd(fd, "smblib", "/dev/logbuffer_smblib"); in dumpstateBoard_1_1()
666 DumpFileToFd(fd, "TTF", "/dev/logbuffer_ttf"); in dumpstateBoard_1_1()
667 DumpFileToFd(fd, "TTF details", "/sys/class/power_supply/battery/ttf_details"); in dumpstateBoard_1_1()
668 DumpFileToFd(fd, "TTF stats", "/sys/class/power_supply/battery/ttf_stats"); in dumpstateBoard_1_1()
669 DumpFileToFd(fd, "ipc-local-ports", "/d/msm_ipc_router/dump_local_ports"); in dumpstateBoard_1_1()
670 …RunCommandToFd(fd, "TRICKLE-DEFEND Config", {"/vendor/bin/sh", "-c", " cd /sys/devices/platform/so… in dumpstateBoard_1_1()
671 …RunCommandToFd(fd, "DWELL-DEFEND Config", {"/vendor/bin/sh", "-c", " cd /sys/devices/platform/soc/… in dumpstateBoard_1_1()
672 …RunCommandToFd(fd, "TEMP-DEFEND Config", {"/vendor/bin/sh", "-c", " cd /sys/devices/platform/soc/s… in dumpstateBoard_1_1()
673 …RunCommandToFd(fd, "USB Device Descriptors", {"/vendor/bin/sh", "-c", "cd /sys/bus/usb/devices/1-1… in dumpstateBoard_1_1()
674 …RunCommandToFd(fd, "Power supply properties", {"/vendor/bin/sh", "-c", "for f in `ls /sys/class/po… in dumpstateBoard_1_1()
675 …RunCommandToFd(fd, "PMIC Votables", {"/vendor/bin/sh", "-c", "cat /sys/kernel/debug/pmic-votable/*… in dumpstateBoard_1_1()
678 …RunCommandToFd(fd, "Google Charger", {"/vendor/bin/sh", "-c", "cd /d/google_charger/; for f in `ls… in dumpstateBoard_1_1()
679 …RunCommandToFd(fd, "Google Battery", {"/vendor/bin/sh", "-c", "cd /d/google_battery/; for f in `ls… in dumpstateBoard_1_1()
682 …RunCommandToFd(fd, "eSIM Status", {"/vendor/bin/sh", "-c", "od -t x1 /sys/firmware/devicetree/base… in dumpstateBoard_1_1()
683 DumpFileToFd(fd, "Modem Stat", "/data/vendor/modem_stat/debug.txt"); in dumpstateBoard_1_1()
684 DumpFileToFd(fd, "Pixel trace", "/d/tracing/instances/pixel-trace/trace"); in dumpstateBoard_1_1()
688 …RunCommandToFd(fd, "QSEE logs", {"/vendor/bin/sh", "-c", "/vendor/bin/timeout 3 cat /d/tzdbg/qsee_… in dumpstateBoard_1_1()
691 RunCommandToFd(fd, "Citadel VERSION", {"/vendor/bin/hw/citadel_updater", "-lv"}); in dumpstateBoard_1_1()
692 RunCommandToFd(fd, "Citadel STATS", {"/vendor/bin/hw/citadel_updater", "--stats"}); in dumpstateBoard_1_1()
693 RunCommandToFd(fd, "Citadel BOARDID", {"/vendor/bin/hw/citadel_updater", "--board_id"}); in dumpstateBoard_1_1()
696 DumpFileToFd(fd, "WLAN DP Trace", "/d/wlan/dpt_stats/dump_set_dpt_logs"); in dumpstateBoard_1_1()
699 DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); in dumpstateBoard_1_1()
702 …RunCommandToFd(fd, "Camera Profiler Logs", {"/vendor/bin/sh", "-c", "for f in /data/vendor/camera/… in dumpstateBoard_1_1()
705 DumpFileToFd(fd, "Fastrpc dma buffer", "/sys/kernel/fastrpc/total_dma_kb"); in dumpstateBoard_1_1()