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

Issue 2398683006: [telemetry] Install PushAppsToBackground apk (Closed)

Created:
4 years, 2 months ago by hjd
Modified:
4 years, 2 months ago
Reviewers:
perezju, nednguyen
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[telemetry] Install PushAppsToBackground apk Install the PushAppsToBackground.apk to Android phones and reimplement Background() to use this new apk. This works around an issue where not every Android phone has the clock app installed which is what we currently use to force our app into the background. BUG=chromium:586148 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/809b177fe47870411eaad67a30797ba7ed4ef33d

Patch Set 1 #

Total comments: 1

Patch Set 2 : add initilaise method #

Patch Set 3 : fixes #

Total comments: 1

Patch Set 4 : store binary on gs #

Total comments: 2

Patch Set 5 : move to backend #

Total comments: 2

Patch Set 6 : fix to actually install #

Patch Set 7 : add method to test fake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -14 lines) Patch
M telemetry/telemetry/core/android_platform.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M telemetry/telemetry/core/platform.py View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/backends/android_app_backend.py View 1 chunk +7 lines, -7 lines 0 comments Download
M telemetry/telemetry/internal/backends/chrome/android_browser_backend.py View 1 chunk +7 lines, -7 lines 0 comments Download
M telemetry/telemetry/internal/binary_dependencies.json View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/platform/android_platform_backend.py View 1 2 3 4 5 6 3 chunks +12 lines, -0 lines 0 comments Download
M telemetry/telemetry/page/shared_page_state.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M telemetry/telemetry/testing/fakes/__init__.py View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
hjd
ptal, thanks :)
4 years, 2 months ago (2016-10-06 15:39:01 UTC) #3
hjd
ptal, thanks :)
4 years, 2 months ago (2016-10-06 15:39:01 UTC) #4
perezju
https://codereview.chromium.org/2398683006/diff/1/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py File telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py (right): https://codereview.chromium.org/2398683006/diff/1/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py#newcode112 telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py:112: self._platform_backend.EnsureBackgroundApkInstalled() I don't think this should be done when ...
4 years, 2 months ago (2016-10-06 15:51:08 UTC) #5
nednguyen
On 2016/10/06 15:51:08, perezju wrote: > https://codereview.chromium.org/2398683006/diff/1/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py > File telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py > (right): > > https://codereview.chromium.org/2398683006/diff/1/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py#newcode112 ...
4 years, 2 months ago (2016-10-08 14:31:27 UTC) #6
nednguyen
On 2016/10/08 14:31:27, nednguyen wrote: > On 2016/10/06 15:51:08, perezju wrote: > > > https://codereview.chromium.org/2398683006/diff/1/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py ...
4 years, 2 months ago (2016-10-08 17:41:12 UTC) #7
nednguyen
On 2016/10/08 17:41:12, nednguyen wrote: > On 2016/10/08 14:31:27, nednguyen wrote: > > On 2016/10/06 ...
4 years, 2 months ago (2016-10-08 17:45:07 UTC) #8
perezju
On 2016/10/08 17:45:07, nednguyen wrote: > On 2016/10/08 17:41:12, nednguyen wrote: > > On 2016/10/08 ...
4 years, 2 months ago (2016-10-10 09:47:32 UTC) #9
hjd
On 2016/10/10 09:47:32, perezju wrote: > On 2016/10/08 17:45:07, nednguyen wrote: > > On 2016/10/08 ...
4 years, 2 months ago (2016-10-10 17:46:25 UTC) #10
nednguyen
https://codereview.chromium.org/2398683006/diff/40001/telemetry/telemetry/internal/platform/android_platform_backend.py File telemetry/telemetry/internal/platform/android_platform_backend.py (right): https://codereview.chromium.org/2398683006/diff/40001/telemetry/telemetry/internal/platform/android_platform_backend.py#newcode243 telemetry/telemetry/internal/platform/android_platform_backend.py:243: directories = util.GetBuildDirectories() Hmhh, don't rely on this method. ...
4 years, 2 months ago (2016-10-10 18:42:31 UTC) #11
hjd
On 2016/10/10 18:42:31, nednguyen wrote: > https://codereview.chromium.org/2398683006/diff/40001/telemetry/telemetry/internal/platform/android_platform_backend.py > File telemetry/telemetry/internal/platform/android_platform_backend.py (right): > > https://codereview.chromium.org/2398683006/diff/40001/telemetry/telemetry/internal/platform/android_platform_backend.py#newcode243 > ...
4 years, 2 months ago (2016-10-11 17:56:59 UTC) #12
nednguyen
lgtm https://codereview.chromium.org/2398683006/diff/60001/telemetry/telemetry/core/android_platform.py File telemetry/telemetry/core/android_platform.py (right): https://codereview.chromium.org/2398683006/diff/60001/telemetry/telemetry/core/android_platform.py#newcode18 telemetry/telemetry/core/android_platform.py:18: def Initialize(self): nits: usually the way we do ...
4 years, 2 months ago (2016-10-11 18:55:56 UTC) #13
perezju
https://codereview.chromium.org/2398683006/diff/80001/telemetry/telemetry/internal/platform/android_platform_backend.py File telemetry/telemetry/internal/platform/android_platform_backend.py (right): https://codereview.chromium.org/2398683006/diff/80001/telemetry/telemetry/internal/platform/android_platform_backend.py#newcode246 telemetry/telemetry/internal/platform/android_platform_backend.py:246: self._device, 'push_apps_to_background_apk'): This doesn't work. It "pushes" the apk ...
4 years, 2 months ago (2016-10-12 10:10:05 UTC) #14
hjd
On 2016/10/12 10:10:05, perezju wrote: > https://codereview.chromium.org/2398683006/diff/80001/telemetry/telemetry/internal/platform/android_platform_backend.py > File telemetry/telemetry/internal/platform/android_platform_backend.py (right): > > https://codereview.chromium.org/2398683006/diff/80001/telemetry/telemetry/internal/platform/android_platform_backend.py#newcode246 > ...
4 years, 2 months ago (2016-10-13 11:09:30 UTC) #15
hjd
Thanks :) https://codereview.chromium.org/2398683006/diff/60001/telemetry/telemetry/core/android_platform.py File telemetry/telemetry/core/android_platform.py (right): https://codereview.chromium.org/2398683006/diff/60001/telemetry/telemetry/core/android_platform.py#newcode18 telemetry/telemetry/core/android_platform.py:18: def Initialize(self): On 2016/10/11 18:55:56, nednguyen wrote: ...
4 years, 2 months ago (2016-10-13 11:10:07 UTC) #16
hjd
How does it look now Juan? :)
4 years, 2 months ago (2016-10-18 11:21:55 UTC) #17
perezju
On 2016/10/18 11:21:55, hjd wrote: > How does it look now Juan? :) lgtm, thanks!
4 years, 2 months ago (2016-10-18 13:03:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2398683006/100001
4 years, 2 months ago (2016-10-19 11:04:56 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/5419)
4 years, 2 months ago (2016-10-19 11:19:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2398683006/120001
4 years, 2 months ago (2016-10-19 15:26:36 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-19 15:46:03 UTC) #28
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698