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

Issue 776883004: Basic android app implementation (Closed)

Created:
6 years ago by slamm
Modified:
6 years ago
CC:
chromium-reviews, telemetry+watch_chromium.org, Zhen Wang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Basic android app implementation. BUG=417542, 439346 Committed: https://crrev.com/e7e5b08f01df0781b1022976a0d3ed56cae9cfd8 Cr-Commit-Position: refs/heads/master@{#307583}

Patch Set 1 #

Patch Set 2 : Fix a couple errors #

Total comments: 32

Patch Set 3 : Address comments for modified files. #

Total comments: 3

Patch Set 4 : Rebase. #

Patch Set 5 : Review comments. #

Total comments: 11

Patch Set 6 : Avoid duplicate code. Move unittests. #

Patch Set 7 : more tests #

Total comments: 1

Patch Set 8 : Have android_device only find the device (not the platform too) #

Patch Set 9 : Update unit tests for previous change. #

Patch Set 10 : Finish review comments #

Total comments: 9

Patch Set 11 : Rebase #

Patch Set 12 : More review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -171 lines) Patch
M tools/telemetry/telemetry/core/android_app.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/android_app_backend.py View 1 2 3 4 5 6 7 8 9 1 chunk +28 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +19 lines, -81 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_finder_unittest.py View 1 2 3 4 5 6 7 8 9 2 chunks +26 lines, -81 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_device.py View 1 2 3 4 5 6 7 8 3 chunks +61 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/android_device_unittest.py View 1 2 3 4 5 6 7 8 2 chunks +73 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 5 6 7 8 9 3 chunks +29 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/user_story/android/__init__.py View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/user_story/android/shared_app_state.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (5 generated)
slamm
Fix a couple errors
6 years ago (2014-12-05 01:31:33 UTC) #1
nednguyen
You should talk to Zhen, he is working on refactoring the device, platform part also. ...
6 years ago (2014-12-05 02:24:06 UTC) #3
chrishenry
On 2014/12/05 02:24:06, nednguyen wrote: > You should talk to Zhen, he is working on ...
6 years ago (2014-12-05 06:11:57 UTC) #4
chrishenry
https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/benchmark.py#newcode189 tools/telemetry/telemetry/benchmark.py:189: # raise TypeError('"%s" is not a PageTest.' % self.test.__name__) ...
6 years ago (2014-12-05 06:21:02 UTC) #6
slamm
Address comments for modified files.
6 years ago (2014-12-05 18:12:19 UTC) #7
slamm
I am heading off to an interview in a few minutes. I did not make ...
6 years ago (2014-12-05 18:19:23 UTC) #8
chrishenry
https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/core/backends/android_app_backend.py File tools/telemetry/telemetry/core/backends/android_app_backend.py (right): https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/core/backends/android_app_backend.py#newcode32 tools/telemetry/telemetry/core/backends/android_app_backend.py:32: # the right thing to do here. On 2014/12/05 ...
6 years ago (2014-12-05 18:22:36 UTC) #9
chrishenry
https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/benchmark.py#newcode189 tools/telemetry/telemetry/benchmark.py:189: # raise TypeError('"%s" is not a PageTest.' % self.test.__name__) ...
6 years ago (2014-12-05 20:07:21 UTC) #10
nednguyen
https://codereview.chromium.org/776883004/diff/40001/tools/telemetry/telemetry/user_story/android/shared_app_state.py File tools/telemetry/telemetry/user_story/android/shared_app_state.py (right): https://codereview.chromium.org/776883004/diff/40001/tools/telemetry/telemetry/user_story/android/shared_app_state.py#newcode45 tools/telemetry/telemetry/user_story/android/shared_app_state.py:45: def _platform_backend(self): This is a hack. If there is ...
6 years ago (2014-12-05 20:15:22 UTC) #11
slamm
Rebase.
6 years ago (2014-12-05 21:20:24 UTC) #12
slamm
Review comments.
6 years ago (2014-12-06 00:25:25 UTC) #13
slamm
Review comments.
6 years ago (2014-12-06 00:26:55 UTC) #14
slamm
https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/776883004/diff/20001/tools/telemetry/telemetry/benchmark.py#newcode189 tools/telemetry/telemetry/benchmark.py:189: # raise TypeError('"%s" is not a PageTest.' % self.test.__name__) ...
6 years ago (2014-12-06 00:40:00 UTC) #16
chrishenry
Please add some unit test coverage too. https://codereview.chromium.org/776883004/diff/100001/tools/telemetry/telemetry/core/backends/android_app_backend.py File tools/telemetry/telemetry/core/backends/android_app_backend.py (right): https://codereview.chromium.org/776883004/diff/100001/tools/telemetry/telemetry/core/backends/android_app_backend.py#newcode38 tools/telemetry/telemetry/core/backends/android_app_backend.py:38: raise NotImplementedError ...
6 years ago (2014-12-06 00:52:48 UTC) #17
slamm
Avoid duplicate code. Move unittests.
6 years ago (2014-12-08 19:38:36 UTC) #18
slamm
more tests
6 years ago (2014-12-09 00:57:12 UTC) #19
nednguyen
https://codereview.chromium.org/776883004/diff/140001/tools/telemetry/telemetry/core/platform/android_device.py File tools/telemetry/telemetry/core/platform/android_device.py (right): https://codereview.chromium.org/776883004/diff/140001/tools/telemetry/telemetry/core/platform/android_device.py#newcode78 tools/telemetry/telemetry/core/platform/android_device.py:78: def GetPlatform(finder_options): This should belong to platform instead. We ...
6 years ago (2014-12-09 03:01:49 UTC) #21
chrishenry
On 2014/12/09 03:01:49, nednguyen wrote: > https://codereview.chromium.org/776883004/diff/140001/tools/telemetry/telemetry/core/platform/android_device.py > File tools/telemetry/telemetry/core/platform/android_device.py (right): > > https://codereview.chromium.org/776883004/diff/140001/tools/telemetry/telemetry/core/platform/android_device.py#newcode78 > ...
6 years ago (2014-12-09 18:24:45 UTC) #22
nednguyen
On 2014/12/09 18:24:45, chrishenry wrote: > On 2014/12/09 03:01:49, nednguyen wrote: > > > https://codereview.chromium.org/776883004/diff/140001/tools/telemetry/telemetry/core/platform/android_device.py ...
6 years ago (2014-12-09 18:33:39 UTC) #23
slamm
Have android_device only find the device (not the platform too)
6 years ago (2014-12-09 18:47:33 UTC) #24
chromium-reviews
On Tue, Dec 9, 2014 at 10:33 AM, nednguyen via telemetry < telemetry@chromium.org> wrote: > ...
6 years ago (2014-12-09 18:55:55 UTC) #25
slamm
Update unit tests for previous change.
6 years ago (2014-12-09 19:15:20 UTC) #26
slamm
Finish review comments
6 years ago (2014-12-09 19:34:39 UTC) #27
slamm
PTAL https://codereview.chromium.org/776883004/diff/100001/tools/telemetry/telemetry/core/backends/android_app_backend.py File tools/telemetry/telemetry/core/backends/android_app_backend.py (right): https://codereview.chromium.org/776883004/diff/100001/tools/telemetry/telemetry/core/backends/android_app_backend.py#newcode38 tools/telemetry/telemetry/core/backends/android_app_backend.py:38: raise NotImplementedError On 2014/12/06 00:52:48, chrishenry wrote: > ...
6 years ago (2014-12-09 19:59:31 UTC) #28
chrishenry
lgtm, but please address the following comments as well. https://codereview.chromium.org/776883004/diff/200001/tools/telemetry/telemetry/core/app.py File tools/telemetry/telemetry/core/app.py (right): https://codereview.chromium.org/776883004/diff/200001/tools/telemetry/telemetry/core/app.py#newcode22 tools/telemetry/telemetry/core/app.py:22: ...
6 years ago (2014-12-09 20:05:48 UTC) #29
nednguyen
On 2014/12/09 20:05:48, chrishenry wrote: > lgtm, but please address the following comments as well. ...
6 years ago (2014-12-09 20:17:45 UTC) #30
slamm
Rebase
6 years ago (2014-12-09 20:28:43 UTC) #31
slamm
More review comments.
6 years ago (2014-12-09 20:31:22 UTC) #32
slamm
https://codereview.chromium.org/776883004/diff/200001/tools/telemetry/telemetry/core/app.py File tools/telemetry/telemetry/core/app.py (right): https://codereview.chromium.org/776883004/diff/200001/tools/telemetry/telemetry/core/app.py#newcode22 tools/telemetry/telemetry/core/app.py:22: return self._app_backend On 2014/12/09 20:05:48, chrishenry wrote: > Actually ...
6 years ago (2014-12-09 20:31:44 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/776883004/240001
6 years ago (2014-12-09 22:09:40 UTC) #35
commit-bot: I haz the power
Committed patchset #12 (id:240001)
6 years ago (2014-12-09 23:28:19 UTC) #36
commit-bot: I haz the power
6 years ago (2014-12-09 23:30:05 UTC) #37
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/e7e5b08f01df0781b1022976a0d3ed56cae9cfd8
Cr-Commit-Position: refs/heads/master@{#307583}

Powered by Google App Engine
This is Rietveld 408576698