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

Issue 338353004: [Android] Switch KillAll, StartActivity, and BroadcastIntent to DeviceUtils. (Closed)

Created:
6 years, 6 months ago by jbudorick
Modified:
6 years, 6 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, bulach+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 KillAll, StartActivity, and BroadcastIntent to DeviceUtils. BUG=267773 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279599

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : address starodub, frankf, skyostil comments #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 6

Patch Set 6 : address frankf comments #

Total comments: 2

Patch Set 7 : rebase + unit tests #

Patch Set 8 : #

Patch Set 9 : appeasing windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+575 lines, -110 lines) Patch
M build/android/provision_devices.py View 1 2 3 4 5 6 5 chunks +14 lines, -6 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -8 lines 0 comments Download
M build/android/pylib/content_settings.py View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M build/android/pylib/device/adb_wrapper.py View 1 2 3 4 5 6 chunks +7 lines, -7 lines 0 comments Download
M build/android/pylib/device/adb_wrapper_test.py View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download
M build/android/pylib/device/decorators_test.py View 1 2 3 4 5 4 chunks +4 lines, -8 lines 0 comments Download
M build/android/pylib/device/device_errors.py View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 3 4 5 6 7 8 9 chunks +97 lines, -13 lines 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 3 4 5 6 7 4 chunks +261 lines, -2 lines 0 comments Download
A build/android/pylib/device/intent.py View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
M build/android/pylib/flag_changer.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M build/android/pylib/forwarder.py View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M build/android/pylib/gtest/test_package_apk.py View 1 2 chunks +6 lines, -5 lines 0 comments Download
M build/android/pylib/gtest/test_package_exe.py View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M build/android/pylib/linker/test_case.py View 2 chunks +4 lines, -2 lines 0 comments Download
M build/android/pylib/monkey/test_runner.py View 2 chunks +5 lines, -4 lines 0 comments Download
M build/android/pylib/perf/cache_control.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/perf/perf_control.py View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/uiautomator/test_runner.py View 1 2 3 4 5 6 2 chunks +7 lines, -5 lines 0 comments Download
M build/android/tombstones.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/android/adb_profile_chrome/chrome_controller.py View 1 2 4 chunks +11 lines, -9 lines 0 comments Download
M tools/android/adb_profile_chrome/controllers_unittest.py View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M tools/android/mempressure.py View 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py View 1 2 3 4 4 chunks +11 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/oomkiller_profiler.py View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jbudorick
6 years, 6 months ago (2014-06-17 18:07:37 UTC) #1
Victor Starodub
lgtm w/couple of comments https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/device/device_utils.py#newcode348 build/android/pylib/device/device_utils.py:348: force_stop=False, timeout=None, retries=None): Why do ...
6 years, 6 months ago (2014-06-17 18:43:42 UTC) #2
frankf
https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/device/device_utils.py#newcode359 build/android/pylib/device/device_utils.py:359: The start time of the activity. can you clarify ...
6 years, 6 months ago (2014-06-17 18:45:44 UTC) #3
Sami
https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/android_commands.py#newcode781 build/android/pylib/android_commands.py:781: def KillAllBlocking(self, process, timeout_sec, signum=9, with_su=False): nit: use signal.SIGKILL ...
6 years, 6 months ago (2014-06-17 20:39:11 UTC) #4
jbudorick
https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/android_commands.py#newcode781 build/android/pylib/android_commands.py:781: def KillAllBlocking(self, process, timeout_sec, signum=9, with_su=False): On 2014/06/17 20:39:11, ...
6 years, 6 months ago (2014-06-17 21:09:27 UTC) #5
frankf
https://codereview.chromium.org/338353004/diff/60001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/60001/build/android/pylib/device/device_utils.py#newcode305 build/android/pylib/device/device_utils.py:305: """Kill all processes with the given name on the ...
6 years, 6 months ago (2014-06-19 17:54:06 UTC) #6
jbudorick
+tonyg for telemetry https://codereview.chromium.org/338353004/diff/60001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/60001/build/android/pylib/device/device_utils.py#newcode305 build/android/pylib/device/device_utils.py:305: """Kill all processes with the given ...
6 years, 6 months ago (2014-06-20 00:36:44 UTC) #7
frankf
https://codereview.chromium.org/338353004/diff/80001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/80001/build/android/pylib/device/device_utils.py#newcode309 build/android/pylib/device/device_utils.py:309: Update the docstring to include the exception https://codereview.chromium.org/338353004/diff/80001/build/android/pylib/device/device_utils.py#newcode324 build/android/pylib/device/device_utils.py:324: ...
6 years, 6 months ago (2014-06-20 00:56:56 UTC) #8
tonyg
lgtm
6 years, 6 months ago (2014-06-20 16:52:47 UTC) #9
jbudorick
https://codereview.chromium.org/338353004/diff/80001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/80001/build/android/pylib/device/device_utils.py#newcode309 build/android/pylib/device/device_utils.py:309: On 2014/06/20 00:56:56, frankf wrote: > Update the docstring ...
6 years, 6 months ago (2014-06-23 16:44:03 UTC) #10
frankf
device_utils.py lgtm https://codereview.chromium.org/338353004/diff/100001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/100001/build/android/pylib/device/device_utils.py#newcode354 build/android/pylib/device/device_utils.py:354: retries: Same as for |IsOnline|. add Raises
6 years, 6 months ago (2014-06-23 18:13:36 UTC) #11
jbudorick
https://codereview.chromium.org/338353004/diff/100001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/338353004/diff/100001/build/android/pylib/device/device_utils.py#newcode354 build/android/pylib/device/device_utils.py:354: retries: Same as for |IsOnline|. On 2014/06/23 18:13:36, frankf ...
6 years, 6 months ago (2014-06-24 19:38:26 UTC) #12
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 6 months ago (2014-06-24 22:12:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/338353004/140001
6 years, 6 months ago (2014-06-24 22:13:15 UTC) #14
jbudorick
The CQ bit was unchecked by jbudorick@chromium.org
6 years, 6 months ago (2014-06-24 23:26:43 UTC) #15
jbudorick
On 2014/06/17 21:09:27, jbudorick wrote: > https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/android_commands.py > File build/android/pylib/android_commands.py (right): > > https://codereview.chromium.org/338353004/diff/20001/build/android/pylib/android_commands.py#newcode781 > ...
6 years, 6 months ago (2014-06-24 23:36:56 UTC) #16
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 6 months ago (2014-06-24 23:37:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/338353004/160001
6 years, 6 months ago (2014-06-24 23:39:10 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-06-25 05:09:12 UTC) #19
Message was sent while issue was closed.
Change committed as 279599

Powered by Google App Engine
This is Rietveld 408576698