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

Issue 2995713002: Add GetSharedPrefs to Android platform (Closed)

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

Description

Add GetSharedPrefs to Android platform Adds a GetSharedPrefs method to AndroidPlatform and AndroidPlatformBackend. All this does is return a SharedPrefs instance for the backend's DeviceUtils member so that test code can change app settings withing needing to expose the DeviceUtils itself. This is a prerequisite CL for submitting https://chromium-review.googlesource.com/608984 BUG=chromium:726906 Review-Url: https://codereview.chromium.org/2995713002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/af523a1723e562e65becbc4fd7281445af79eb75

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add docstrings #

Total comments: 1

Patch Set 3 : Address nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M telemetry/telemetry/core/android_platform.py View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/platform/android_platform_backend.py View 1 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
bsheedy
PTAL
3 years, 4 months ago (2017-08-10 00:22:26 UTC) #4
nednguyen
https://codereview.chromium.org/2995713002/diff/1/telemetry/telemetry/core/android_platform.py File telemetry/telemetry/core/android_platform.py (right): https://codereview.chromium.org/2995713002/diff/1/telemetry/telemetry/core/android_platform.py#newcode33 telemetry/telemetry/core/android_platform.py:33: def GetSharedPrefs(self, package, filename): Can you document this methods ...
3 years, 4 months ago (2017-08-10 00:28:54 UTC) #5
bsheedy
https://codereview.chromium.org/2995713002/diff/1/telemetry/telemetry/core/android_platform.py File telemetry/telemetry/core/android_platform.py (right): https://codereview.chromium.org/2995713002/diff/1/telemetry/telemetry/core/android_platform.py#newcode33 telemetry/telemetry/core/android_platform.py:33: def GetSharedPrefs(self, package, filename): On 2017/08/10 00:28:54, nednguyen wrote: ...
3 years, 4 months ago (2017-08-10 00:45:51 UTC) #7
nednguyen
lgtm https://codereview.chromium.org/2995713002/diff/20001/telemetry/telemetry/core/android_platform.py File telemetry/telemetry/core/android_platform.py (right): https://codereview.chromium.org/2995713002/diff/20001/telemetry/telemetry/core/android_platform.py#newcode47 telemetry/telemetry/core/android_platform.py:47: on whatever device the platform backend has a ...
3 years, 4 months ago (2017-08-10 00:49:34 UTC) #8
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/2995713002/40001
3 years, 4 months ago (2017-08-10 00:51:54 UTC) #11
commit-bot: I haz the power
3 years, 4 months ago (2017-08-10 01:18:50 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698