Loading cmds/incidentd/src/Reporter.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -179,8 +179,8 @@ Reporter::runReport() // Execute - go get the data and write it into the file descriptors. err = (*section)->Execute(&batch); if (err != NO_ERROR) { ALOGW("Incident section %s (%d) failed. Stopping report.", (*section)->name.string(), id); ALOGW("Incident section %s (%d) failed: %s. Stopping report.", (*section)->name.string(), id, strerror(-err)); goto DONE; } Loading core/proto/android/os/incident.proto +7 −1 Original line number Diff line number Diff line Loading @@ -82,11 +82,17 @@ message IncidentProto { (section).type = SECTION_DUMPSYS, (section).args = "notification --proto" ]; android.service.battery.BatteryServiceDumpProto battery = 3006 [ (section).type = SECTION_DUMPSYS, (section).args = "battery --proto" ]; android.service.diskstats.DiskStatsServiceDumpProto diskstats = 3007; android.service.diskstats.DiskStatsServiceDumpProto diskstats = 3007 [ (section).type = SECTION_DUMPSYS, (section).args = "diskstats --proto" ]; android.service.pm.PackageServiceDumpProto package = 3008; android.service.power.PowerServiceDumpProto power = 3009; android.service.print.PrintServiceDumpProto print = 3010; Loading Loading
cmds/incidentd/src/Reporter.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -179,8 +179,8 @@ Reporter::runReport() // Execute - go get the data and write it into the file descriptors. err = (*section)->Execute(&batch); if (err != NO_ERROR) { ALOGW("Incident section %s (%d) failed. Stopping report.", (*section)->name.string(), id); ALOGW("Incident section %s (%d) failed: %s. Stopping report.", (*section)->name.string(), id, strerror(-err)); goto DONE; } Loading
core/proto/android/os/incident.proto +7 −1 Original line number Diff line number Diff line Loading @@ -82,11 +82,17 @@ message IncidentProto { (section).type = SECTION_DUMPSYS, (section).args = "notification --proto" ]; android.service.battery.BatteryServiceDumpProto battery = 3006 [ (section).type = SECTION_DUMPSYS, (section).args = "battery --proto" ]; android.service.diskstats.DiskStatsServiceDumpProto diskstats = 3007; android.service.diskstats.DiskStatsServiceDumpProto diskstats = 3007 [ (section).type = SECTION_DUMPSYS, (section).args = "diskstats --proto" ]; android.service.pm.PackageServiceDumpProto package = 3008; android.service.power.PowerServiceDumpProto power = 3009; android.service.print.PrintServiceDumpProto print = 3010; Loading