Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Issue 225513004: Fix power measurement with dumpsys when the format is unrecognized. (Closed)

Created:
6 years, 8 months ago by qsr
Modified:
6 years, 8 months ago
Reviewers:
tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org
Visibility:
Public.

Description

Fix power measurement with dumpsys when the format is unrecognized. dumpsys information for older release of android doesn't contain the needed information. This CL prevent the application to crash in that case. BUG=359883 TBR=tonyg@chromium.org This is a reland of https://codereview.chromium.org/225493003 with the missing data file. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261765

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1546 lines, -5 lines) Patch
M tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py View 4 chunks +10 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor_unittest.py View 1 chunk +12 lines, -0 lines 0 comments Download
A tools/telemetry/unittest_data/batterystats_v7_no_data.csv View 1 chunk +1524 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
qsr
The CQ bit was checked by qsr@chromium.org
6 years, 8 months ago (2014-04-04 10:49:06 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/225513004/1
6 years, 8 months ago (2014-04-04 10:49:09 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/225513004/1
6 years, 8 months ago (2014-04-04 15:24:13 UTC) #3
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 15:51:06 UTC) #4
Message was sent while issue was closed.
Change committed as 261765

Powered by Google App Engine
This is Rietveld 408576698