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

Issue 358993003: [Android] Switch to DeviceUtils versions of file functions. (Closed)

Created:
6 years, 5 months ago by jbudorick
Modified:
6 years, 5 months ago
CC:
chromium-reviews, yfriedman+watch_chromium.org, timurrrr+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, glider+watch_chromium.org, bruening+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Switch to DeviceUtils versions of file functions. This includes PushChangedFiles, FileExists, PullFile, ReadFile, and WriteFile. BUG=267773 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281147

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : address comments from frankf #

Total comments: 1

Patch Set 4 : rebase + update tests #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+696 lines, -139 lines) Patch
M build/android/gyp/create_device_library_links.py View 1 1 chunk +1 line, -1 line 0 comments Download
M build/android/gyp/push_libraries.py View 1 1 chunk +1 line, -1 line 0 comments Download
M build/android/gyp/util/build_device.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/provision_devices.py View 3 chunks +4 lines, -5 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M build/android/pylib/base/base_test_runner.py View 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 1 chunk +111 lines, -0 lines 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 3 5 chunks +489 lines, -19 lines 0 comments Download
M build/android/pylib/flag_changer.py View 2 chunks +6 lines, -14 lines 0 comments Download
M build/android/pylib/forwarder.py View 1 2 chunks +2 lines, -3 lines 0 comments Download
M build/android/pylib/gtest/test_package_apk.py View 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/pylib/gtest/test_package_exe.py View 3 chunks +3 lines, -3 lines 0 comments Download
M build/android/pylib/gtest/test_runner.py View 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/instrumentation/test_runner.py View 4 chunks +6 lines, -5 lines 0 comments Download
M build/android/pylib/perf/cache_control.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M build/android/pylib/perf/perf_control.py View 1 3 chunks +5 lines, -8 lines 0 comments Download
M build/android/pylib/perf/perf_control_unittest.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/pylib/perf/thermal_throttle.py View 1 3 chunks +3 lines, -5 lines 0 comments Download
M build/android/pylib/screenshot.py View 1 chunk +1 line, -2 lines 0 comments Download
M build/android/pylib/uiautomator/test_package.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M build/android/pylib/utils/reraiser_thread.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M build/android/pylib/valgrind_tools.py View 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/tombstones.py View 1 chunk +1 line, -2 lines 0 comments Download
M tools/android/adb_profile_chrome/chrome_controller.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/android/adb_profile_chrome/perf_controller.py View 1 1 chunk +2 lines, -4 lines 0 comments Download
M tools/memory_inspector/memory_inspector/backends/android/android_backend.py View 1 chunk +1 line, -2 lines 0 comments Download
M tools/memory_inspector/memory_inspector/backends/android/android_backend_unittest.py View 2 chunks +3 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py View 1 4 chunks +15 lines, -19 lines 0 comments Download
M tools/telemetry/telemetry/core/forwarders/android_forwarder.py View 1 3 chunks +4 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/android_ds2784_power_monitor.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor_unittest.py View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py View 1 2 chunks +3 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper_unittest.py View 1 2 chunks +2 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/java_heap_profiler.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/oomkiller_profiler.py View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
jbudorick
https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/utils/reraiser_thread.py File build/android/pylib/utils/reraiser_thread.py (left): https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/utils/reraiser_thread.py#oldcode79 build/android/pylib/utils/reraiser_thread.py:79: raise Note that this no longer will now eat ...
6 years, 5 months ago (2014-06-27 20:06:09 UTC) #1
jbudorick
On 2014/06/27 20:06:09, jbudorick wrote: > https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/utils/reraiser_thread.py > File build/android/pylib/utils/reraiser_thread.py (left): > > https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/utils/reraiser_thread.py#oldcode79 > ...
6 years, 5 months ago (2014-06-27 20:07:51 UTC) #2
cjhopman
build/android/gyp lgtm
6 years, 5 months ago (2014-06-27 20:20:49 UTC) #3
tonyg
lgtm https://codereview.chromium.org/358993003/diff/20001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py (right): https://codereview.chromium.org/358993003/diff/20001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode20 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:20: util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'android') Why is this necessary? How ...
6 years, 5 months ago (2014-06-27 22:59:28 UTC) #4
jbudorick
On 2014/06/27 22:59:28, tonyg wrote: > lgtm > > https://codereview.chromium.org/358993003/diff/20001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py > File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py > (right): ...
6 years, 5 months ago (2014-06-27 23:57:54 UTC) #5
tonyg
On 2014/06/27 23:57:54, jbudorick wrote: > On 2014/06/27 22:59:28, tonyg wrote: > > lgtm > ...
6 years, 5 months ago (2014-06-27 23:59:18 UTC) #6
frankf
https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/device/device_utils.py#newcode450 build/android/pylib/device/device_utils.py:450: host that should be minimally pushed to the device. ...
6 years, 5 months ago (2014-06-28 00:21:35 UTC) #7
jbudorick
https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/358993003/diff/20001/build/android/pylib/device/device_utils.py#newcode450 build/android/pylib/device/device_utils.py:450: host that should be minimally pushed to the device. ...
6 years, 5 months ago (2014-06-30 14:37:20 UTC) #8
frankf
lgtm https://codereview.chromium.org/358993003/diff/40001/build/android/pylib/device/device_utils_test.py File build/android/pylib/device/device_utils_test.py (right): https://codereview.chromium.org/358993003/diff/40001/build/android/pylib/device/device_utils_test.py#newcode728 build/android/pylib/device/device_utils_test.py:728: def testPushChangedFiles_noHostPath(self): In a future CL, you should ...
6 years, 5 months ago (2014-06-30 17:34:26 UTC) #9
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-02 01:23:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/358993003/60001
6 years, 5 months ago (2014-07-02 01:26:48 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 07:28:30 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 07:36:32 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/34362)
6 years, 5 months ago (2014-07-02 07:36:33 UTC) #14
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-02 16:18:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/358993003/100001
6 years, 5 months ago (2014-07-02 16:18:54 UTC) #16
jbudorick
The CQ bit was unchecked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-02 16:41:43 UTC) #17
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-02 16:57:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/358993003/120001
6 years, 5 months ago (2014-07-02 16:58:21 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 19:36:53 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 20:05:29 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/34575)
6 years, 5 months ago (2014-07-02 20:05:30 UTC) #22
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-03 00:02:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/358993003/120001
6 years, 5 months ago (2014-07-03 00:03:21 UTC) #24
commit-bot: I haz the power
6 years, 5 months ago (2014-07-03 03:11:11 UTC) #25
Message was sent while issue was closed.
Change committed as 281147

Powered by Google App Engine
This is Rietveld 408576698