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

Issue 899573003: Add android_action_runner to the android platform. (Closed)

Created:
5 years, 10 months ago by ariblue
Modified:
5 years, 10 months ago
Reviewers:
nednguyen, nduca, sullivan
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

Add android_action_runner to the android platform. This allows us to run the 'adb shell input X' commands. See for details: https://android.googlesource.com/platform/frameworks/base/+/cd92588/cmds/input/src/com/android/commands/input/Input.java BUG= Committed: https://crrev.com/479a27623945529fa8c7dcac8a0d9c66a65c70b0 Cr-Commit-Position: refs/heads/master@{#314433}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add SmoothScrollBy #

Total comments: 6

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -0 lines) Patch
A tools/telemetry/telemetry/core/platform/android_action_runner.py View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform.py View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
ariblue
This is a quick first pass at a wrapper for the 'adb shell input X' ...
5 years, 10 months ago (2015-02-03 02:54:14 UTC) #2
nednguyen
https://codereview.chromium.org/899573003/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/899573003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode21 tools/telemetry/telemetry/core/platform/android_action_runner.py:21: self.InputSwipe(100, 800, 100, 300, 100) Why do we hard ...
5 years, 10 months ago (2015-02-03 03:05:09 UTC) #3
ariblue
https://codereview.chromium.org/899573003/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/899573003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode21 tools/telemetry/telemetry/core/platform/android_action_runner.py:21: self.InputSwipe(100, 800, 100, 300, 100) On 2015/02/03 03:05:09, nednguyen ...
5 years, 10 months ago (2015-02-03 03:09:18 UTC) #4
nednguyen
https://codereview.chromium.org/899573003/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/899573003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode21 tools/telemetry/telemetry/core/platform/android_action_runner.py:21: self.InputSwipe(100, 800, 100, 300, 100) On 2015/02/03 03:09:17, ariblue ...
5 years, 10 months ago (2015-02-03 03:14:24 UTC) #5
ariblue
On 2015/02/03 03:14:24, nednguyen wrote: > https://codereview.chromium.org/899573003/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/899573003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode21 > ...
5 years, 10 months ago (2015-02-03 03:25:14 UTC) #6
nednguyen
https://codereview.chromium.org/899573003/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/899573003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode21 tools/telemetry/telemetry/core/platform/android_action_runner.py:21: self.InputSwipe(100, 800, 100, 300, 100) On 2015/02/03 03:14:24, nednguyen ...
5 years, 10 months ago (2015-02-03 03:48:01 UTC) #7
ariblue
On 2015/02/03 03:48:01, nednguyen wrote: > https://codereview.chromium.org/899573003/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/899573003/diff/1/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode21 > ...
5 years, 10 months ago (2015-02-03 19:42:13 UTC) #9
nednguyen
LGTM +Annie, Nat: do you think this is a good way to handle a solution ...
5 years, 10 months ago (2015-02-03 19:55:08 UTC) #11
ariblue
https://codereview.chromium.org/899573003/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/899573003/diff/40001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode6 tools/telemetry/telemetry/core/platform/android_action_runner.py:6: On 2015/02/03 19:55:08, nednguyen wrote: > nits: extra blank ...
5 years, 10 months ago (2015-02-03 21:36:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899573003/60001
5 years, 10 months ago (2015-02-03 22:33:15 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 10 months ago (2015-02-03 23:29:25 UTC) #16
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/479a27623945529fa8c7dcac8a0d9c66a65c70b0 Cr-Commit-Position: refs/heads/master@{#314433}
5 years, 10 months ago (2015-02-03 23:31:11 UTC) #17
sullivan
5 years, 10 months ago (2015-02-04 04:29:34 UTC) #18
Message was sent while issue was closed.
On 2015/02/03 19:55:08, nednguyen wrote:
> LGTM
> 
> +Annie, Nat: do you think this is a good way to handle a solution that we
won't
> support in the long term?

I think this makes sense with the comments that were added in the pydoc.

Powered by Google App Engine
This is Rietveld 408576698