Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9182b15 authored by Roger Wang's avatar Roger Wang Committed by android-build-merger
Browse files

Merge "dumpstate: add HAL log for wifi-specific bug report" am: 6a525c47 am: 999a4ba5

am: 6a6fb17a

Change-Id: I9757f9f0c17e57adef82e01048894f2a3fd51fe1
parents 20a72ed5 6a6fb17a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1572,6 +1572,15 @@ static void DumpstateWifiOnly() {
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
               SEC_TO_MSEC(10));

    if (ds.IsZipping()) {
        RunCommand("HARDWARE HALS", {"lshal", "-lVSietrpc", "--types=b,c,l,z"},
                   CommandOptions::WithTimeout(2).AsRootIfAvailable().Build());
        DumpHals();
    } else {
        RunCommand("HARDWARE HALS", {"lshal", "-lVSietrpc", "--types=b,c,l,z", "--debug"},
                   CommandOptions::WithTimeout(10).AsRootIfAvailable().Build());
    }

    printf("========================================================\n");
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("========================================================\n");