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

Issue 386053002: [Android] Switch to DeviceUtils versions of GetPid, TakeScreenshot, and GetIoStats. (Closed)

Created:
6 years, 5 months ago by jbudorick
Modified:
6 years, 5 months ago
Reviewers:
craigdh, starodub, tonyg, frankf
CC:
chromium-reviews, klundberg+watch_chromium.org, telemetry+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Switch to DeviceUtils versions of GetPid, TakeScreenshot, and GetIoStats. BUG=267773 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283731

Patch Set 1 #

Patch Set 2 : pre-review cleanup #

Total comments: 18

Patch Set 3 : address comments from frankf #

Patch Set 4 : change GetPids and fix screenshot #

Total comments: 4

Patch Set 5 : rebase + address last comment from frank #

Patch Set 6 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -173 lines) Patch
M build/android/pylib/device/device_utils.py View 1 2 3 4 27 chunks +182 lines, -57 lines 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 3 4 5 8 chunks +175 lines, -88 lines 0 comments Download
M build/android/pylib/forwarder.py View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner.py View 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/monkey/test_runner.py View 1 2 3 4 1 chunk +7 lines, -7 lines 0 comments Download
M build/android/pylib/screenshot.py View 1 2 3 4 5 5 chunks +8 lines, -7 lines 0 comments Download
M build/android/screenshot.py View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M tools/android/adb_profile_chrome/perf_controller.py View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py View 1 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
jbudorick
6 years, 5 months ago (2014-07-11 20:10:12 UTC) #1
tonyg
lgtm
6 years, 5 months ago (2014-07-11 20:16:32 UTC) #2
frankf
https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py#newcode604 build/android/pylib/device/device_utils.py:604: def GetPid(self, process_name, timeout=None, retries=None): this should be plural ...
6 years, 5 months ago (2014-07-11 20:22:53 UTC) #3
frankf
https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py#newcode607 build/android/pylib/device/device_utils.py:607: Note that the |process_name| is often the package name. ...
6 years, 5 months ago (2014-07-11 20:29:07 UTC) #4
jbudorick
https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py#newcode604 build/android/pylib/device/device_utils.py:604: def GetPid(self, process_name, timeout=None, retries=None): On 2014/07/11 20:22:53, frankf ...
6 years, 5 months ago (2014-07-14 16:15:11 UTC) #5
frankf
https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py#newcode611 build/android/pylib/device/device_utils.py:611: timeout: Same as for |IsOnline|. Yea, the spirit of ...
6 years, 5 months ago (2014-07-14 17:04:10 UTC) #6
jbudorick
https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/386053002/diff/20001/build/android/pylib/device/device_utils.py#newcode611 build/android/pylib/device/device_utils.py:611: timeout: Same as for |IsOnline|. On 2014/07/14 17:04:10, frankf ...
6 years, 5 months ago (2014-07-15 15:52:57 UTC) #7
frankf
lgtm after fix https://codereview.chromium.org/386053002/diff/60001/build/android/pylib/monkey/test_runner.py File build/android/pylib/monkey/test_runner.py (right): https://codereview.chromium.org/386053002/diff/60001/build/android/pylib/monkey/test_runner.py#newcode70 build/android/pylib/monkey/test_runner.py:70: if not before_pids or not self._package ...
6 years, 5 months ago (2014-07-15 17:27:06 UTC) #8
frankf
https://codereview.chromium.org/386053002/diff/60001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/386053002/diff/60001/build/android/pylib/device/device_utils.py#newcode108 build/android/pylib/device/device_utils.py:108: def _HasRootImpl(self): fyi, you don't have to provide docstring ...
6 years, 5 months ago (2014-07-15 17:28:44 UTC) #9
jbudorick
https://codereview.chromium.org/386053002/diff/60001/build/android/pylib/monkey/test_runner.py File build/android/pylib/monkey/test_runner.py (right): https://codereview.chromium.org/386053002/diff/60001/build/android/pylib/monkey/test_runner.py#newcode70 build/android/pylib/monkey/test_runner.py:70: if not before_pids or not self._package in before_pids: On ...
6 years, 5 months ago (2014-07-16 01:08:52 UTC) #10
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-16 01:08:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/386053002/80001
6 years, 5 months ago (2014-07-16 01:11:49 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 09:39:49 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 09:44:24 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/171273)
6 years, 5 months ago (2014-07-16 09:44:25 UTC) #15
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-16 14:25:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/386053002/100001
6 years, 5 months ago (2014-07-16 14:29:03 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 18:01:31 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 18:11:19 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/39538)
6 years, 5 months ago (2014-07-16 18:11:20 UTC) #20
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-16 18:12:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/386053002/100001
6 years, 5 months ago (2014-07-16 18:16:09 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 09:54:11 UTC) #23
Message was sent while issue was closed.
Change committed as 283731

Powered by Google App Engine
This is Rietveld 408576698