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

Issue 1004833003: [Telemetry][Android] Add support for turning screen off. (Closed)

Created:
5 years, 9 months ago by rnephew (Reviews Here)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Telemetry][Android] Add support for turning screen off. For testing background usage of Chrome on android devices. BUG= Committed: https://crrev.com/4c91b7d41b40faff7d4de868d5b10c4e8ac95ad3 Cr-Commit-Position: refs/heads/master@{#322254}

Patch Set 1 #

Total comments: 7

Patch Set 2 : use waitfor() #

Total comments: 5

Patch Set 3 : #

Total comments: 18

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -0 lines) Patch
M tools/telemetry/telemetry/core/exceptions.py View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_action_runner.py View 1 2 3 2 chunks +54 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
rnephew (Wrong account)
Tested and working on K and L. No existing benchmark will use these actions, new ...
5 years, 9 months ago (2015-03-24 20:38:07 UTC) #2
nednguyen
https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode123 tools/telemetry/telemetry/core/platform/android_action_runner.py:123: else: On 2015/03/24 20:38:07, rnephew wrote: > Does telemetry ...
5 years, 9 months ago (2015-03-24 20:55:14 UTC) #3
nednguyen
https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode639 tools/telemetry/telemetry/core/platform/android_platform_backend.py:639: def IsScreenOn(self): If this only works for android L ...
5 years, 9 months ago (2015-03-24 20:56:29 UTC) #4
rnephew (Wrong account)
https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode123 tools/telemetry/telemetry/core/platform/android_action_runner.py:123: else: On 2015/03/24 20:55:14, nednguyen wrote: > On 2015/03/24 ...
5 years, 9 months ago (2015-03-24 21:01:18 UTC) #5
rnephew (Wrong account)
https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode639 tools/telemetry/telemetry/core/platform/android_platform_backend.py:639: def IsScreenOn(self): On 2015/03/24 21:01:18, rnephew wrote: > On ...
5 years, 9 months ago (2015-03-24 21:12:41 UTC) #6
rnephew (Wrong account)
https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode123 tools/telemetry/telemetry/core/platform/android_action_runner.py:123: else: On 2015/03/24 21:01:18, rnephew wrote: > On 2015/03/24 ...
5 years, 9 months ago (2015-03-24 21:40:49 UTC) #7
nednguyen
https://codereview.chromium.org/1004833003/diff/20001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/20001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode120 tools/telemetry/telemetry/core/platform/android_action_runner.py:120: """Turn screen on and unlock phone.""" A method should ...
5 years, 9 months ago (2015-03-24 22:40:30 UTC) #8
rnephew (Wrong account)
https://codereview.chromium.org/1004833003/diff/20001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/20001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode120 tools/telemetry/telemetry/core/platform/android_action_runner.py:120: """Turn screen on and unlock phone.""" On 2015/03/24 22:40:29, ...
5 years, 9 months ago (2015-03-25 15:34:54 UTC) #9
nednguyen
https://codereview.chromium.org/1004833003/diff/40001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/40001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode121 tools/telemetry/telemetry/core/platform/android_action_runner.py:121: If device fails to turn screen on, an exception ...
5 years, 9 months ago (2015-03-25 16:16:15 UTC) #10
rnephew (Wrong account)
https://codereview.chromium.org/1004833003/diff/40001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1004833003/diff/40001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode121 tools/telemetry/telemetry/core/platform/android_action_runner.py:121: If device fails to turn screen on, an exception ...
5 years, 9 months ago (2015-03-25 18:22:28 UTC) #11
nednguyen
lgtm https://codereview.chromium.org/1004833003/diff/60001/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/1004833003/diff/60001/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode664 tools/telemetry/telemetry/core/platform/android_platform_backend.py:664: raise exceptions.AndroidDeviceParsingError() Maybe exceptions.AndroidDeviceParsingError(str(input_method)) so people can look ...
5 years, 9 months ago (2015-03-25 21:05:41 UTC) #12
rnephew (Wrong account)
https://codereview.chromium.org/1004833003/diff/60001/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/1004833003/diff/60001/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode664 tools/telemetry/telemetry/core/platform/android_platform_backend.py:664: raise exceptions.AndroidDeviceParsingError() On 2015/03/25 21:05:40, nednguyen wrote: > Maybe ...
5 years, 9 months ago (2015-03-25 21:17:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1004833003/80001
5 years, 9 months ago (2015-03-25 21:19:50 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-25 22:50:38 UTC) #17
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/4c91b7d41b40faff7d4de868d5b10c4e8ac95ad3 Cr-Commit-Position: refs/heads/master@{#322254}
5 years, 9 months ago (2015-03-25 22:51:31 UTC) #18
nyquist
5 years, 9 months ago (2015-03-26 00:33:17 UTC) #19
Message was sent while issue was closed.
belated lgtm

Powered by Google App Engine
This is Rietveld 408576698