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

Commit f084b7dc authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by android-build-merger
Browse files

Merge "Dump HALs and enable persistent logs for radio bugreports" into...

Merge "Dump HALs and enable persistent logs for radio bugreports" into qt-r1-dev am: 0c5f26ba am: 6dec5f41
am: 2957a476

Change-Id: I8dc1b56fddb1a802e0a105b797e1606257de3acd
parents 49b6bd4b 2957a476
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -1546,6 +1546,8 @@ static Dumpstate::RunStatus DumpstateDefault() {
static void DumpstateRadioCommon() {
static void DumpstateRadioCommon() {
    DumpIpTablesAsRoot();
    DumpIpTablesAsRoot();


    ds.AddDir(LOGPERSIST_DATA_DIR, false);

    if (!DropRootUser()) {
    if (!DropRootUser()) {
        return;
        return;
    }
    }
@@ -1556,6 +1558,7 @@ static void DumpstateRadioCommon() {
    DoKmsg();
    DoKmsg();
    DumpIpAddrAndRules();
    DumpIpAddrAndRules();
    dump_route_tables();
    dump_route_tables();
    DumpHals();


    RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"},
    RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"},
               CommandOptions::WithTimeout(10).Build());
               CommandOptions::WithTimeout(10).Build());
@@ -1625,8 +1628,6 @@ static void DumpstateWifiOnly() {
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
               SEC_TO_MSEC(10));
               SEC_TO_MSEC(10));


    DumpHals();

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